Precipitation bug in HEAD
by Andy Smith · in Torque Game Engine · 11/17/2004 (12:23 pm) · 7 replies
I just pulled the latest head and run the demo mod but the rain just shows up as square blocks (i.e. not textured).
Anyone else notice this? Is it just me? Can you help?
Regards,
Andy
Anyone else notice this? Is it just me? Can you help?
Regards,
Andy
About the author
#2
It's using the old datablock.
Open the environment.cs file from the "Demo" folder.
Copy the datablock PrecipitationData(HeavyRain) section to your environment.cs replacing the existing one. You'll notice that it's smaller in size.
Then copy the rain.png and watersplash.png to your environment folder and you should have nice looking rain like the demo.
Nick
11/18/2004 (1:54 am)
I don't think it has anything to do with the video card.It's using the old datablock.
Open the environment.cs file from the "Demo" folder.
Copy the datablock PrecipitationData(HeavyRain) section to your environment.cs replacing the existing one. You'll notice that it's smaller in size.
Then copy the rain.png and watersplash.png to your environment folder and you should have nice looking rain like the demo.
Nick
#4
Andy
11/18/2004 (2:06 am)
When I download the demo (compiled) from the site it works fine, when I pull the HEAD from CVS it is not working, seems pretty strange to me.Andy
#5
Also, have you opened the rain.png and inspected that it has drops cause I once had a white box instead?
Nick
11/18/2004 (2:13 am)
Does the rain datablock in your environment.cs look like this?datablock PrecipitationData(HeavyRain)
{
soundProfile = "HeavyRainSound";
dropTexture = "~/data/environment/rain";
splashTexture = "~/data/environment/water_splash";
dropSize = 0.75;
splashSize = 0.2;
useTrueBillboards = false;
splashMS = 250;
};Also, have you opened the rain.png and inspected that it has drops cause I once had a white box instead?
Nick
#6
11/18/2004 (3:26 am)
Does your console.log say anything about a missing texture?
#7
Thanks for your time guys,
Andy
11/18/2004 (4:11 am)
Just grabed the HEAD again and all is working :) Typical.Thanks for your time guys,
Andy
Torque Owner Josh Williams
Default Studio Name