Results 1 to 7 of 7

Thread: level

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2002
    Location
    mumbai, maharashtra, india
    Posts
    4

    level

    hi friends of mine out there

    im am a totally newbee around here very new to opengl

    can you help me in the code for loading a 3d studio max level in opengl

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2002
    Location
    St. Louis, MO USA
    Posts
    177

    Re: level

    You read the file format, extracting vertices, texture coordinates, normals, and other data. You store the data and send it to OpenGL through glDrawElements, glBegin/glEnd, etc. There is no automagic way to load any particular 3d file format with OpenGL, if that's what you're looking for. If you're a newbie, you should probably start with something simpler.

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2002
    Location
    mumbai, maharashtra, india
    Posts
    4

    Re: level

    thank you ioquan for the support

    than according to you... where show i start with as i am a new bee

  4. #4
    Senior Member Regular Contributor
    Join Date
    Mar 2001
    Posts
    184

    Re: level

    OpenGL is used for drawing points, lines and polygons. since all of these (and much more!) are stored in a 3DStudio file, OpenGL can be made to display them (with a litle help from you, the coder).

    you'll want to have a good grasp on reading and parsing binary files. it also helps to understand how to read file specifications. go to wotsit to get the .3DS file specs. after reading the specs, you'll find out that deep in the .3DS file there are chunks which hold the vertex positions of all the vertices of the object(s). this is the data that OpenGL needs to display the object.

    I glossed over MANY issues that you'll run into when loading a .3DS file (textures, keyframes, etc.) search the forum for more helpful tips. good luck.

    b

  5. #5
    Senior Member Regular Contributor
    Join Date
    Nov 2001
    Posts
    104

    Re: level

    Hardbond, also if it would be great if all would be so easy, it isn't, so you shouldn't think you could make your own Quake like shooter from one day to the next . How ever, there are very many examples in the internet available. A good start up is for example NeHe, simply search on google or so for "opengl+tutorials" and you will for sure find a bunch. Later you can check out NVidia's SDK then for special effects and other more complex stuff.

    BlackJack

  6. #6
    Junior Member Newbie
    Join Date
    Jun 2002
    Location
    mumbai, maharashtra, india
    Posts
    4

    Re: level

    thanks very much friends

    you all are of great help

  7. #7
    Junior Member Newbie
    Join Date
    Jun 2002
    Location
    mumbai, maharashtra, india
    Posts
    4

    Re: level

    friends

    how would it be with the use of third party
    engines?

    can you suggest any such engines. what do you recommend me

Similar Threads

  1. Level editor
    By jonny2027 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 06-20-2013, 12:46 PM
  2. Level of Details (LOD)
    By pramod in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-21-2007, 06:54 AM
  3. Level Design
    By Malakai2007 in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 11-29-2005, 09:48 AM
  4. 3d level editor
    By soconne in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-14-2003, 05:30 AM
  5. Level of implementation?
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 09-16-2002, 10:25 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