Night Version of Route

View previous topic View next topic Go down

Night Version of Route

Post by waterburn on Sat Aug 17, 2013 8:57 pm

I am using Route.ambientlight to create night version of the TTC YUS route. I was wondering how I can add light to stations and in the tunnels. Do I use Route.DirectionalLight somehow? Thanks in advance.

waterburn

Posts : 54
Join date : 2012-06-29

Back to top Go down

Re: Night Version of Route

Post by waterburn on Sun Aug 18, 2013 12:23 am

Somehow the nighttime textures I specify in the CSV objects don't load even if I said the ambient light to low. Yet it works fine in route viewer. Anyone know why? Rolling Eyes

waterburn

Posts : 54
Join date : 2012-06-29

Back to top Go down

Re: Night Version of Route

Post by LabRatAndy on Sun Aug 18, 2013 1:55 pm

I think your getting confused over the function of ambientlight and directionallight commands.
According to the documentation ambientlight is the colour of the ambient light source this will illuminate all objects regardless of orientation. Likewise directionallight is the colour of the directional light source and is used with lightdirection to set is position, it will only illuminate faces that face the light source.
The brightness command affects the light levels as perceived in the cab and is used to create the effect of tunnels, bridges, etc. Note that the level decreases or increases between two of these commands.
The effect of street lighting is done with the setemissivecolour command in the object file, making that particular face or faces appear to be lit up, rather than be illuminated by the ambient or directional light sources.

LabRatAndy

Posts : 98
Join date : 2011-08-29

Back to top Go down

Re: Night Version of Route

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum