Greetings!

Welcome to Scifi-Meshes.com! Click one of these buttons to join in on the fun.

EffectsLightwave (ANY): How to make lens flares that only appear from certain camera angles?

Working on a wet-navy ship model in Lightwave, and I'm attempting to set up the navigation lights on the masts of my ship so they're visible according to regulation without having to track manually where the camera is in relation to the light.

According to the international maritime laws on collision avoidance, the red and green lights are supposed to be visible from 0 degrees (straight ahead) out to 112.5 degrees off to either port or starboard, and the white light on top of the mast is supposed to be visible through the front 225 degree arc.

I tried using geometry to act as a reflector and screen to mask the lights off, it didn't work, with "fade behind objects" on both the red and green flare despite the location of the red flare being unmasked (there's no glass and no reflector in the scene right now, and it doesn't render when I have fade behind objects on)

2kPkEmF.png

Image one is what it's supposed to look like, but I had to turn off "fade behind objects" on the red one to make it happen. The green light is not directly visible from this angle, it's shaded by its reflector. The red light *is* visible, and thus has a flare applied.

yMKx4PB.png

Here's what it looks like with "fade behind objects" turned off for both flares. Both lens flares visible, not what I want.

oLzWkVN.png

Here's what it looks like with "fade behind object" turned on for both flares. Notice that there's no flares now, despite the red flare not being behind anything.

Hw4qfAr.png

To see what the flare was hiding behind, I removed the geometry of the reflector from the red light. Fade behind objects is on, flare should be hovering in the middle but it's not there.

ZA0eHrr.png

Here's what the above image *should* have looked like (less the green flare)

I'm assuming the proper way of doing this would be to put an envelope on the Flare Intensity, but I have no clue what I'm doing with that stuff. How do I make an envelope that reduces the Flare Intensity channel to 0 if it's outside of the angle it's supposed to be visible from, that works for all cameras and not just one in particular?

(tagged Lightwave (ANY) because the Lens Flare function has not changed since LW8 or something silly like that...)
Tagged:
Sign In or Register to comment.