Hi, your solution is correct.
I wrote some backround information about this topic:
- These values are hidden because they need to be system-intrinsic for fast performance
- You can use those values freely within the scene graph using
renderControlWithClientValues(or the according CameraController)
renderControl', which exposes the calculation of those trafos to the outside. Just do the same calculations in your model (in some "hacky" way) .This changes the performance of the system.
- Recommendation: Can you solve the problem differently? You should rarely ever need the trafos outside of 3d rendering, and if you do, it will probably have massive performance implications.
Please ask here if there are any more questions.