[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

General and basics doubts in Opengl using VC++ win32 console application

I have to draw cylindical objects in 3D space opengl window...
I have used GLUT software kit
1, How to define the  X,Y,Z axes?
2, Range of X,Y,Z axes.... 1 unit = how many pixels?...
    1, What is gluortho() and viewport () commands doing....?
3, what is the orientation of X,Y,Z axes  with respect to Screen?
4,what is the command for Joining two objects
5, gluTranslatef command is used to move the object or move the cursor position......
If possible Give me a example code in C++ using GLUT and explain these terms.......
Awaiting for reply.....



0
jsbsudha
Asked:
jsbsudha
1 Solution
 
fridomCommented:
How about starting with a  decent book or tutorial
Please check out 'OpenGL Programming Guide', from Addison-Wesley
and it's surely worth to have a look at the nehe tutorial:
http://nehe.gamedev.net/

and maybe the freeglut project:
file:///usr/share/doc/freeglut3-dev/index.html

and this may give you some other good hints
http://www.euclideanspace.com/software/games/twod/openglcpp/index.htm

Regards
Friedrich
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now