View Single Post
  #2  
Old 07-03-2016, 08:06 AM
dcnieho dcnieho is offline
Member
 
Join Date: Feb 2011
Posts: 59
Dear Jeff,

Perhaps it is useful if i provide some more background.

I am trying to get some items i render with parent=viz.SCREEN or parent=viz.ORTHO to show up on the Vive.

Since my last post, i have found this: http://forum.worldviz.com/showthread.php?t=5573. So I am trying a canvas. But i'd like the vizshapes i parent to this canvas to be rendered with orthographic projection. If i set
Code:
canvas = viz.addGUICanvas()
canvas.setPosition([0,0,0])
canvas.alignment(viz.ALIGN_CENTER)
canvas.setRenderScreenOrtho()
canvas.setReferenceFrame(viz.RF_VIEW) # with or without doesn't make a difference
my elements only show up on the desktop view of the vive that is automatically opened, not the vive itself.
Using
Code:
canvas.setRenderWorldOverlay()
Does work, but then its a perspective rendering.

Could you let me know how i can get things rendered orthographically to show up on the Vive?
Reply With Quote