1 Reply Latest reply: Jul 26, 2012 8:07 AM by Dave Merchant RSS

    Transparency level

    3dsolutions Community Member

      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("engine"); 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