We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Toggle 3D/2D back and forth during program
Page Index Toggle Pages: 1
Toggle 3D/2D back and forth during program (Read 1956 times)
Toggle 3D/2D back and forth during program
Jun 14th, 2010, 1:27pm
 
Hello,

can I
Toggle 3D/2D back and forth during program
and call size multiple times with 2D / 3D.
I want to switch the screen.

Thanks!

Chrisir  Wink
Re: Toggle 3D/2D back and forth during program
Reply #1 - Jun 15th, 2010, 12:57am
 
In 3D mode, anything rendered at z=0 will be in the 2D (XY) plane.  So you shouldn't have to switch modes.  If you want to toggle depth_test or depth_sort, check out hint:
http://processing.org/reference/hint_.html
Page Index Toggle Pages: 1