modeling

Hi all,

Anyone have any simple code of creating an aircraft. Please help me.

Thanks in advance.

Code to create an airplane…

If you mean procedurally generated models, you’ll need to apply LOTS of HIGH LEVEL math and a ton of other stuff.

If you don’t, you’re really in the wrong forum; look for something on modelling.

to make models like that… you should use a 3d modeler and than learn how to render that type of file…

There is a glut fonction to create an aircraft.
The aircraft somehow looks like a tea pot, anyway.

rixed!
Would you be more specific, please? I’m in hurry to complete this assignment.

Thanks

void MyglutAircraft(GLfloat wingspan, GLfloat length, GLfloat circumference)
{
#ifdef PLANE_TO_TEA
glutWireTeapot((GLdouble)(wingspan/length*circumference));
#else
printf("No Plane to Teapot Conversion available
");
#endif
}

There are two way’s you can go about it.

One is find a 3D model of a aircraft, then look for a the code needed to load that model format. Lot’s of pre drawn 3D model’s on the net, just do a search.

If you don’t want a very complex or detailed aircraft, then just a few openGL primitives should be able to create a simple one…

Originally posted by newbieGL:
[b]Hi all,

Anyone have any simple code of creating an aircraft. Please help me.

Thanks in advance.[/b]