![]() |
#5
|
|||
|
|||
Alright, one more question: Is there a way to size the quad so that is fits the exact dimensions of the window? I've tried, but I'm not sure how the 'size' parameter in viz.addTexQuad method translates into window coordinates.
I have tried inserting the following code into what you have written: # Get window size winsize = viz.MainWindow.getSize(viz.WINDOW_PIXELS) # Display depth texture on the screen quad = viz.addTexQuad(viz.SCREEN, size=1 ,align=viz.TEXT_CENTER_CENTER) quad.setPosition(.5,.5,0) quad.scale(winsize[0],winsize[1]) |
Tags |
depth buffer |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
eMagin HMD Quad buffer problem | Shay | Vizard | 1 | 11-30-2012 12:00 PM |
Issue Getting Quad Buffer Working | nabrahamson | Vizard | 2 | 08-30-2012 09:43 AM |
Does the vrpn7.dle tracker plug-in clear the udp buffer? | michaelrepucci | Vizard | 2 | 09-19-2008 10:22 AM |
depth perception for a DTI 3D monitor | timbo | Vizard | 5 | 07-16-2008 12:23 PM |
accessing screen buffer | hotspur1 | Vizard | 3 | 08-22-2003 03:31 PM |