Results 1 to 3 of 3

Thread: draw a line on a cube

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2009
    Posts
    14

    draw a line on a cube

    hi

    I want to draw a line on a cube like this image .But i'm having only two vertex for line ...

    [img]http://cid-6a2ae6c2240ebc3b.skydrive...album/line.bmp[/img]

    help regarding this..

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2009
    Posts
    171

    Re: draw a line on a cube

    i) glScissor(not sure as i m beginner and jumping and jumping)
    ii) Texture which have line made by hand(read texture mapping and some few tutorial lie on net for that)
    haven't made a game [img]<<GRAEMLIN_URL>>/frown.gif[/img]

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2009
    Posts
    14

    Re: draw a line on a cube

    hi,

    its a line vertex while drawing i want to cut as line in the cube ,showing the depth..

Similar Threads

  1. Replies: 0
    Last Post: 11-03-2014, 08:11 PM
  2. how to draw a line ?
    By Coming from afar in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 04-20-2014, 03:08 PM
  3. draw line, line-size ... opengl 3.3 ?
    By CarstenT in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-28-2014, 08:19 AM
  4. about draw 2d line
    By Barbary in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 03-01-2005, 11:10 PM
  5. how can I draw more than one line??
    By MOON-GIRL in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 12-04-2002, 06:07 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