Levels with rain
Moderators: TresCom Support Team, TresCom Board Managers, TresCom Developers
-
- -=TresCom Website Manager=-
- Posts: 1431
- Joined: Sun Dec 01, 2002 6:14 am
- Location: California, USA
- Contact:
Levels with rain
someone definately needs to create a level with rain in it (since I heard from someone it was possible, but i could be wrong). i am not "skilled" enough to create something like that for the game, but maybe someone else is. i would like to see it.
-
- Pteranodon
- Posts: 867
- Joined: Sun Nov 10, 2002 10:46 pm
- Location: Finding a way into the TCOps Forum...
- Contact:
I think I've heard that an animation could be placed richt in front of Anne's face, although the rain wouldn't have depth. It seems possible to me to extend the animation in far in front of Anne to give an added depth.
This is truly one of the most disappointing moments in gaming history. Gamers are being reduced to digging through the game's installed files to discover what was supposed to happen in the game they just bought.
good idea
I was thinking untill now who to do it, and I think it isn't so mush dificult.
like rembel sad, make an animation front our Anne, and create a sound like rain, after is only create a variable for exemple $rain and atribute for the flat some higthligth points.
I think like this we can put Anne seeing rain.
LOL
like rembel sad, make an animation front our Anne, and create a sound like rain, after is only create a variable for exemple $rain and atribute for the flat some higthligth points.
I think like this we can put Anne seeing rain.
LOL
-
- -=TresCom Website Manager=-
- Posts: 1431
- Joined: Sun Dec 01, 2002 6:14 am
- Location: California, USA
- Contact:
Yeah, it was just a silly idea of mine to clue a simple rain animation in front of her body. It doesn´t work! What happens when Anne looks up or down? The rain changing quicly it´s direction isn´t very realistic. It´s going to look as bad as special effects in those old 50´s B-class horrorfilms...
-Tomi
-Tomi
tomi
It is possible, is only put the rain up of her head, the sky may be change for black, so when she looks for anywere she see rain some realoistic.
Do not think like me?
Do not think like me?
-
- -=TresCom Developer=-
- Posts: 1845
- Joined: Mon Jul 22, 2002 12:35 pm
- Location: Holland, Europe
Moving a rain object with her doesn't always work, walk into a building and it still folows you.
I did a test, and I figured out a way:
http://home.planet.nl/~buijs512/trescom/rain.jpg
software-mode to left, hardware to right
I tooks a simple flat plane, textured it with a rain texture (plain white) and a opacity map (black with white dots). I mapped it onto the object so it's streched vertically to simulate motion blur.
I animated the rain the same way like the ocean, the texture scrolls down the object.
I first used the model as billboard (like the trees you see at the horizon in Tres), which always face the player. While not moving this looks just fine but becomes very irritating as you come near and pass the object, it suddenly rotates away from you.
So I disabled that, now having a bunch of static planes. Looks pretty good in hardware mode, but looks like a big pixel mess in software.
So finally: yes we can do rain.
I'll perfect the method it and upload the model at TresCom.org.
I did a test, and I figured out a way:
http://home.planet.nl/~buijs512/trescom/rain.jpg
software-mode to left, hardware to right
I tooks a simple flat plane, textured it with a rain texture (plain white) and a opacity map (black with white dots). I mapped it onto the object so it's streched vertically to simulate motion blur.
I animated the rain the same way like the ocean, the texture scrolls down the object.
I first used the model as billboard (like the trees you see at the horizon in Tres), which always face the player. While not moving this looks just fine but becomes very irritating as you come near and pass the object, it suddenly rotates away from you.
So I disabled that, now having a bunch of static planes. Looks pretty good in hardware mode, but looks like a big pixel mess in software.
So finally: yes we can do rain.
I'll perfect the method it and upload the model at TresCom.org.
-
- -=TresCom Developer=-
- Posts: 1845
- Joined: Mon Jul 22, 2002 12:35 pm
- Location: Holland, Europe
Nope like I thought, didn't work out. Just could not map the texture right.
I took the 4 planes and put them together as a box, you can now move em around more easy in TresEd (they disapear all the time because the texure mipmaps). The more layers you have the more realistic the rain looks.
The only problem would be when you look up, you can see a the rain 'end'. But I got a good idea to fix that.
First a little intro;
A mesh is build up out of vertices. Each vertex has a normal, an invisible arrow which points in the direction the polygon (which connects the vertices) is facing. The game-engine's renderer uses this normal to determine the darkness of the vertex (colors in between vertices are interpolated to simulate lighting) when rendering each polygon.
If we set this normal to 1, it renders that corner of our polygon white, set it to 0 and it's black. Set it to 0.5 it's gray. Get it?
So if we set the normals at the top of our box to 0 (when having a black sky, 1 for a white sky or somethin else for anything in between) we can make the drops fade in as they come down.
Can do this with our TPM format, gonna test it. Did something like this before, but I'm not sure it works in Tres.
* not only the rain itself is important to make the whole effect work. Here's a screenie from the night testscene with a big skybox (almost white because of the fog):
http://home.planet.nl/~buijs512/trescom/rain2.jpg
Just gotta find the right combination with sky, fog and rain objects.
Rebel, is there a t-script value to disable fog on objects?
I took the 4 planes and put them together as a box, you can now move em around more easy in TresEd (they disapear all the time because the texure mipmaps). The more layers you have the more realistic the rain looks.
The only problem would be when you look up, you can see a the rain 'end'. But I got a good idea to fix that.
First a little intro;
A mesh is build up out of vertices. Each vertex has a normal, an invisible arrow which points in the direction the polygon (which connects the vertices) is facing. The game-engine's renderer uses this normal to determine the darkness of the vertex (colors in between vertices are interpolated to simulate lighting) when rendering each polygon.
If we set this normal to 1, it renders that corner of our polygon white, set it to 0 and it's black. Set it to 0.5 it's gray. Get it?
So if we set the normals at the top of our box to 0 (when having a black sky, 1 for a white sky or somethin else for anything in between) we can make the drops fade in as they come down.
Can do this with our TPM format, gonna test it. Did something like this before, but I'm not sure it works in Tres.
* not only the rain itself is important to make the whole effect work. Here's a screenie from the night testscene with a big skybox (almost white because of the fog):
http://home.planet.nl/~buijs512/trescom/rain2.jpg
Just gotta find the right combination with sky, fog and rain objects.
Rebel, is there a t-script value to disable fog on objects?