heavenssake007
01-18-2009, 05:50 AM
Hello all,
I am quite new to opengl programming. I have one scene in which I render a cube at the right bottom side. Now I want to move the cube to the center without changing my view. I know it's possible to change the camera view and also the position of the object. But is it also possible to put somehow the object(cube,rectangle,sphere) from one place to another without changing the perspective?
Here is one example explaining my problem maybe in a more detailed way:
If I am sitting in a room on the right bottom side is a paper bin. From this position I am able to look inside the bin. Now I want to move this bin to the center, but keep the perspective that I still can look a little bit inside the bin.
Is there any possibility to do this with openGL?
I am thankfull for a little help.
heavenssake007
I am quite new to opengl programming. I have one scene in which I render a cube at the right bottom side. Now I want to move the cube to the center without changing my view. I know it's possible to change the camera view and also the position of the object. But is it also possible to put somehow the object(cube,rectangle,sphere) from one place to another without changing the perspective?
Here is one example explaining my problem maybe in a more detailed way:
If I am sitting in a room on the right bottom side is a paper bin. From this position I am able to look inside the bin. Now I want to move this bin to the center, but keep the perspective that I still can look a little bit inside the bin.
Is there any possibility to do this with openGL?
I am thankfull for a little help.
heavenssake007