PDA

View Full Version : a graduated sphere capable of rotating



serbet
05-09-2003, 03:51 AM
I want to simulate a cockpit instrument: an ADI(Attitude Direction Indicator) of a flight system.
The instrument has a sphere with graduations showing the heading(direction__north, south, east, west), the pitch(the angle to the ground or heaven) and ....

How to texture the graduations on the sphere?

Is there an example I can use? You can send a site name where I can get useful information.
Thank you.

nexusone
05-09-2003, 04:53 AM
It is called texture mapping, you create the graduated image for you sphere in a paint program.

Then apply it to the sphere, on my website I have a example of a textures sphere and texture loading.
www.angelfire.com/linux/nexusone/ (http://www.angelfire.com/linux/nexusone/)

also
nehe.gamedev.net is a good source opengl examples.



Originally posted by serbet:
I want to simulate a cockpit instrument: an ADI(Attitude Direction Indicator) of a flight system.
The instrument has a sphere with graduations showing the heading(direction__north, south, east, west), the pitch(the angle to the ground or heaven) and ....

How to texture the graduations on the sphere?

Is there an example I can use? You can send a site name where I can get useful information.
Thank you.