Jump to content

Recommended Posts

Posted

I'm working on the lights for the aircraft mod guide and I've run into an odd problem. I've been adding lights using a TGA texture with an alpha channel, creating a plane and applying the texture to the plane. For 3DS max material, I use a standard material with the bitmap mapped to the diffuse and opacity channels. I set the material to fake_omni_lights and the Opacity to Blend.

 

There are two problems I can see with this.

 

1) Lights are showing through solid objects

2) I use visibility animation to turn the light bloom planes on/off, but it looks like they are being kept at the origin and translated into place when the visibility argument goes to 1.0. I would rather have seen a gradual visibility.

 

Here is the current end result:

visible_hidden_lights_zpsf93f8a4b.jpg

visible_hidden_lights_zpsf93f8a4b.jpg

 

There are four lights on the back of the fuselage (two left, two right) and the red / green position lights in front of the wing root are all visible, even if they are on the far side.

 

Am I doing something wrong to cause this?

http://forums.eagle.ru/<a href=http://s1344.photobucket.com/user/jknutson21/media/Posted%20Screenshots/visible_hidden_lights_zpsf93f8a4b.jpg.html target=_blank>visible_hidden_lights_zpsf93f8a4b.jpg

  • 4 weeks later...
Posted

Don't use fake_omni_lights, use bano as the material for aircraft lights.

i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10

 

"There will always be people with a false sense of entitlement.

You can want it, you can ask for it, but you don't automatically deserve it. "

Posted

If I use bano, then I have to revert to using 3 double sided planes. I thought the current trend was to use fake_omni_lights because the billboard/sprite model was better. Is that no longer the case?

Posted

In the object properties for the light plane you can add lines to make it a billboard/sprite:

 

EDM Wiki

 

59TMP4k.png

i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10

 

"There will always be people with a false sense of entitlement.

You can want it, you can ask for it, but you don't automatically deserve it. "

Posted

Many thanks! After a bit of fiddling with bano material and object TYPE declarations using billboard, I have it working and the lights no longer shine through solid objects.

 

Thank you again!

Posted

What about land/naval objects?

 

Sorry for the hijack of the thread...

The only way to make sense out of change is to plunge into it, move with it, and join the dance.

"Me, the 13th Duke of Wybourne, here on the ED forums at 3 'o' clock in the morning, with my reputation. Are they mad.."

https://ko-fi.com/joey45

 

Posted
What about land/naval objects?

 

Sorry for the hijack of the thread...

 

What about them? I guess for naval objects bano could be used as well. For land objects, that depends if you want the light to "flood" the surrounding area with light as well, or just be a visual light.

i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10

 

"There will always be people with a false sense of entitlement.

You can want it, you can ask for it, but you don't automatically deserve it. "

  • 5 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...