Jump to content
Sign in to follow this  
Romolus

Working tank periscopes

Recommended Posts

I'm trying to get the periscopes working in the View-Pilot LOD of my tank. I examined the demo tanks but I found no small hint why these periscopes can see through other faces.  sad.gif

I know there is something with the order of .paa textures that have an alpha channel placed behind each other so that textures don't show up behind some other transparent ones.

But this isn't used in the periscopes.

The objects that lay between the periscope texture and the things that show up in the periscope are just normal .paa textures without any special transparency.

I also tried if this has something to do with the View-Pilot Geometry but no success so far.

So does anybody know how the tank periscopes are working?

How does it work that some objects can be seen through but some can't?

Share this post


Link to post
Share on other sites

After doing all sort of tests during the last two days I got it figured out how it works.

It HAS something to do with .paa textures combined with another one that has transparency.

Every .paa textured face that has a higher index than the transparent one is invisible behind it, the ones that have a lower index are shown.

The thing that took me so long to figure this out is that you need a named selection in O2 to let Buldozer show this effect.

If you don't have any named selection all faces behind a transparent texture are shown in Buldozer no matter what index they have. It doesn't have to be a special named selection, just one that is shown in the named selection window. It's sufficent to let O2 show the components by using the "Find Components" command, you don't have to create one.

Faces that are textured with .pac files are not effected by this, they are allways shown behind a transparent texture.

Now don't tell me that nobody in here knew this allready  tounge.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×