This website uses cookies. By clicking Accept, you consent to the use of cookies.
Click Here
to learn more about how we use cookies.
Accept
Reject
Browse
VR Forums
Announcements
Get Help
Talk VR
VR Experiences
International
Off-Topic
Developer Forums
Unity Development
Unreal Development
Meta Spatial SDK Development
Mobile Development
Web Development
OpenXR Development
General VR & MR Development
PCVR/Link Development
Quest Development
Accessibility Development
Developer Dashboard Feedback
SDK Development
Tool Feedback
Other VR Development
MVPs
Creator Forum
Getting Started
Events & Competitions
Community Resources
Creator Questions & Discussions
What I'm Building
Help
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Meta Community Forums
Developer
PCVR/Link
scale issues
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
scale issues
dukey
Honored Guest
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
03-31-2015
10:46 AM
I am trying to retrofit the rift to some opengl applications
I am setting the projection matrix like so
Vector3f headTrack(m_eyeRenderPose[eye].Position); // need to scale
Matrix4f MVPMatrix = Matrix4f(ovrMatrix4f_Projection(m_eyeRenderDesc[eye].Fov, -myNear, -myFar, true)) * Matrix4f(Quatf(m_eyeRenderPose[eye].Orientation).Inverted()) * Matrix4f::Translation(-headTrack);
The problem is, some of the apps are using for example a near clipping plane of say 500 or 1000 with objects draw with very large scales
The head or eye position needs to be scaled to match.
How can I do this? What is the correct maths.
All forum topics
Previous Topic
Next Topic
2 REPLIES
2
cybereality
Grand Champion
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
03-31-2015
11:34 AM
Can you scale your world/objects? I believe the scale is supposed to be 1 unit = 1 meter (at least in Unity).
dukey
Honored Guest
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
03-31-2015
11:52 AM
I am not using unity, and scaling the world will introduce normal scaling issues.
Post Reply
Related Content
Depth API and Occlusion not working after the March 14 Unity SDK Update
in
Unity Development
yesterday
Unable to create Developer Account (Email Address Issue)
in
Other VR Development
yesterday
Ring Finger Displacement Issue in Hand Grabs – Interaction SDK 72.0.0
in
Unity Development
yesterday
Update oculus quest to v74 makes app crash
in
Unity Development
yesterday
Critical Issue: VR App Running in Windowed Mode and Crashing After v74 Update
in
Unreal Development
Thursday