Results 1 to 5 of 5

Thread: drawing cube with LWJGL

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2011
    Posts
    11

    drawing cube with LWJGL

    is there(LWJGL) any command that draw cube like glutSolidCube in glut?

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2011
    Location
    NY
    Posts
    20

    Re: drawing cube with LWJGL

    glutSolidCube[radius]
    glutWireCube[radius]

    This is the command used in open gl for drawing cube

  3. #3
    Junior Member Newbie
    Join Date
    Jan 2011
    Posts
    11

    Re: drawing cube with LWJGL

    i knew that but i want command that work in java with LWJGL that have no glut

  4. #4
    Senior Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Karachi, Pakistan
    Posts
    810

    Re: drawing cube with LWJGL

    Quote Originally Posted by D3GAN
    i knew that but i want command that work in java with LWJGL that have no glut
    It shouldn't be too difficult to roll in your own cube function.
    Regards,
    Mobeen

  5. #5
    Junior Member Newbie
    Join Date
    Jan 2011
    Posts
    11

    Re: drawing cube with LWJGL

    yes but when you use glut func you dont have any concern about normalize and texture mapping glut handle it for you ...
    for example when you draw a teapot with glut and wanna map some texture on it you should only bind your texture before glut function call...

Similar Threads

  1. LWJGL Spotlight only drawing half the light
    By blizzblang in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 06-05-2015, 02:08 PM
  2. Drawing half spheres in java/lwjgl
    By IpwndU in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-13-2011, 11:08 AM
  3. cube mapping in LWJGL
    By D3GAN in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-02-2011, 01:19 PM
  4. Drawing a Cube
    By GosuDrew in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 06-17-2005, 09:36 AM
  5. Drawing a cube
    By Libby in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-21-2002, 07:48 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