Notice to all visitors and members of the Train-Sim.Com message forums: If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.
the image below shows what i want to do. i want to have the light of the engine not cut into the cab windows (which are slanted) and slant the lights to match that angle. is there a way to do this in the lighting code?Hauling America one pixel at a time Bill Hemb; train sim repainter
RE: lighting question, making a light aim on an angle
Bill: The below from the Tech Doc might be what you are looking for.CyndiAzimuth(min centre max) This specifies the heading (rotation about the Y-axis) of glow lights – in the simplest case min, centre and max can all be set to the same angle (in degrees). For more complex situations where you want to define the arc of the light you can specify for example -45, 0 and 45 degrees respectively to produce a light with a 90 degree arc. Essentially glow lights attempt to always face the camera but are limited by the azimuth and elevation settings. The best way to see what the values do is to experiment - set up a light with a set of values and then move the camera around it to see what happens.