|
-
Apr 27th, 2002, 11:26 AM
#1
Object Primitive Algorithms
I'm currently learning Direct3D in C++ and I was wondering if anyone could supply me with algorithms that create the vertices (positions and normals) for simple 3d objects like cubes, spheres, cylinders and such. It's very messy to create a cube by hand, and I don't get the normals right anyway.
I'd like C++ code best, but VB code or just an algorithm description is also ok.
Thanks in advance
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|