D3DXCreateTeapot and reverse engineering?

Misha Koshelev misha680 at gmail.com
Sun Jul 18 13:05:28 CDT 2010


Dear All:

I just wanted to double check before I do anything with
D3DXCreateTeapot.

I have several options for implementing this:

Option A
--------
One, the slightly harder option, involves the original dataset:
http://www.sjbaker.org/teapot/teaset.tgz

Option B
--------
Another, much simpler method, would be to:
a) Call D3DXCreateTeapot
b) D3DXCreateTeapot returns a vertex and index buffer
c) I can easily use these to create a header file that _exactly_
reproduces the vertices and indices created by Windows.

My question: is Option B allowed, and if not, why not?

Thank you
Misha

p.s. This is for this bug:
http://bugs.winehq.org/show_bug.cgi?id=22918




More information about the wine-devel mailing list