Hello,
We would like to record a 3D-stereo video with a Canon RF 5.2mm F2.8 L dual fisheye (180 degrees). The video shows presenters. After the video is finished, we want a fade to a 360 degree stereo panorama. The environment is the same as in the video.
Has anyone here had any experience with 180 degree stereo videos in krpano? or can you give us tips for a possible setup in krpano?
Many thanks for any advice!
regards
Posts by holo
-
-
-
Hello,
i want to load a krpanotools encrypted JS file ("krpanotools encrypt") in krpano using the command "krpano.actions.loadjs()" but i get the error "not a krpano plugin .js file!" during the encryption process.
Can only "encrypted krpano plugin JS files" be loaded with "krpano.actions.loadjs()"?
The documentation (https://krpano.com/docu/actions/#loadjs) suggests that any encrypted files are possible, or am I seeing this wrong?
Thank you! -
Hello,
i'm trying to assign a new style to a layer via cssclass but doesn't seem to work, is that not possible?
do I have to work the old way with 'layer.loadstyle' and no- css styles ?xml:
<layer name="menucontainer" type="container" alpha="0" autoalpha="true" flowchildren="v"childflowspacing="10" >
<layer id="menubutton" cssclass="menubutton" type="text" html="INFO" width="145" padding="8 16" align="right" onclick="menuclick" />
</layer>js:
krpano.set('layer[menubutton].cssclass', 'menuitemselected');style.css:
.menubotton {
color: red;
}
.menuitemselected{
color: black;
}krpano 1.21 (build 2023-04-30)
Danke!
-
-
-
-
-
-
ps: to go to the url, best is to open krpano website/forum, then find this topic and then click the link. Anybody has any better suggestion to easily transfer a URL to the quest browser?With MetaDevHub its possible to send a link directly to the Meta Browser, on mobile phones with the Meta Quest App
https://developer.oculus.com/blog/meta-ques…r-hub-mqdh-3-3/
(if logged in to the metaaccount it should also possible to send the link to the headset via #
https://www.oculus.com/open_url/?url=…rbitcontrol_vr/ -
Hi,
I have a depthmap scene with an obj file where the camera is animated and the object is viewed from different angles.
the position of the camera in space is defined by viewx, viewy,viewz, viewoz, and a fov value. The view direction is defined by a hotspot.
In non vr mode this works well:const spot=krpano.get('hotspot[spottolookat]');
const camerapoint={viewx:0, viewy:0, viewz:0, viewoz:0, fov:90};krpano.actions.lookto(spot.hlookat, spot.vlookat, camerapoint.fov, 'tween(default,1)', true, false);
krpano.actions.tween('view.tx|view.ty|view.tz|view.oz', [ camerapoint.viewtx, camerapoint.viewty, camerapoint.viewtz, camerapoint.viewoz ].join('|'), 0.8, 'linear', () => {
console.log('end of animation');
});Now I want to create exact same animation in VR mode. The problem: how can I set (or simulate) the field of view "fov" in VR mode? I already experimented with the "plugin[webvr].zoom" value, unfortunately without success:
krpano.actions.tween('view.tx|view.ty|view.tz|view.oz', [ camerapoint.viewtx, camerapoint.viewty, camerapoint.viewtz, camerapoint.viewoz ].join('|'), 0.8, 'linear', () => {
// krpano.call('plugin[webvr].zoom(' + 3 + ')');
krpano.call('plugin[webvr].lookat(' + spot.hotspot.hlookat + ')');
console.log('end of animation');
});Is there an easy way to change the field of view in VR, e.g. by calculating a new viewpoint tx,ty,tz for the camera?
Thanks for any hints in the right direction!
-
works like a charm!
-
-
the solution for my webserver was to add txt extension to the OBJ file, see documentation:
-
yes, icon.renderer="wegl" did the trick!
again learned a lot of new things, thanks to all!
-
hmmm, what am i missing? no matter what values i set for depth or zorder (chrome browser), the icon is always behind the background, see screenshot, this is my test code.... any idea?
const icon = krpano.addhotspot('icon');
icon.type = 'image';
icon.distorted = true;
icon.url = "%CURRENTXML%/assets/icons/spots/vision.png";
icon.atv = 0;
icon.ath = 30;
icon.depth = 800;
// icon.zorder = 1;
icon.width = icon.height = 48;const bg = krpano.addhotspot('bg');
bg.type = 'text';
bg.distorted = true;
bg.atv = 0;
bg.ath = 30;
bg.depth = 1200;
// bg.zorder = 2;
bg.width = bg.height = 48;
bg.bgcolor = '0xffffff';
bg.bgalpha = 0.5;things i have changed:
- updated to INFO: krpano 1.21 (build 2023-03-30)
- the previous scene is now a depthmap obj scene (based on the tuscany example), the actual scene is loaded via 'loadscene' with "REMOVESCENES" flag
Many thanks for hints! -
Hello,
i have an app loading hundred of VR hotspots from an excel sheet containing ATV,ATH und DEPTH values.
Any hotspot consits of a background hotspots (depth=1200) and a hotspot with an image above the background (depth=1199)Now after updating to 1.21 the icon is always behind the background, changing the depth values makes no difference, or i miss something.
Any hints what to do?Set the tx.ty.tz values is the way to go for the future, i suppose?
Is there a convenient way to convert my ATH,ATV,DEPTH values to tx,ty,tz values?Thank you
-
Thanks very useful!
-
This is great!!
-
Hi,
my app is preloading an OBJ file to the browser cache.
Krpano reloads this OBJ, Is there a way to force krpano to get file from cache and not downloading it a second time?Is there awa to monitor the downloadprogress of OBJ files?
It seems that "progress.progress" is not working when loading OBJ files, only for pano images, is this right?Thanks