Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: ShadowWolf_IH on March 19, 2013, 05:14:42 pm
-
I've been fighting with this for a week.
ok my heirarchy is set as follows:
detail0
>>fix (surrounds the submodel "pilot")
>>glass
>>pilot
with the glass offset, fix looks fine.....
(http://casofwar.hard-light.net/images/help.png)
but with the glass in place....fix is gone. help. Oh yeah,, it looks fine in pcs2.
(http://casofwar.hard-light.net/images/helpme.png)
-
What about ingame ? I am not exactly sure what you see in FRED is what you get ingame.
-
A random guess from an uninformed n∅∅b:
The problem is that "pilot" is rendering and "fix" is not, when both are occluded by the glass? I'd try moving "fix" below "glass", so your hierarchy is:
detail0
>> glass
>> fix
>> pilot
My reasoning is that the one submodel that renders correctly comes after "glass" in the hierarchy. I remember FS has some odd issues with transparent stuff and this may be one of them.
[edit] I'm pretty sure the ingame render code is at least very similar (if not identical) to the FRED render code, but I'd check just in case.
-
no change in game. Still looks like crap.
however......I saw this after the post:
A random guess from an uninformed n∅∅b:
The problem is that "pilot" is rendering and "fix" is not, when both are occluded by the glass? I'd try moving "fix" below "glass", so your hierarchy is:
detail0
>> glass
>> fix
>> pilot
My reasoning is that the one submodel that renders correctly comes after "glass" in the hierarchy. I remember FS has some odd issues with transparent stuff and this may be one of them.
[edit] I'm pretty sure the ingame render code is at least very similar (if not identical) to the FRED render code, but I'd check just in case.
the only way I could do it was to make fix a submodel of pilot.
detail0
>>glass
>>pilot
>>>>fix
works fine in fred now. Game as well. Good call and thanx for the help.
-
You know.. if you'd been keeping up with me over IRC, you would have never had this issue! A -trans texture is made exactly for this case.
-
point taken. but i did ask in irc a few days ago. you just weren't there at the time.
-
Oh... I know what the Problem is.
You name the Cockpitglas in Blender Hirachi Cockpit-Glas what you see stand in Herachie after Glas and what you don´t see stand in Herachie before Glas.
Set the Name of Cockpitglas in Hirachie Cockpit-Aglas so they stand at First in Herachie and you will see perfectly your Cockpit.
I have the same Problem :) and so was my Solution.
All what you will see must stand after the Transparent Geometry in Blender Hirachie
-
Errr...what.
Glass-trans, problem solved.
-
Oh... I know what the Problem is.
You name the Cockpitglas in Blender Hirachi Cockpit-Glas what you see stand in Herachie after Glas and what you don´t see stand in Herachie before Glas.
Set the Name of Cockpitglas in Hirachie Cockpit-Aglas so they stand at First in Herachie and you will see perfectly your Cockpit.
I have the same Problem :) and so was my Solution.
All what you will see must stand after the Transparent Geometry in Blender Hirachie
That's the old and faaaar too complicated way of doing things. The engine has been tweaked in recent versions (I think going back to 3.6.14) so that submodels with textures that have a name ending in -trans are automatically shuffled around in the render queue so that transparency works correctly.
-
Ah okay. Never a day goes by without one learns new things