Skip navigation
3dsolutions
Currently Being Moderated

Transparency level

Jul 26, 2012 3:36 AM

This is the code to show an object in transparent mode inside a 3d scene.

 

if (getAnnots3D(pageNum)[0].activated==false) getAnnots3D(this.pageNum)[0].activated=true;var mesh=getAnnots3D(this.pageNum)[0].context3D.scene.meshes.getByName("e ngine"); mesh.renderMode="transparent"

 

In my scene the object "engine" is very complex and I need to make it more transparent.

 

Is there some way to change the transparency level  ? let´s say about a 20% of transparency...

 

 

Thank you

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points