Donut Shape Model
Anyone who knows how to create a donut-shaped model in my program? I.e. how to calculate vertexes, normals and texture coordinates.
/* Johan Lindqvist */
well, u might consider using quadrics, and discs, or a few cylinders. or import the torus(donut) from an ase/asc/3ds.
i choos ase file.
i choos ase file.
Try This:
Edited by - oglman on October 21, 2000 1:29:29 PM
#include [glut.h]
.
.
.
glutSolidTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings);
Edited by - oglman on October 21, 2000 1:29:29 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement