Hello,
Is it possible to dynamically change "depthmap.url" and sphere.url?
dynamically change "depthmap.url" and sphere.url?
-
-
yes, ofc .... eg:
set(image.depthmap.url, "path/to/depthmap.obj");
-
yes, ofc .... eg:
set(image.depthmap.url, "path/to/depthmap.obj");
don't know if it works if there was a depthmap already,
but if you load a scene without <image>, you can set things like this. -
Thank you! i will try this
-
-
set(image.sphere.url, 'panos/idol_2/idol_b.obj');
obj ?
-
set(image.sphere.url, 'panos/idol_2/idol_b.obj');
obj ?
I apologize
-
Hi,
You could re-loadscene and use the 'vars' setting of the loadscene..
https://krpano.com/docu/actions/#loadpano.vars?
Not tested...Tuur
-
Hi,
You could re-loadscene and use the 'vars' setting of the loadscene..
https://krpano.com/docu/actions/#loadpano.vars?
Not tested...Tuur
hello Tuur! It works, thanks!
loadscene(test_obj, image.depthmap.url=panos/idol_2/idol_b.obj&image.sphere.url=panos/idol_2/idol_b.jpg, MERGE); -
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!