Results 1 to 3 of 3

Thread: Newbie - need to draw a sheet with thickness

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2008
    Posts
    2

    Newbie - need to draw a sheet with thickness

    Hi,

    I am an experienced windows programnmer but new to OpenGL. To get a start on the application I want to write I need to draw a sheet of wood in 3D and then be able to rotate it arbitrarily. I want to start with an orthographic view for simplicity and move to a perspective view later. I want to draw this using GL_QUADs - is that a good approach? How do I get thickness? When I rotate a single layer (no thickness) in the Z axis it becomes distorted. If I try to rotate in X or Y it disappears...

    Can anybody point me to some resources or even some sample code to get me started?

    -James Leonard

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    744

    Re: Newbie - need to draw a sheet with thickness

    http://nehe.gamedev.net this will get you started.
    In general you get thickness by making a flat box(using six quads).

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2008
    Posts
    2

    Re: Newbie - need to draw a sheet with thickness

    Hi,

    I am reading NeHe now. I made the mistake of jumping ahead before so I have a windows app that 'sorta' works but I obviously don't have enough grounding to even make simple changes predictably.

    Thanks for your reply,

    -James Leonard

Similar Threads

  1. sprite sheet
    By pbivens in forum OpenGL: Basic Coding
    Replies: 10
    Last Post: 09-21-2018, 07:22 PM
  2. How can I draw two objects? (Newbie)
    By TheFearlessHobbit in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 03-30-2017, 01:14 PM
  3. Cheat sheet for OpenGL functions
    By J-Tek in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-14-2002, 05:57 PM
  4. how to get the control points for twisted sheet
    By ym in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-17-2001, 06:40 PM

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