berzingue Wrote:Vdriftfan > track is around 50.000 polys for now. It should turn around 200.000 polys with objects...
Jovenson, Nan, do you think this can do something like that ? :
Animated sun, I mean a light source, with different colors and density, turning around the track :
- 6:00am, it is on east, red/orange color, 50% density
- 12:00 am it is under the track, white color, 100% density
- 9:00pm it is on the west, red/orange color, 50% density
- 12:00 pm : it is under the track, blue/black color, 10% density
Animated self illumination maps
- between 8:00am and 12:00am : self-illuminations map = 0% density
- between 9h00pm and 8:00am : self-illuminations map = 100 % density
If you want to test I can furnish a small 3d scene, for exemple a little part of track with a road light...
The code for lights sources is there. With shaders you even can have as many dynamic light sources as you want. There is also code to calculate sun position, intensity depending on date, time and the location of the track. The track loading code doesn't support it though. The problem at the time of implementation has been editor support and users without shaders.
It could be enabled with some coding. But the guys with crappy graphics cards will have to live without it.
Would be cool to resurrect this code. But I really need to finish the gui rewrite(car outlines creation is somewhat of a pita, not completely happy with it).