Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Html / WebGl example on OS X

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
1018 Views, 1 Reply

Html / WebGl example on OS X

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?

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

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.

Tags (4)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report