-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Intitial Yaw #107
Comments
Provide some code. Are you setting default_yaw in the SceneInfo you provide
onVRViewReady?
…On Thu, Dec 22, 2016 at 6:25 AM broux2 ***@***.***> wrote:
I am trying to use defualt_yaw as described in vrview-web developers
concepts. This has no effect on the initial yaw of my images. Possibly
because the VRView initial image is a blank image and then I am loading a
scene onVRViewReady. Can the yaw be set different for each scene?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#107>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQ8gAThsJ6PIii0gu9jGlE_wkUbqXGnks5rKohNgaJpZM4LUBvh>
.
|
I am just putting that attribute into my scenes. See the Living Room Example.
|
Same problem here. It seems that the more of "yaw" is added, the lower "pitch" becomes. With 90 of "yaw", "pitch" reaches 0. Those shouldn't be connected but somehow they are. I'm also using example with hotspots (dolphins, etc.). I've changed nothing more but \examples\hotspots\index.js
|
What's more hotspot just disappears (transparency is 100%) while "pitch" is more than 60
|
The dissapearing hitspot over 60 issue i fixed. I cant give you the exact info as i only have the code on my work computer but there are some lines that specify a fade of the hotspot based on pitch. I belive fade start is at 30 and end is at 60. I turned the end up to 90 to stop them from disapearing. I will probably adjust lower limit as well to stop all fading. I dont get why they did thst anyway. |
If you can send me your code it would be very helpful :) |
Look for this code in the hotspot-renderer.js. // Constants for opacity. I actually changed the sane lines in the compiled embed.js file. |
Thanks for this :) info for @borismus - there's still a problem with correlation between "yaw" and "pitch" |
Hey @Nagell , I was getting the same problem regarding "yaw" and "pitch". The problem turned out to be the order given to the Euler angle constructor (which is originally left by default as XYZ). In the Hotspot add function, change this line:
to
|
i tried the value "default_yaw" as a parameter in e VRview embed and noted it was ineffective. I since noticed the codelabs documentation refers instead to "start_yaw" and i found that did work. Seems like the documentation maybe incorrect. |
I'm having the same problem with the pitch and yaw being connected. It makes positioning hotspots impossible. @lkieliger 's comment work for anybody? I'm about to try it. |
confirmed! @lkieliger 's comment worked. @georgedumontier. Previously when yaw got larger than 140, pitch would go backwards. Setting 'ZYX', solved the problem. |
@NPTPolynomial @lkieliger Wow! Thanks! Idk what this did, but now I can adjust pitch and yaw independently of each other. Thank you so much! |
I am trying to use defualt_yaw as described in vrview-web developers concepts. This has no effect on the initial yaw of my images. Possibly because the VRView initial image is a blank image and then I am loading a scene onVRViewReady. Can the yaw be set different for each scene?
The text was updated successfully, but these errors were encountered: