Results 1 to 2 of 2

Thread: parametric 3D curves

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2001

    parametric 3D curves

    How to draw three dimensional parametric curves in such a way that we can view the 3D shape of the curve, i.e. if drawing a helix, see a helix not just a projection of it on a 2dimensional plane?

    The curve is specified by three equations x(t),y(t),z(t) where t is the parameter.

    I used glvertex3f, glortho, etc, but can only obtain 2D views of the curve.

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2001

    Re: parametric 3D curves

    Please don't cross post over both beginners and advanced forum.

    I think what you're looking for is gluPerspective. Using glOrtho will give you orthographic projection ie no perspective.

    Note that we are still stuck to 2D projection since we don't have 3D screens. What gives the impression of the third dimension is
    1/ perspective
    2/ shading
    3/ movement

    Even with orthographic projection, if you rotate your curve, you will "see" that it is 3D.
    If using perspective projection, drawing a bounding box around your curve should increase the 3D impression.

Similar Threads

  1. Parametric model of a sphere
    By Lee_Jennifer_82 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 01-16-2016, 07:30 PM
  2. Help in drawing a parametric surface
    By jenny_wui in forum OpenGL: General
    Replies: 3
    Last Post: 12-14-2010, 10:18 PM
  3. Parametric equations and Cartesian coordinates
    By Capagris in forum OpenGL: General
    Replies: 1
    Last Post: 03-30-2009, 12:08 PM
  4. Should i use from the parametric equations?
    By ehsan2004 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 05-22-2005, 08:02 AM
  5. Parametric Shapes, and Tangent Space
    By laeuchli in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 02-11-2003, 02:10 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