View Single Post
  #2  
Old 03-08-2006, 01:39 PM
tobin tobin is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 251
Material opacity should come through in the 3DS format but I'll have to verify that. It certainly does in other formats.

A good technique, though, to give the impression of glass it to use a texture that has an alpha transparency layer. For the bitmap, add some scratches or a little dirt.

Finally, if you're window glass is a separate object, say "pane", then you can call worldObject.alpha(0.5, "pane") and it'll search through and set any sub-objects named "pane" to be 50% transparent.
Reply With Quote