[ODE] Presentation and question - READ THIS

DjArcas djarcas at hotmail.com
Sun Jul 6 01:50:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0098_01C34341.F5F168C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm not sure you should reset the FP accuracy like that - D3D might then =
start exhibiting problems.=20

Adding the D3DCREATE_FPU_PRESERVE flag to a CreateDevice() call means =
that D3D will drop down to low accuracy for all it's internal stuff, =
then it puts it back when it's finished. I've no idea what will happen =
if you force it to be high.

I really think the best idea is to pop something in the wiki area saying =
'If you are using Direct3d, use this flag, otherwise ODE will be =
unhappy, with the symtpom of NOT A NUMBER in the position/velocity of =
objects'


As an aside - it works again! *does the happy dance*

----- Original Message -----=20
From: "Erwin de Vries" <erwin@vo.com>
To: <ode@q12.org>
Sent: Saturday, July 05, 2003 9:56 PM
Subject: Re: [ODE] Presentation and question - READ THIS


> > I agee. I don't think you should add code to ODE that has the =
purpose to
> avoid
> > a bug/feature in a certain graphics api.
>=20
> This is pretty sure to happen on any windows based rendering platform. =
Some
> OpenGL drivers are simply a layer on top of d3d. If ode would require =
full
> fpu precision i would consider it a valid option to set it manually. =
In my
> applications i know i have problems sometimes, but i go through hoops =
to
> 'fix' them (and successfully). If these can be solved by simply =
setting FPU
> precision it would be a much easier solution.
>=20
> Or we could place it in the wiki area. Anyone has code for this?
>=20
> Erwin
>=20
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
> 
------=_NextPart_000_0098_01C34341.F5F168C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>I'm not sure you should reset the FP =
accuracy like=20
that - D3D might then start exhibiting problems. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Adding the =
<STRONG>D3DCREATE_FPU_PRESERVE</STRONG>=20
flag to a CreateDevice() call means that D3D will drop down to low =
accuracy for=20
all it's internal stuff, then it puts it back when it's finished. I've =
no idea=20
what will happen if you force it to be high.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I really think the best idea is to pop =
something in=20
the wiki area saying 'If you are using Direct3d, use this flag, =
otherwise ODE=20
will be unhappy, with the symtpom of NOT A NUMBER in the =
position/velocity of=20
objects'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>As an aside - it works again! *does the =
happy=20
dance*</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>----- Original Message ----- </FONT>
<DIV><FONT face=3DArial size=3D2>From: "Erwin de Vries" &lt;</FONT><A=20
href=3D"mailto:erwin@vo.com"><FONT face=3DArial =
size=3D2>erwin@vo.com</FONT></A><FONT=20
face=3DArial size=3D2>&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>To: &lt;</FONT><A =
href=3D"mailto:ode@q12.org"><FONT=20
face=3DArial size=3D2>ode@q12.org</FONT></A><FONT face=3DArial=20
size=3D2>&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Sent: Saturday, July 05, 2003 9:56 =
PM</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Subject: Re: [ODE] Presentation and =
question - READ=20
THIS</FONT></DIV></DIV>
<DIV><FONT face=3DArial><BR><FONT size=3D2></FONT></FONT></DIV><FONT =
face=3DArial=20
size=3D2>&gt; &gt; I agee. I don't think you should add code to ODE that =
has the=20
purpose to<BR>&gt; avoid<BR>&gt; &gt; a bug/feature in a certain =
graphics=20
api.<BR>&gt; <BR>&gt; This is pretty sure to happen on any windows based =

rendering platform. Some<BR>&gt; OpenGL drivers are simply a layer on =
top of=20
d3d. If ode would require full<BR>&gt; fpu precision i would consider it =
a valid=20
option to set it manually. In my<BR>&gt; applications i know i have =
problems=20
sometimes, but i go through hoops to<BR>&gt; 'fix' them (and =
successfully). If=20
these can be solved by simply setting FPU<BR>&gt; precision it would be =
a much=20
easier solution.<BR>&gt; <BR>&gt; Or we could place it in the wiki area. =
Anyone=20
has code for this?<BR>&gt; <BR>&gt; Erwin<BR>&gt; <BR>&gt;=20
_______________________________________________<BR>&gt; ODE mailing =
list<BR>&gt;=20
</FONT><A href=3D"mailto:ODE@q12.org"><FONT face=3DArial=20
size=3D2>ODE@q12.org</FONT></A><BR><FONT face=3DArial size=3D2>&gt; =
</FONT><A=20
href=3D"http://q12.org/mailman/listinfo/ode"><FONT face=3DArial=20
size=3D2>http://q12.org/mailman/listinfo/ode</FONT></A><BR><FONT =
face=3DArial=20
size=3D2>&gt; </FONT></BODY></HTML>

------=_NextPart_000_0098_01C34341.F5F168C0--