Game Development Community

Precipitations and Interiors

by Xavier "eXoDuS" Amado · in Torque Game Engine · 02/04/2002 (7:22 pm) · 9 replies

Well someone needs to fix this once and for all and i dont think im the one :)
I keep having rain inside my house!! it doesnt let me sleep
:\
Anyone looked into this already?

#1
02/04/2002 (10:44 pm)
I have tried adding portal zones to the interiors to see if that helped teh engine destinct beteween indoor and outside.
But it did not work at all.

It do however not rain or snow inside the interiors in Tribes 2 so there must be something we can do to fix this.

Im a modeler, so dont ask me to fix it :)

// Clocks out

www.flashthunder.com
#2
02/06/2002 (12:56 pm)
This isn't much help... but I'm pretty sure there is some mechanism to stop it raining inside (there was it T1, and I'm sure I've seen it in T2). Someone just needs to figure out what it is :)
#3
02/06/2002 (2:15 pm)
that's totally true!! it isn't of any help
:)
lol
Thanks tim
hehe
#4
02/09/2002 (11:36 am)
Portals DO stop the rain/snow effects inside interiors. Are you sure you're making your portals correctly?

Here is an example of an interior without a portal:
holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/editing/img/snow_noportal.png

And the same interior with a portal:

holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/editing/img/snow_portal.png
#5
02/09/2002 (3:50 pm)
Portals don't help at all for me either.

My buildings all have semi-complex geometry, archs and peaked roofs.

I'll try a box with a door in it and see what happens...
#6
02/10/2002 (10:25 am)
Then you might actually have a "leak" in the zone. Or the zone is defeated if you have any detail brushes on the exterior of the interior :). Structural brushes are required to create the zone.
#7
02/12/2002 (11:07 pm)
But why does it rain under a pyramid? Just lift a pyramid (or rock) on the "Scorched Planet" map above the ground while its raining and the rain would just go through the object... how could this be avoided then? Or the rain falling underwater, which also isn't very realistic?

Any example for setting up portals for interiors?
#8
02/13/2002 (9:41 am)
Because the pyramid doesn't create a zone like an interior with portals--Richard O'Brien is looking at the precip/lightning code to have the rain/lightning detect non-zoned interiors. The lightning detects the terrain already; hopefully it can be made to detect dif objects (whether portaled or not).

I'm working on a map making tut that will show how to make portals--but in the meantime:

1.the polyhedron in the portal entity has to have the pink NULL texture.
2. the portal poly planes {b]should not line up with any of the surfaces it touches[/b]; in fact, just make it one or two units deep and it should stick into (a few units) the floor, ceiling, and walls of the solid, structural brushes surrounding the opening.
3. the rest of the brushes that define the exterior of the interior (the brushes that divide the interior zone from the exterior zone) should not be detail brushes.
4. complex geometry can possibly lead to vertices that are not integer; suggestion, put complex geometry in details and have a non-detail (structural) brush as the actual zone divider.
#9
12/13/2002 (10:45 pm)
Desmond - I've made many buildings with portals that work fine - at least all the lighting effects work exactly correctly. However, the rain falls through these buildings with impunity. It also falls through any other object...

I've posted a resource with a fix for this here:

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3647

the fix addresses interiors only, but it's a trivial change to add other object types ...

It also only works for precip that is falling straight down (I don't know yet if driving/slanting rain can be done anyway :-), but it should address the needs of many people.