Html / WebGl example on OS X

Anonymous

Html / WebGl example on OS X

Anonymous
Not applicable

I am running VRed Professional 2017.2 on Mac OS 10.12.3Bildschirmfoto 2017-02-13 um 10.54.33.png

 

Opening the "menu_webgl.py" example produces the result seen on the right.

 

 

No matter what i tried, I was not able to get HTML working with the vrMenu Module.

 

It most of my experiments crashed VRed completly. Am i missing something, or is VRed for Mac just not working as documented?

0 Likes
Reply
Accepted solutions (1)
1,046 Views
1 Reply
Reply (1)

Anonymous
Not applicable
Accepted solution

Bildschirmfoto 2017-02-16 um 10.54.25.pngApparently the issue is that I am sitting behind a corporate proxy, and the browser instance of vrMenu can't get through.

 

It would be great if we could somehow set proxy settings for the vrMenu class. I looked around but have not found a way to do that.

 

Changing the code to the following and running a local webserver via python i can get the results seen on the right.

 

box = createBox(1000, 1000, 1000, 1, 1, 1, 1, 1, 1)

menu = vrMenu(1,1,1)
#menu.setPosition2D(10,10)
#menu.setAutoResize(0.0010)
menu.setUrl("http://localhost:8000",800,600)
#menu.setUrl("http://webglsamples.org/fishtank/fishtank.html")
menu.setAlpha(0.9)
menu.show()

Depending on the complexity of the website ? or maybe if the browser is not ready right away the overlay created is black for a certain time, but then shows the content of the website. Shift clicking allows for intraction on the overlay.

0 Likes