Results 1 to 6 of 6

Thread: looking for a simple sphere .obj file

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2012
    Posts
    6

    looking for a simple sphere .obj file

    hello, im trying to build a simple 3d model of our solar system useing JOGL.
    i allready wrote a parser that can read .obj files and create arrays of vertexes and normal for me and i can allready draw the 3d object to the screen.

    now all i need is the object, and getting it has turned out to be harder i thought, (tryied to google it from every direction),

    so can anyone here help with that ?
    what i need is a really basic and simple sphere, no texture or anything fency..

    thanks

  2. #2
    Senior Member Regular Contributor
    Join Date
    Nov 2010
    Location
    Brazil, Rio de Janeiro
    Posts
    147

    Re: looking for a simple sphere .obj file

    If you are able to read vertices and normals why are you having trouble on reading the list of indices?

  3. #3
    Senior Member OpenGL Pro Ilian Dinev's Avatar
    Join Date
    Jan 2008
    Location
    Watford, UK
    Posts
    1,294

    Re: looking for a simple sphere .obj file

    There; radius 1.0f ; with texcoords and normals:
    http://dl.dropbox.com/u/1969613/openglForum/sphere.7z

    You can directly replace the texture with maps like:
    http://celestia.h-schmidt.net/earth-vt/

  4. #4
    V-man
    Guest

    Re: looking for a simple sphere .obj file

    I suggest that you download Blender.
    Model a sphere with it and export to OBJ format.

  5. #5
    Senior Member Regular Contributor
    Join Date
    Mar 2003
    Location
    Los Angeles
    Posts
    374

    Re: looking for a simple sphere .obj file

    Why don't you just use the gluSphere routine?
    Am I doing your homework for you?

  6. #6
    Junior Member Newbie
    Join Date
    Jan 2012
    Posts
    6

    Re: looking for a simple sphere .obj file

    Quote Originally Posted by Ilian Dinev
    There; radius 1.0f ; with texcoords and normals:
    http://dl.dropbox.com/u/1969613/openglForum/sphere.7z

    You can directly replace the texture with maps like:
    http://celestia.h-schmidt.net/earth-vt/
    great !, thats exactly what i was looking for,
    many thanks to you and everybody else how tryied to help.

    i will definitelly check out blender and the gluSphere solution as well,

    in the meantime i created a model of an icosahedron to use when the planets are far from the camera (calulated manually all its 20 faces, it took a while ...)

Similar Threads

  1. Problems with simple OpenGL (core) file
    By AleaIactaEst in forum OpenGL: Basic Coding
    Replies: 10
    Last Post: 08-16-2011, 04:11 AM
  2. Simple Sphere and Cube
    By Zath in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-11-2006, 09:31 PM
  3. Replies: 9
    Last Post: 10-10-2003, 12:26 PM
  4. How to embedding a GLUT simple app into a class file
    By sandrew in forum OpenGL: Basic Coding
    Replies: 12
    Last Post: 03-17-2002, 10:23 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