WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Make an object transparent if you see it from its back (https://forum.worldviz.com/showthread.php?t=3079)

Renato Lima 11-12-2010 08:58 AM

Make an object transparent if you see it from its back
 
Is there any simple and easy way of doing this? Disable/hide an object if you see it from its back??

farshizzo 11-12-2010 09:00 AM

Try enabling back face culling:
Code:

node.enable(viz.CULL_FACE)

Renato Lima 11-12-2010 09:07 AM

Great, but can I do the same for a "box" instead of "plane"??

and.. would it be possible to render with a certain alpha instead of full transparency?

thank you.

farshizzo 11-18-2010 02:36 PM

Back face culling works on any model. However, it does not support rendering with transparency.


All times are GMT -7. The time now is 06:01 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC