You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

21

Wednesday, November 30th 2022, 9:08pm

in the 3D example of zflare :
https://krpano.com/plugins/userplugins/zflare/#examples

i have added a very simple limit like this :

Source code

1
2
3
4
5
6
7
8
	<hotspot name="floorspot" ... onclick="move_in_limits(get(tx),get(tz));" />

	<action name="move_in_limits" scope="local" args="tx,tz">
		clamp(tx, -900, 900);
		clamp(tz, -900, 900);
		tween(view.tx, get(tx));
		tween(view.tz, get(tz));
	</action>

22

Friday, January 6th 2023, 3:21pm

Could it be possible to go one step further, such as showing up on surfaces with depth information?
Not yet, but with one of the next releases.
Any update on this?

23

Friday, January 6th 2023, 6:45pm

Any update on this?

patience... 1.21 is coming soon

kme

Intermediate

Posts: 255

Location: Belgium

Occupation: Long time coder, product manager and 3D enthousiast

  • Send private message

24

Friday, January 6th 2023, 8:16pm

I hope one of the examples will be how to float over a 3D model (floor, walls, stairs, ...) with the hotspot *g* *g* *thumbup*