Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Construct complex Objects

  1. #1
    Intern Newbie
    Join Date
    Aug 2001
    Location
    Germany
    Posts
    47

    Construct complex Objects

    I want to know how can I build complex Objects, (to type in the Vertices can't be the solution).
    May you can give me a good example for these Problem....

    cu
    ByteZero

  2. #2
    Guest

    Re: Construct complex Objects

    ah, well....
    either you load them from a file (3ds or similar) or you use algos to create them.
    objects like spheres, cubes, cylinders are easy to make (some basic sin/cos stuff). for really complex objects it's best you do them using splines. that is, store some keypoints, interpolate through them on a spline and save the vertices between the keypoints. on that way you also can control how fine your object is by adjusting in how many steps you interpolate between the points.
    well, creating the faces then is some tricky thing so good luck. actually I never really did all that by myself, but it will work if you manage it to make it run.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •