Page 1 of 1
Scaling up a small object makes distorted geometry on export
Posted: Thu Jan 07, 2016 3:40 pm
by ababak
Please have a look:
http://www.maxwellrender.com/forum/view ... 37&t=44104
Although my problem is solved I still think it's an exporter bug.
Thanks
Re: Scaling up a small object makes distorted geometry on ex
Posted: Fri Jan 08, 2016 10:39 am
by Mihnea Balta
This is a precision problem. The numbers representing the vertex positions are too small to be represented exactly. Maya uses 64-bit floating point numbers for positions, which still offer good precision at that small scale, but Maxwell uses 32-bit precision because it is the most efficient format both speed-wise and memory-wise. This is why the object looks fine in the Maya viewport, but it's broken when rendered. It's not something we can fix without slowing down the engine.
Re: Scaling up a small object makes distorted geometry on ex
Posted: Fri Jan 08, 2016 12:15 pm
by ababak
Yes, but Fire works fine. Can the exporter handle that special case and propagate the scaling to group objects?
Re: Scaling up a small object makes distorted geometry on ex
Posted: Fri Jan 08, 2016 3:47 pm
by Mihnea Balta
FIRE and the main render use different code for voxelization, so maybe that's why FIRE is less affected by precision issues in this particular case. Anyway, I'll take a closer look to make sure precision is indeed the culprit here.