tonaz

TrueGlass on the (old FSX) default CRJ700

Recommended Posts

Hello!

As promised here it is a video in which i show the TrueGlass implementation on the (old) CRJ700 aircraft.

Thanks Collin @turbofandude and  @gamesyns Joshua for the free SDK.

I got some questions and suggestions in the video. I hope you like my work.

1080p 30fps on YouTube 

 

Edited by tonaz
  • Like 1

Share this post


Link to post
Share on other sites

Thanks!!! What about my questions, about the mask and about the possibility to choose more than a Rain Atlas texture for nighttime?

Thanks a lot for your support

Share this post


Link to post
Share on other sites
Posted (edited)

Hi Collin, 

i mean that it could be very useful if you can choose what RainAtlas.png to use for each surface.
For example in the xml conifg file something like this:

<Surface Name="TG_0" ... 
	<Precipitation Raintexture="RainAtlas_DAY.png" ...
...
<Surface Name="TG_1" ... 
	<Precipitation Raintexture="RainAtlas_NIGHT.png" ...
...

So one can choose which custom set of RainAtlas png to use. This is because if in the MDL for the 3d plane containing the RTT you choose DestAlpha-SrcAlpha blending, the resulting effect is much more better. But: if you don't specifiy also a Nightmap texture the rain is too darkin night time, completely invisible, while if you specify the Nightmap texture the rain is there but it is too much bright at night. So if i can choose a different png, with more transparent drops, that would be perfectly rendered in night time as well.

In the MDL for the 3d plane containing the trueglass i would have:

Diffuse texture: $TRUEGLASS_DAY
Nightmap texture: $TRUEGLASS_NIGHT

those two will blend from day to night, night to day.

In the panel.cfg i would have:

[VcockpitXX]
...
texture=$TRUEGLASS_DAY
texture00=TG_0, 0,0,2048,2048

[VcockpitXX]
...
texture=$TRUEGLASS_NIGHT
texture00=TG_1, 0,0,2048,2048

...where in TG_0 it uses a normal rainatlas png, and in TG_1 it uses a dimmed more transparent rainatlas png.

I hope i was clear, it is not easy to explain :D

Edited by tonaz

Share this post


Link to post
Share on other sites
Posted (edited)

Thanks Colin.

This is what i mean bytheway, in night time it is so bright. (attachment)
I tried to make a copy of the DLL and have two DLL's one for day and one for night, but naturally, as expected, both DLL look in the same "Trueglass" textures folder.
Brandon, do you have any tips for me?

Untitled-1.jpg

Edited by tonaz

Share this post


Link to post
Share on other sites
Posted (edited)

I've found a workaround, which actually i don't think is a workaround, but a brilliant solution:

I added another set of 3D mesh for windshields.
Then i coded a visibility condition, one for night time, one for day time.
Then i applied day condition to the 3D mesh with normal transparency.
And the night condition to the other mesh with 0.2 transparency.

They both use the same TrueGlass dll with the only one RainAtlas.png, but on different meshes with different transparency, that shows up only in specific time of day.

Works. YAY! \m/

Edited by tonaz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now