Jump to content
Sign in to follow this  
jkanold

Translucent textures

Recommended Posts

I have been playing with some model bridges using the following code line, ADDCAT OBJECT_0_SCALE, 8The line of code definately sets the model on solid ground and stops the model from floating or disappearing into the ground, however, the model displays a semi transparency effect which is annoying.I have tried ADDOBJ OBJECT_0_SCALE, 8 and that doesn't work. The model will float or disappear into the DEMAnyone have an answer to sticking a model to the ground in custom DEM without it displaying this translucent texture problem?http://members.rogers.com/jkanold/jimlogo.gifhttp://members.rogers.com/jkanold/flyurl.gif

Share this post


Link to post
Share on other sites

Jim,It is not strange that you get those transparant effects. The command ADDCAT is similar to the SCASM LayerCall and should only be used for flat ground polygons, not for 3D objects. When it is used FS doesn't know it's a 3D object and that is the cause of your problems.You should use a PerspectiveCall or ADDOBJ command to tell FS that it is 3D. You can not provide a layer number (the parameter 8) with that command.Then back to the cause of your problem. I think GMax uses the RefPoint type 7 as we called it in SCASM, that means that the RefPoint is placed at the altitude of the DEM (for that certain point).If this causes problems you could try two things I think. One is to flatten the water below it, so there is no height difference under the bridge, or just raise the bridge a bit in altitude.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...