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 3 of 3

Thread: Cpw, SOLIDCUBE appears to be a WIRECUBE.

  1. #1
    Intern Contributor
    Join Date
    Dec 2001
    Posts
    93

    Cpw, SOLIDCUBE appears to be a WIRECUBE.

    --------------------------------------------------------------------------------
    Hi Jim,
    Found something you might want to see while I was playing around with Primitives... The solid cube appears to be wire frame.

    Here is my code (Nice and Simple):

    cpwSetPrimitiveOpt( cpw, CPW_PRIMOPT_SIZE, 3.0f );
    cpwDrawPrimitive( cpw, CPW_PRIM_3D_SOLIDCUBE );

    Also, what is a TEAPOTAHEDRON??? It appears to look just like a SOLIDTEAPOT.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    133

    Re: Cpw, SOLIDCUBE appears to be a WIRECUBE.

    I'll test this and get a fix in if needed. thanks! In response to your other question - follow the link to read some history..

    case CPW_PRIM_3D_SOLIDTEAPOT:
    case CPW_PRIM_3D_TEAPOTAHEDRON: /* http://www.sjbaker.org/teapot/ */
    cpw_primitives_3d_teapot( 10, ctx->scale, GL_FILL );
    break;
    --
    Jim Mathies http://www.mathies.com/

    \"The best way to predict the future is to invent it."

  3. #3
    Junior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    133

    Re: Cpw, SOLIDCUBE appears to be a WIRECUBE.

    The latest downloadable source has this fixed plus a number of other minor fixes too.

    Regards,
    Jim
    --
    Jim Mathies http://www.mathies.com/

    \"The best way to predict the future is to invent it."

Posting Permissions

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