hi,eveyone
I want to know how to limit the accuracy of the scene view(vlookatmin,vlookatmax,hlookatmin,hlookatmax)。
Thanks
limitview
-
-
add an event to your xml
<events onclick="mouseposition();" />
<action name="mouseposition">
showlog(true);
screentosphere(mouse.x, mouse.y, mouseh, mousev);
trace('ath=' , mouseh , ' atv=' , mouseh );
</action>click in the place you want to limit
then input the values in your variables
was this what you wanted?
-
hi, herrpedro
The same to thank you ,but this is not I want.
I would like to know when "limitview='range'",how to determine the value of “ hlookatmin , hlookatmax , vlookatmin , vlookatmax ” -
hi, herrpedro
The same to thank you ,but this is not I want.
I would like to know when "limitview='range'",how to determine the value of “ hlookatmin , hlookatmax , vlookatmin , vlookatmax ”thats what i did
when you see it without limits you get a full sphere in black with a slice of image
if you add that code
click on the left limit of the image and input the value from hvalue into hlookatmin
click on the right limit of the image and input the value from hvalue into hlookatmaxif you want the actual values just make a trace of
view.hlokatmin , view.hlookatmax
like
trace( 'hmin=' , view.hlokatmin , ' hmax=' , view.hlookatmax);
you might add more things to trace. -
Hi,
you could calculate them also from the spherical source image:
h = x-pixel-pos / image-width * 360 - 180
v = y-pixel-pos / image-height * 180 - 90Best regards,
Klaus
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!