DTS OBJECTS lighting problems
by arteria3d · in · 01/07/2005 (6:07 am) · 2 replies
I am very pleased with the way the lighting enhances the scene of my scene, and as a result my level has come alive!! however i am a little perplexed by certain lighting...
On my trees - that Trunk lights and shades beautifully and very realistic, but the leaves dont at all.
Sometimes the leaves apear all dark, or occasionally they will have a slight bit of lighting hitting them.
Is this because they are single plain, transparent objects?
Steve
On my trees - that Trunk lights and shades beautifully and very realistic, but the leaves dont at all.
Sometimes the leaves apear all dark, or occasionally they will have a slight bit of lighting hitting them.
Is this because they are single plain, transparent objects?
Steve
About the author
Owner of uk based Ltd company ArteriaMediaLtd. with a trading name of Arteria3d Website;arteria3d.com
#2
I will look at your solution
02/11/2005 (12:44 am)
Interesting post John I got exactly the same problem since I introduced day-night code into our project. Some Tree and DTS change foliage light level depending on camera.I will look at your solution
Torque Owner John Kabus (BobTheCBuilder)
-Strange shading due to a leaf's true front facing surface pointing away from the light source making it look dark. This happens in stock TGE as well, but if you look at the trees provided in the TGE demo the problem is solved by setting up the leaves as self-illuminating.
-Or you already have the leaves set to self-illuminating and they're too bright. For this you'll need to setup a custom self-illumination for the object (in the mission editor) based on the static DTS chart in the Lighting Pack's Modeler Guide (section 'TSStatic Lighting ').
Try both of these to see if you get the results you're looking for. Also, if the tree's trunk is setup to receive direct sun illumination (the 'receiveSunLight' option) then I recommend following the DTS lighting setup that uses the sunlight for self-illumination (the seventh lighting setup in the chart) it give really smooth and consistent lighting across the whole model.
Let me know if this helps.
-John