Skip to main content
GameDev.net gamedev.net
🔒 Locked

Two Problems on OpenGL Programming

Started by skyx May 10, 2003 at 1:58 AM 2 replies 350+ views
Original Post
skyx
skyx
1)How to get the size of screen or window in OpenGL,and when the origin of coordinate changes at z axis,how the visible area on screen change? 2)Is there a easy method to draw a ball with OpenGL? Thanks! [edited by - skyx on May 10, 2003 3:12:31 AM]
A Beginner!Nice to talk with you!
Sneftel
Sneftel
1. Er... not sure what you''re asking here. You know the extents, because you set them with glViewport and the matrices.

2. Yeah, check out the glu quadrics functions.


How appropriate. You fight like a cow.
skyx
skyx
Thank you!
A Beginner!Nice to talk with you!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.