Sie sind nicht angemeldet.

1

Mittwoch, 30. Mai 2018, 15:23

How to have a "keepview" results on a Hotspot?

Sorry for my question, but I have learn how to assign a determinate set point to an hotspot with a code like this:
onclick="loadscene(scene_20);lookat(180, -20, 110.0);
I ask if could is possible instead to have the same with the "keepview" function, something like this (that obviously not work!)

onclick="loadscene(scene_20);keepview;

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »GIOLETS« (30. Mai 2018, 17:57)


2

Mittwoch, 30. Mai 2018, 15:28

E.g.

Quellcode

1
loadscene(scene_20, null, MERGE|KEEPVIEW, BLEND(0.5));


Please see also here:
https://krpano.com/docu/actions/#loadscene

3

Mittwoch, 30. Mai 2018, 16:44

Thanks a lot! Works perfectly.
In the sample here the hotspot day/night work with "keepviev", the other with a fixed view setup.
http://demo.visual4d.it/VR_Vezzano/tour.html

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »GIOLETS« (30. Mai 2018, 17:56)


4

Freitag, 1. Juni 2018, 21:55

Nice tour! *thumbup*

5

Donnerstag, 11. Februar 2021, 14:23

Sorry for my question, but I have learn how to assign a determinate set point to an hotspot with a code like this:
onclick="loadscene(scene_20);lookat(180, -20, 110.0);
I ask if could is possible instead to have the same with the "keepview" function, something like this (that obviously not work!)

onclick="loadscene(scene_20);keepview;
Hey! Very nice tour!
Can you please help me to understand how did you achive day/night effect?
Thx in advance