To conserve memory, mental ray deals with 32-bit floats for all floating point data (transforms, positions, uvs, etc), wether on a 32-bit or 64-bit system. This gives you roughly seven digits of precision and no more.
I've been pushing for transforms, at least, to be treated as doubles, which would give about 15 digits of precision. That may actually show up in the future (fingers crossed) but currently you're limited to what's there.
- ½
aah, yes, in softimage they are,
but when exported to mental ray, they are loosing precision some times.
I want to make it consistent so less rig evaluation problems, aka rigs in renders being displaced
when sending to the farm. instead of 0.80000000 -> 0.8e1 etc.
O.
----- Original Message -----
Sent: Tuesday, July 17, 2007 3:58 PM
Subject: RE: adding precision to renders
Are you sure the problems are down to accuracy? I think you’ll find that although the numbers in the ppgs look lo res, the actual numbers are full floating point.
Try this:-
SetValue("cube.cube.length", 8.00000000000001, null);
logmessage( getValue("cube.cube.length" ) );
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Oliver Heijmans
Sent: 17 July 2007 20:13
To: XSI(at)Softimage.COM
Subject: adding precision to renders
How do you get XSI mental ray to add more precision like 8 digit numbers
so renders are more accurate, and you eliminate problems. (so rigs are evaluated more precisly )
Before plotting or creating Mi's .
Is there a way to add that to your scene. In certain packages you can add precision by adding an attribute.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by
MailScanner, and is
believed to be clean.