Hello,

Ákos Balázs wrote:
> On Tue, May 5, 2009 at 12:32 PM, Gerrit Voß <[email protected]> wrote:
>> On Tue, 2009-05-05 at 07:28 +0200, Christoph Schäfer wrote:
>>> recently I ran into a problem after compiling OpenSG2 for the x64
>>> plattform. I get a debug assertion in
>>> OSGDrawable_d.dll!OSG::exactinit()  line 730 when I try to run any
>>> example drawing anything. The examples not drawing anything work fine...
>>> Any ideas? I used x64 dependencies for the build, so this should not be
>>> the problem.
>> looks like we run into the following (from msdn):
>>
>> On the x64 architecture, changing the floating point precision is not
>> supported. If the precision control mask is used on that platform, an
>> assertion and the invalid parameter handler is invoked, as described in
>> Parameter Validation.
>>
>> I'll see that I can make sure it is not used for x64.
> 
> the exactinit() stuff is only used by the tessellator so it shouldn't
> matter too much. But since it's been there for quite a while (AFAIK
> Carsten ported the NURBS-stuff to OpenSG2 sometime end of last year) I
>  wonder why noone was hit by this before.

hm, 64 bit windows still seems to be quite rare...

> I also wonder then how can
> you set your fp precision preferences in 64 bit mode. :)

it seems on windows the answer is "you can not", at least that is how I 
read:
<http://msdn.microsoft.com/en-us/library/c9676k6h(VS.80).aspx>

<quote>
On the x64 architecture, changing the floating-point precision is not 
supported. If the precision control mask is used on that platform, the 
invalid parameter handler is invoked, as described in Parameter Validation.
</quote>

:(

Ákos, can you share a bit information about the impact of this for the 
NURBS tesselator? How important is it that it can control the use of 
excess floating point precision?

        Thanks,
                Carsten


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to