Posts by kme
-
-
Now. about that 'make pano' button -- where do I find it in Postshot? In LFS ? And what exactly happens if I push it?
the "make pano" button is only available in krpano splattools.xml
in LFS, you can render the viewport as equirectangular, but export as equi not (yet) possible
-
the splattools have a "make pano" button that allows you to do that - save he cubemap and then you can use that to create the pano.
-
-
I would be more interested in krpano having this natively build inn-ish. Or at least some of the sog and LoD etc..stuff..
Yeah, me too, but there is a real need (for me at least) to have the features you mention (LoD / SOG) "now". we can only hope krpano will have all this at some point too for a better / easier integration.
Can you add the controls 3d to your krp example?
Yeah, sure, done! :)
-
Hi All,
Some time ago, I created a "threejs helper" plugin that used threejs for rendering .obj/.glb and also splats (Import Gaussian splat using three.js). Trouble back then was that sharing the threejs canvas with the krpano canvas was not yet possible. With the latest krpano, that has changed and with the help of the open source threejs plugin, I made a new version of the threejs helper (altough the canvas still is not shared as spark needs full control over it)
To increase the functionality, we have included SparkJS to perform rendering of gaussians splats. Its not much yet, but I wanted to see if there is any interest in productising a plugin.
The idea is to have gaussians plats as hotspots using threejs/spark as the renderer.The plugin is designed for hybrid rendering where krpano handles navigation and UI, and Three.js/Spark handle the 3D visual content.
- render splats, Three.js image planes, and GLTF-style 3D objects as hotspots in the scene when they need shared depth
- use krpano layers for UI and overlaysFor example, splats are defined as hotspots:
<hotspot name="splat_1"
type="splat"
url="splat.ply"
tx="0" ty="0" tz="0"
rx="0" ry="0" rz="0"
scale="1"
visible="true" />Current iteration has:
* loading multiple splats in a scene using <hotspot ... > with most of krpanos event handlers, positioning/rotation, visibility, hittesting, etc...
* as the plugin is using spark, we can load all formats supported by spark (ply, .spz, .sog, .splat, .ksplat, .rad, and .zip), all in SH3
* we can use spark LoD, and set the lod parameters (quality, streaming)
* also supports loading of image planes (didnt need .obj/.gltf/.lights yet, but coming soon)
* krpano Layers remain available: The plugin renders the Three.js/Spark scene in a canvas layered with krpano. krpano remains available for: layers, UI controls, navigation, debug console, hotspots outside the Three.js-rendered content, XML actions, tour scene management
A small demo: https://krpano.kri-soft.be/spark/(which is a remake with krpano actions of https://sparkjs.dev/examples/#multiple-splats - other examples will follow as well)
Let me know your thoughts and feel free to reach out if you have any questions. Most of you have my contact details :)
-
you can set enabled="false" when they get behind a wall
-
Something like this:
Spacial Events Plugin for krpanoThis plugin enriches your hotspots with some extra events and properties, and provides some extra useful krpano actions related to the spacial…krisoft.gumroad.com -
curious what u are building this time! :)
-
-
I guess its because point is a "known" element and they are assigned names automatically.
-
Yes, as tuur said, your poi need names, then your code works
Code
Display More<view_path name="path1" duration="2.00" loop="false"> <poi name="name1" tx="-155.03" ty="-161.31" tz="240.61" oz="0.00" hlookat="-242.34" vlookat="9.48" fov="70.00" fisheye="0.00" architectural="0.00" /> <poi name="name2" tx="354.95" ty="-161.31" tz="-26.66" oz="0.00" hlookat="-242.34" vlookat="9.48" fov="70.00" fisheye="0.00" architectural="0.00" /> <poi name="name3" tx="517.71" ty="-161.31" tz="-98.21" oz="0.00" hlookat="-149.97" vlookat="-1.58" fov="70.00" fisheye="0.00" architectural="0.00" /> <poi name="name4" tx="380.08" ty="-161.31" tz="-336.30" oz="0.00" hlookat="-149.97" vlookat="-1.58" fov="70.00" fisheye="0.00" architectural="0.00" /> <poi name="name5" tx="253.84" ty="-213.49" tz="-507.99" oz="0.00" hlookat="-22.01" vlookat="13.50" fov="70.00" fisheye="0.00" architectural="0.00" /> </view_path> <view_path name="path2" duration="2.00" loop="false"> <poi name="name1" tx="198.25" ty="-213.49" tz="-592.77" oz="0.00" hlookat="24.64" vlookat="5.42" fov="70.00" fisheye="0.00" architectural="0.00" /> <poi name="name2" tx="405.46" ty="-179.47" tz="-302.15" oz="0.00" hlookat="24.64" vlookat="5.42" fov="70.00" fisheye="0.00" architectural="0.00" /> <poi name="name3" tx="509.63" ty="-179.47" tz="-62.30" oz="0.00" hlookat="-55.06" vlookat="4.37" fov="70.00" fisheye="0.00" architectural="0.00" /> <poi name="name4" tx="316.38" ty="-179.47" tz="33.98" oz="0.00" hlookat="-63.52" vlookat="2.98" fov="70.00" fisheye="0.00" architectural="0.00" /> <poi name="name5" tx="110.35" ty="-179.47" tz="-42.27" oz="0.00" hlookat="-155.20" vlookat="-1.93" fov="70.00" fisheye="0.00" architectural="0.00" /> </view_path> <layer type="container" flowchildren="h" align="bottom" y="20" childflowspacing="10"> <layer style="but" text="Path 1" viewpath="path1"/> <layer style="but" text="Path 2" viewpath="path2"/> </layer> <style name="but" type="text" onclick="play_path(get(viewpath))"/> <action name="play_path" type="js" args="vpname"><![CDATA[ var vp = krpano.view_path.getItem(vpname); var poi_count = vp.poi.count; console.log(poi_count); ]]></action> -
Hey, I dont have an immediate answer, but I will look into it and report back here!
-
Nice one Tuur! Was a long time since someone released a plugin for krpano! will check it out when I have some time...
-
In your https://vtsw.uk/vt/ht/tour.xml; change the loadscene_flags:
loadscene_flags="MERGE"
to
loadscene_flags="null"
-
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!