Hello Daniel,
Take a look at the cullvisitors members, there are functions like
getEyeLocal and so on. Maybe this can help you.
cheers
Sebastian
Hi Robert
Its not the ModelView Matrix of that I need, it is the ViewMatrix, since I want
to calculate the current eyepoint/direction in world coo
Hi Robert
Its not the ModelView Matrix of that I need, it is the ViewMatrix, since I want
to calculate the current eyepoint/direction in world coordinates.
Or is there a way to get to eyepoint by using the ModelView Matrix of the
cullvisitor? I'm not that strong in matrix math...
Regards
Danoo
Hi Danoo,
On 27 March 2013 07:32, Daniel Schmid wrote:
> The problem is, that in my calculations of my uniform, I need the ViewMatrix
> of the camera in world coordinates. When I get the viewmatrix of the current
> camera (which is the prerender camera) in my cull visitor, it get a identiy
> matr
Hi all
I have a prerender RTT camera that renders part of my scenegraph, and i set
reference_frame to RELATIVE_RF, the view direction of the camera is identical
to the main camera. The output of the prerender camera is then applied in a
postprocessing step. Everything works fine and is displaye
4 matches
Mail list logo