Results 1 to 2 of 2

Thread: Source code

  1. #1
    Guest

    Source code

    Hi,

    I'm looking for some source code for a basic ferris wheel.

    Or failing that just a wheel rotating. I'm guessing this can be very easily done in Opengl. But hey, I'm new.....

    cheers

  2. #2
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    warren pa
    Posts
    22

    Re: Source code

    hey,
    for simple rotating objects like wheels try:

    glRotatef(5.0f,0.0f,1.0f,0.0f); 1 Y
    glRotatef(5.0f,1.0f,0.0f,0.0f); 2 X
    glRotatef(5.0f,0.0f,0.0f,1.0f); 3 Z
    (use only one version, each is for a different perspective)

    have fun
    -bobert

Similar Threads

  1. Help me source code
    By xuantuan93 in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 11-18-2013, 02:32 AM
  2. Source Code
    By nacira in forum OpenGL: General
    Replies: 0
    Last Post: 12-29-2011, 05:58 AM
  3. Source Code
    By dark_os in forum OpenGL: General
    Replies: 4
    Last Post: 12-25-2007, 07:05 AM
  4. GLX 1.3 source code
    By Hummer in forum OpenGL: General
    Replies: 0
    Last Post: 11-01-2002, 12:11 PM
  5. I need the source code...please
    By in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-06-2000, 09:19 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