You could write your own action to enable/disable the controls?
But yes, maybe would be better if integrated into the control itself...
You could write your own action to enable/disable the controls?
But yes, maybe would be better if integrated into the control itself...
krpanotools makegaussian --multirez ![]()
![]()
Take a look at the https://krpano.com/releases/1.23/…reejs_tesla.xml example and source code, it shows how to set the material for the car windows opacity using an action.
For a threejs model, you can use the material.opacity value to change the transparency of an object
Are these links being posted with the intend to show a use case on what we want to do with krpano?
Right now, many of these things are not possible, but I do hope we are heading into this direction with krpano!
very interesting technique!
confirmed here.
And if I use 1000.00001 it also becomes visible
<hotspot name="p1" keep="true" fillcolor="0xffff00" points3d="-3064,1000.00001,-524,-2953,1000,-172,-2443,1000,-334,-2551,1000,-687" />
But when I set ALL values to 1000.00001, it is no longer displayed again...
Looks like a bug to me.
gr,
Kristof
Tried it, but didnt display anything at all?
Online:
Offline
You can set display.stereo to false to disable stereo view
I am assuming you are using a simulated WebVR experience in your PC browser in the screenshot above, not a real VR device. I believe the simulated WebVR experience is also simulating a "depth or stereo" view, which offsets the cursor.
If you look on a real VR device, the cursor will be on the same spot.
gr,
Kristof
Thanks for the supportive words.
When Gaussian Splatting has collision detection support, I will rework this plugin to work with gaussian splatting and consider a release...
Hi,
Unfortunately, this plugin was not released yet.
gr,
Kristof
Hello,
tour.js is not included in the example. You can generate tour.js using the krpano tools: launch krpano tools and go to the protect tab. There you can use « generate viewer » to generate tour.js using your license. Put the tour.js in the same folder as the files from the tutorial.
gr,
Kristof
Do you have an example (or preview) of the menu you would like to create?
gr,
Kristof
Well, i looked at your code and I think you have the actions reversed.
When max_pressed, you show the max button? You should HIDE max button and show the min button. And same for the "fullscreen_min_pressed" -> show the maximize, and hide the minize...
I reversed the functions (swapped the action names), and then your code works...
I dont know why your code does not work, but I put together a quick example using your logic that works on my side.
Maybe you can use it as basis for your code...
<krpano>
<layer name="minimize" devices="no-ios" onclick="minimize()" align="topright" width="40" height="prop" bgalpha="1" type="image" url="minimize.png" bgcolor="0x1c386a" bgroundedge="0 0 0 0" x="30" y="30" visible="true" keep="true">
</layer>
<layer name="maximize" devices="no-ios" onclick="maximize()" align="topright" width="40" height="prop" bgalpha="1" type="image" url="maximize.png" bgcolor="0x1c386a" bgroundedge="0 0 0 0" x="30" y="30" visible="false" keep="true">
</layer>
<action name="minimize">
trace("minimize");
switch(fullscreen);
set(layer[minimize].visible, false);
set(layer[maximize].visible, true);
</action>
<action name="maximize">
trace("maximize");
switch(fullscreen);
set(layer[minimize].visible, true);
set(layer[maximize].visible, false);
</action>
</krpano>
Display More