Sign in to follow this  
EddHead

Mobile Java 3D View Matrix, Immediate mode

Recommended Posts

EddHead    140
I would like to know how to set up the Camera Axes using look and eye point only, i found this Axes Setup zaxis = normal(look- Eye) xaxis = normal(cross(Up, zaxis)) yaxis = normal(cross(zaxis, xaxis)) View Matrix xaxis.x yaxis.x zaxis.x 0 xaxis.y yaxis.y zaxis.y 0 xaxis.z yaxis.z zaxis.z 0 -dot(xaxis, eye) -dot(yaxis, eye) -dot(zaxis, eye) 1 but it doesnt seem to help, can anybody help me with some code sample or links to get forward. thanks in advance!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this