Dear wise Vred-useres
I want the vrMenu to automaticly start at scene launch.
Is it possible to do this with VredPresenter too? Do I have to export a special format?
At the time the menu starts via a variantset with the script:
menu = vrMenu(1,1,1)
menu.setUrl("C:/path/blah.html")
menu.setPosition2D(0,0)
menu.setAutoResize(0.000655)
menu.setWindowResize("vrMenu",450, 860)
menu.show()
Also there is a problem with using sliders in the vrMenu, as the mouse-drag affects the menu-slider, but also the scenes camera view. It behaves, like the vrmenu wasn't there (just like when the backgrounds opacity/rgba is set below 1 in the html). This occurs only in Verd Presenter not in Vred Pro 2018.
Solved! Go to Solution.
Solved by seiferp. Go to Solution.
Hi,
Just tested it and works for me!
Cheers
Pascal
Hey pascal
Thx again for your support 🙂
Then maybe there is a problem with my sliders, as it does not work that way in my scene.
I figured, that I have to put the vrMenu script in the scripteditor. After that it launches with the scene 🙂
Why does the vrMenu scale from the bottom left corner? Makes it impossible to make the menu stick to the top (if you don't want a fixed Render Window Size). Can I change this? If not how do I set the renderwindowsize via Python?
Cheers
Simon
Hi,
jep! We are aware that the vrMenu and HTML5 content isn´t the best soultion we could provide to users and want to improve this in a further version.
Add this setFixedRenderWindowSize(960, 540) to your scripteditor for a fixed resolution!
Here are some more python events I could think of that might be usefull in your app:
showViewCube(0); enableHeadlight(False); setBoundingBoxSelection(False); setSuperSampling(false); setPostprocessAntialiasingMode(1); setRenderWindowDocked(0, false, FULLSCREEN)
I´m using a standard slider element in my page:
<input type="range" id="expRange" min="0" max="10" step="1" value="1" oninput="showVal0(this.value)">
Cheers
Pascal
Hi !
I'm really interested by the Menu you created in that example ! Could you share your script please ? I did not managed to find the way to create a slider menu on my own.
Thanks a lot !
@Anonymous Can´t find exact that one anymore but the attached one is doing basically the same just mapped to a geometry instead of a frontplate.
Wow ! that's perfect ! Thank you for answering so fast !
I'm sorry but I'm a beginner, can you explain me how to link the vred scene with the main ?
Do you have to use html or can it be done in the script editor ?
Can you link a slider directly with an animation ?
Again thanks a lot for your help
Can't find what you're looking for? Ask the community or share your knowledge.