I need to draw 3d projections and I use the opengl wrapper for JAVA. Problem: - how to set the viewpoint in java opengl (for example, I want my program to draw an object on the screen, as if I was looking at this object from (0,0,0)) - how to set the perspective point (point in 3d, where the title is drawn, for example, I want the program to be able to draw an object on the screen, as I look from (0, 0, 0) to (1, 1, 3))
I am familiar with the mathematical problem of this question, so I calculated all the coordinates for the perspectives. I just need the opengl java function or a function that can draw these new coordinates in the perspective I want.
HELP !! :)))
shake source
share