Results 1 to 5 of 5

Thread: Help me in doing advanced topics

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2001
    Location
    san jose,ca usa
    Posts
    16

    Help me in doing advanced topics

    Hi,

    Can anybody please let me know how to draw a 3d figure, say a shpere(not the inbuilt one), in case if I want to draw my own sphere or some 3d object then how should i proceed.

    Help me

  2. #2

    Re: Help me in doing advanced topics

    Just think of your figure as lots of vertices an pass them to opengl with glVertex3f(, forming polygons

  3. #3
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: Help me in doing advanced topics

    Hi !

    Take a look at the source code for OpenGL and see how they do it, either download the SGI sample OpenGL implementation or download Mesa and have a look at the gluSphere sorce code.

    Mikael

  4. #4
    Junior Member Newbie
    Join Date
    Nov 2001
    Location
    san jose,ca usa
    Posts
    16

    Re: Help me in doing advanced topics

    Hi,
    Thanks for your reply. Is ther any other way to rendera 3d object(i mean other than calculating all the vertices manually and so on).
    Or this is the only way of rendering 3d objects,

    help me guys
    mary

  5. #5
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Finland
    Posts
    17

    Re: Help me in doing advanced topics

    Well you could use some 3d modeller such as 3d studio or milkshape to create your 3d object, and then make proper file import code to extract vertices, texcoords, etc...

Similar Threads

  1. Replies: 0
    Last Post: 10-08-2017, 02:37 PM
  2. Topics for a doctor research
    By M/\dm/\n in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 07-18-2009, 07:53 AM
  3. Hot topics in OpenGL nowadays
    By M/\dm/\n in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 02-22-2009, 02:13 PM
  4. Can we add new topics to Wiki?
    By ehsan2004 in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 04-19-2006, 09:09 AM
  5. ARB topics?
    By ffish in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 12-12-2004, 06:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean