instbldrjems
20-02-2009 17:13:12
Hi --
When I convert my meshes to XML using the CommandLine tool I've noticed that some meshes are getting exported with use32bitindexes set to "false" and some with it set to "true". This is affecting mesh selection in my engine, where those with use32bitindexes set to false are picked fine using RayCastFromPoint and display their bounding-box OK (basic code being used can be found elsewhere in these Forums), while those with it set to true won't select. I realize that how I pick my meshes is outside of the scope of this forum, but I was hoping to find out what defines whether that parameter is set to "true" or "false" in the mesh file, and if I can control that in oFusion. BTW I am using oFusion Pro 1.9.38, and MAX 2009. It seems like those meshes with the parameter set to true are significantly more dense than others, which would make sense -- is that the reason? Does oFusion use some polygon threshold to decide when to set use32bitindexes to true?
Any help on this would be greatly appreciated.
Thanks.
When I convert my meshes to XML using the CommandLine tool I've noticed that some meshes are getting exported with use32bitindexes set to "false" and some with it set to "true". This is affecting mesh selection in my engine, where those with use32bitindexes set to false are picked fine using RayCastFromPoint and display their bounding-box OK (basic code being used can be found elsewhere in these Forums), while those with it set to true won't select. I realize that how I pick my meshes is outside of the scope of this forum, but I was hoping to find out what defines whether that parameter is set to "true" or "false" in the mesh file, and if I can control that in oFusion. BTW I am using oFusion Pro 1.9.38, and MAX 2009. It seems like those meshes with the parameter set to true are significantly more dense than others, which would make sense -- is that the reason? Does oFusion use some polygon threshold to decide when to set use32bitindexes to true?
Any help on this would be greatly appreciated.
Thanks.