Hi everyone !
I am working on how to dump the shading grid. I follow the dumpgrids.c
from Matt Pharr, but I found that when I try to output some polygon
models from maya, Prman will show a memory error, I check the output
data, lot's of 0.000000, even NaN floating number, there must be some
wrongs in this progress. But if I convert the models to subdivide
surface, that everything is good, no lot's of 0.000000, no NaN, but if
I do like this, I will not get the original models, so How should I
dump grid from prman correctly ?


|