Game Development Community

Lighting the Door

by Badguy · in Torque Game Engine · 04/25/2002 (7:15 pm) · 6 replies

Ok so here I am,
in the beginning I simply placed a couple comments in
Interior::renderARB_FC(..)
so that the door would not be affected by the light manager with my current settings.

this is not permanent now that im so close to where im gonna post what I have so far, its time to answer to this

I cannot have the light manager burning the shadow into the terrain for the door, as it moves it wont make sense.
I want to use all the current Interior Rendering code to handle the door as I have been so far which brings this issue ..
at this time Ive not modified Any Interior code to get this done and I was hoping I wouldnt have to .. and except for this ive done just that.

So.. how am I gonna continue to use the Interior Code to do the door without changing it's reaction to lighting?
... Im not. I have to do something in Interior class
so I think I will post what I have ..
and maybe someone else can help me solve this issue properly.

can I get some feedback on this decision?

im gonna post once I figure out how to take the current rotation the Interior has .. and use it to rotate the PathedInterior's Offset so it can calculate rotation angles properly for rotation when rotated :)

#1
04/25/2002 (7:20 pm)
Good decision :) Can't wait *jumping up and down in anticipation*
#2
04/25/2002 (7:27 pm)
:)
heh well it is a mighty super hack that turns off all Interior use of lightmaps..

Maybe a good super hack would be to set my bunk handle to something I can intercept in the Interior class and recognize as no need to light :)

that would work and wouldnt take much changing at all ..
and the only affected would be the Interior that sets its light map handle bunk
#3
04/25/2002 (9:01 pm)
Desmond, you know he's just teasing us right ? I mean, he's probably got it all working perfectly, but is milking this for all the suspense he can get ...

*ducks for cover*

:-)
#4
04/27/2002 (4:07 am)
Ok for you in a Rush here check it out:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2619

(is that Appropriate?)
#5
04/27/2002 (5:45 am)
Nice work Badguy. Dont worry about finishing it off, I'm sure there's enough here to get everyone started. If anoyne needs more they can do it themselves :))

Phil.
#6
04/27/2002 (4:21 pm)
Thanks Phil :)

.. I guess GG dont work on weekends eh? :)