[Bug 22918] Ship Simulator 2008 demo crashes on startup (needs D3DXCreateSphere, D3DXCreateCylinder, and D3DXCreateTeapot)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 18 14:18:13 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22918





--- Comment #19 from Misha Koshelev <misha680 at gmail.com>  2010-07-18 14:18:12 ---
Trying to make progress on D3DXCreateTeapot.

So far, unsure if I must:
a) use original Newell dataset to reproduce Teapot or
b) use D3DXCreateTeapot, output indices and vertices created, make an include
file (or other file), and use this to reproduce the teapot

I am trying to compare Newell teapot to MS.

Unfortunately, I am not having much luck.

I will attach relevant code. However, at the moment, I am simply using these
three coordinates from Newell:
 * 1.4,0.0,2.4
 * 0.84,-1.5,2.4
 * 3.1,-0.66,0.825

I am simply trying to find points in the vertices returned by D3DXCreateSphere
with equivalent ratios of _some_ coordinate (x, y, or z, I am not assuming, and
only looking at the x coordinates above).

I am using an epsilon of 0.0001f to compare the ratios. Unfortunately, I am not
having much luck.

Again, I will add code to this bug (it is modified from functions on
www.directxtutorial.com) as well as dataset I am using.

Any ideas/hints appreciated.

Also, any ideas whether I need to do this or can simply do option b) above -
create include files via D3DXCreateTeapot - much appreciated.

Thank you
Misha

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list