[MINC-users] convert mesh from VTK to .obj
Simon Fristed Eskildsen
se at hst.aau.dk
Mon Oct 8 08:54:07 EDT 2007
Hi Defeng,
parse.bin is compiled on a pentium4, and it works also on pentiumM.
What CPU are you using?
What is the output of
cat /proc/cpuinfo
uname -a
strace ./parse.bin
I have compiled it on a pentium3 as well. Maybe that works for you:
http://www.hst.aau.dk/~se/software/parse.p3fc2
Simon
dfwang at cse.cuhk.edu.hk wrote:
> Hi, Simon,
>
> Thanks for your reply. Yes, my VTK mesh is in triangular.
>
> My linux system is CentOS 4.4. I downloaded your small parser just now, and
> changed the mode by
>
> chmod a+x parse.bin
>
> then run parse.bin, I got the following error,
>
> Floating point exception
>
> Could you please tell me how I can run it successfully?
>
> Best wishes,
> Defeng
> Quoting Simon Fristed Eskildsen <se at hst.aau.dk>:
>
>> Hi Defeng,
>>
>> If you're dealing with triangular mesh and pure ascii, you can try my
>> small parser found here:
>> 32bit linux: http://www.hst.aau.dk/~se/software/parse.bin
>> 64bit linux: http://www.hst.aau.dk/~se/software/parse.bin64
>>
>> Also, more information about the .obj format can be found here:
>> http://wiki.bic.mni.mcgill.ca/index.php/ObjectFiles
>>
>> Simon
>>
>> Defeng WANG wrote:
>>> Dear MINC Users,
>>>
>>> I have one mesh in VTK format at hand, and would like to convert it into
>> the
>>> .obj format in MINC. Which tool can do this? Or any suggestions on the way
>>> to convert it?
>>>
>>> Many thanks!
>>> Defeng
>>>
>>>
>>> _______________________________________________
>>> MINC-users at bic.mni.mcgill.ca
>>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
>
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
More information about the MINC-users
mailing list