Results 1 to 3 of 3

Thread: Help please

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

    Help please

    Hi all!
    I'm a beginner. Would someone show me how to create a cone (30 degree) and what I must do to make it sweeps 30 degree left/right/up/down.

    Thank you

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Help please

    Glut has a command glutSolidCone and glutWireCone.

    glut_____Cone( base, hight, slices, stacks)

    You can adjust the base hight ratio to get the angle you want.

    Slices and stacks are how many parts that cone is divided into, the more of each the rounder the cone looks


    Originally posted by Dxxv:
    Hi all!
    I'm a beginner. Would someone show me how to create a cone (30 degree) and what I must do to make it sweeps 30 degree left/right/up/down.

    Thank you

  3. #3
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    653

    Re: Help please

    draw it on a piece of paper and see if you can figure out the trig for it... you should get it ok.

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