Results 1 to 8 of 8

Thread: newell's teapot

  1. #1
    Guest

    newell's teapot

    Hi,
    i'm trying to write a ray tracer in openGL, and i was wondering if anyone here can post a link to a triangle data file for newell's teapot.

    thanks in advance.
    Dan

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Dec 2007
    Posts
    1,077

    Re: newell's teapot

    So you want to program a raytracer in opengl? How is that done?

  3. #3
    Guest

    Re: newell's teapot

    well, it doesn't really have to be in opengl, but i needed a way to output images pixel by pixel onto the screen. opengl's prolly the best and easiest way to do so, with glDrawPixel.

    as for the ray tracing, just plug in the equations to intersect spheres and triangles, apply the lighting formulae, and you got yourself a ray traced image.

    i just need a model to ray trace, but i'm dont know much on how 3d model formats are stored, so i was hoping for a raw data file of surface triangle vertices...

    otherwise, if anyone can post links to how to parse popular 3d model file formats, i'd appreciate that too.

    Dan

  4. #4
    JasonM [ATI]
    Guest

    Re: newell's teapot

    Have a look at Steve Baker's Teapot FAQ

    -Jason

  5. #5
    Senior Member OpenGL Pro
    Join Date
    Dec 2007
    Posts
    1,077

    Re: newell's teapot

    After all, ATI has a contributor here!!! Cool.

    Hi Jason...

  6. #6
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: newell's teapot

    The Bezier patches data is freely available in the glut_teapot.c source code of the GLUT library implementation.

  7. #7
    JasonM [ATI]
    Guest

    Re: newell's teapot

    >After all, ATI has a contributor here!!! Cool.

    I'm not the only one. Dave Gosselin and Dan Ginsburg are here as well.

    -Jason

  8. #8
    Senior Member OpenGL Pro
    Join Date
    Dec 2007
    Posts
    1,077

    Re: newell's teapot

    And somebody on the advanced board stated ati would have bad service.

Similar Threads

  1. ugly teapot
    By exstud in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-26-2012, 01:42 PM
  2. teapot isn't rendered
    By vivendi in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 01-22-2012, 11:41 AM
  3. Newell's method to get Normal of polygon?
    By mini3D in forum OpenGL: General
    Replies: 2
    Last Post: 05-10-2011, 08:23 AM
  4. Creating teapot more than once
    By Orange_82 in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 06-03-2004, 12:21 AM
  5. Creating teapot more than once
    By Orange_82 in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 06-01-2004, 08:50 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