Dragonfly
Random nobody
Level: 5
   
Posts: 1/3
EXP: 340 For next: 189
Since: 07-26-10
Since last post: 11.8 years Last activity: 11.8 years
|
|
Okay, I had a browse around and didn't notice anything of a sort that would help me here.
I'll explain my problem and if anyone could link me over to a resource for help or post here with help, I'd be very appreciative.
_________________________________________
So, I have previous history with Level editing in various applications, and am experienced enough in Google SketchUp to be able to construct detailed and fully playable levels. I can also export fine as .OBJ from SketchUp.
My problems are:
- Adding either Custom or Mario textures to Google SketchUp [I'm currently limited to Google SketchUp ones only.]
- Importing these textures to Mario with the OBJ importer.
- When importing the OBJ it flips the level horizontally. Note where the stairs are in SketchUp then in the game itself.
Here's what I have:
Design of level in SketchUp:-
Importing with OBJ Importer:-
And finally, the end result:-
If you can help me sort things out I'd be very appreciative.
~ Dragonfly |
Dragonfly
Random nobody
Level: 5
   
Posts: 2/3
EXP: 340 For next: 189
Since: 07-26-10
Since last post: 11.8 years Last activity: 11.8 years
|
|
Thanks for the reply. I will take a proper look when I have a decent amount of time available - I have mapped some more to the level, if anyone wants a SketchUp Screenshot then feel free to ask.  |
Dragonfly
Random nobody
Level: 5
   
Posts: 3/3
EXP: 340 For next: 189
Since: 07-26-10
Since last post: 11.8 years Last activity: 11.8 years
|
|
Just to say:
1. Thanks so much for this tool, Messiaen, I'm really enjoying using it.
2. I fixed my issue mentioned in a previous thread about texture exporting. So I thought I'd explain here what was going on in case anyone else suffers the same issue.
Basically, when using OBJ Exporter in SketchUp, the .mtl file it created was slightly incorrect. The .mtl said:
#Materials exported from Google Sketchup
newmtl _Texture0207_RGB_Texture0207_RGB_png
Ka 0.000000 0.000000 0.000000
Kd 1.0000 1.0000 1.0000
Tr 1.0
Ks 0.000000 0.000000 0.000000
Ns 3.2000
map_Kd Texture0207_RGB.png
Now, the texture I used was actually a bitmap(.bmp) - this meant the mtl was referencing a piece of data that isn't there.
All I had to do was open up the mtl in notepad [or any plain text editor if you don't use notepad.] and edit the last line of each 'chunk' to refer to the correct texture.
map_Kd Texture0207_RGB.bmp
Thanks again for trying to help Messiaen, it's a shame someone felt the need to lock my thread so I couldn't just say thanks there.
[EDIT]
Forgot to add:
Do not edit the top line of the chunk, as that's the texture's name. If you change that then the .obj wont have any correspondence to the mtl. |