![]() |
#3
|
|||
|
|||
Thanks, Masaki, for your reply.
I used the code you sent and it indeed worked to have the HUD to display correctly in the HMD. However, when I try to add an image, instead of a text to the hud, it does not display, if I set parent to viz.ORTHO. The way I have it working in mono is the following: Code:
crosshair = viz.addTexQuad(viz.SCREEN,texture=viz.add('crosshair.png')) crosshair.setPosition([0.5,0.5,0]) Code:
crosshair = viz.addTexQuad(viz.ORTHO,texture=viz.add('crosshair.png')) w = int(viz.getOption('viz.monitor.width')) h = int(viz.getOption('viz.monitor.height')) crosshair.setPosition([0.5*w,0.5*h,0]) Could you point me how I can do the equivalent to the example you sent before, but with an image, instead of text? Thanks a lot! Regis |
|
|