wlbragg wrote in Fri Oct 09, 2015 7:26 pm:Most if not all the objects in the shuttle_o2.blend are mapped to 2 materials (or at least there are two materials in the material list for the one object). Any idea why that is, is it actually using both those materials?
Also regarding the png texture file spstob_1.png, it appears to be aliased as spstob_1.png.001 and that can be used as the material and loaded as the png file to use for uv-unwrap. But the original material and uv-unwrap file of spstob_1.png will not work, they are black. Any idea what is going on here?
I would guess the 2 material are 1 for Atlantis and 1 for Discovery, the textures look exactly the same except for the names but I noticed some parts in one model use both texture png files. We should convert it to use only the one and apply the other like a paint kit. As for the alias, in blender its just a name, if there are both spstob_1.png and spstob_1.png.001 names you could probably name them Atlantis or Discovery (depending on the shuttle). That's just my guess, I haven't looked at all the .ac files yet. I don't think it will have any ill effect in FlightGear.
It would make sense to fix this because both textures will be loaded into memory.
I also noticed on the two main landing gear doors that some very thin and long faces have flipped normals, In edit mode just select all faces and "Recalculate Normals" in the tools menu. If you manually add faces, select vertices in a counter clockwise order and it should make the normals point towards you. Counter clockwise will point away. If you write python scripts for blender its good to know.
@Richard
Thanks for the link to the exporter. I will grab Blender 2.71 and stick with it for the work on the shuttle. (I recently reinstalled my system and just grabbed the newest blender).
The connection is a lot simpler than it appears, except the rotations which need the rotation centre coordinates to be located first.
I've been interested in making a video on how to do this in like 15 seconds for each switch but if you've seen my previous videos the audio sucks, I need a higher quality mic or it just sounds like giberish. Screenshots just don't capture everything.