Advertisement

depht

Started by March 26, 2001 08:36 AM
1 comment, last by Sylviana 23 years, 7 months ago
Hi, I want a very big cube(with a lot of details) (192 points in one side) in my scene and it''s necessary that I have a good view on the cube. So I used a translation of -120.0 in the depht. When I run the program, OpenGL just draw the pixels close to the viewing point, he doesn''t show the whole cube. What can I do to see the whole cube ? Thanks, Sylviana
I don''t know what ''gluPerspective'' is set,
i think it is set on "far" to 100.0f, change it to 120.0f
I don''t know if it success, but try it.
Advertisement
yep, sounds like ur cube is out of the viewing volume. If you are using perspective, set the volume PAST 120. Try something along the lines of 300. Is the FRONT of your cube at 120, or the back? Either way, set the viewing volume deeper "into" the screen.

-Alex
www.a-tronic.com

This topic is closed to new replies.

Advertisement