Game Development Community

Can .dts receive lightmap?

by Nabarro · in Torque Game Engine Advanced · 12/04/2008 (5:52 am) · 4 replies

Hi, all,

Can anyone advise that whether we can apply lightmap to .dts model?

Especially for the moving sunlight.... by now, we can already maken the .dif to receive the dynamic sunlight (for example , the window frame's shadow casted on the floor and moved according to the 24h's sun moving track...) Can we apply the same thing on the .dts in theory?

Thanks in advance...

#1
12/04/2008 (7:47 am)
I don't believe DTS can self shadow yet i pray to the gods of programing to fix this ..
it can be dun....www.garagegames.com/blogs/21036/15371
and don't know why its not dun yet
#2
12/04/2008 (6:33 pm)
Thanks Dave for your link... while it's about something refer to "sunburn"...

If you want your DTS to self shadow, you can use "Polysoup", just set usePolysoup = "1" in your .mis file;

For my question, i just want to know whether .dts can receive the sunshine and shadow......for example, if there's sunshine casting through the window, we can now see the sunshine and window frame's shadow projected on my .dif floor, but if there's a sofa which is a .dts model on this floor, the sunshine and window's shadow stop on the sofa (in fact, it penetrated through the sofa and cast on the floor beneath it) ...... So is there a way can make this .dts sofa or table also receive the sunlight and shadow?

Tks...
#3
12/04/2008 (7:30 pm)
What you are looking for is dynamic lighting such as sunburn were the sun wood cast shadows/light like you need.Sorry i cant be more help
#4
12/08/2008 (9:50 pm)
I 2nd that polysoup should achieve what you want, I believe. I'm using it right now for prototyping, and it is good so far. You can also edit the polysoup opcode for collision to render custom collision meshes if you need to. Just run a search on 'walkmesh polysoup'.