pika Posted May 11, 2008 Report Share Posted May 11, 2008 hi all, is anyone know labview 8.2(or above) is compatible with the .obj format which imported from Poser 7? appreciate for your kind help.. cheers, Pika Quote Link to comment
Aristos Queue Posted May 11, 2008 Report Share Posted May 11, 2008 Not that I know of. The 3D picture control can load ASE geometries, VRML and STL geometries. I don't find anything in the online help about OBJ files. There might be a third party library written to display such files. You might search the web for such a thing. Quote Link to comment
Tomi Maila Posted May 11, 2008 Report Share Posted May 11, 2008 It seems that the obj files can be converted to stl files using this plugin. EDIT: However you may loose color information, I don't know. 3dsmax should be able to read the obj files and export ase files, at least according to this discussion. Quote Link to comment
vugie Posted May 13, 2008 Report Share Posted May 13, 2008 I've written a simple VI (attachment) to read OBJ files. Some features: reads triangles only (actually I don't remember how it behaves when it reaches quad - hope that ignores it) reads vertex information as well as normal and texture coordinates information when present reads objects and their names doesn't read faces groups (ignores commands) doesn't read material information doesn't check against any errors is almost not commentet generally works Because was not writing it for displaying purposes, I can't provide any example quickly, but it should be quite simple. There are some issues with normals handling because OBJ has one normal per face vertex, not for vertex itself. Any questions - ask. There is also C++ library libobj which may be wrapped in order to use with LV, but it uses callback so wrapper will take a little effort. Quote Link to comment
thang Posted May 16, 2008 Report Share Posted May 16, 2008 Hi Vugie, As I'm a beginner user of Labview. May I know how to read the obj file by using ur VI? actually i would like to display the .obj format that created by poser and display that file to perform the sign language. QUOTE (vugie @ May 12 2008, 03:35 PM) I've written a simple VI (attachment) to read OBJ files. Some features: reads triangles only (actually I don't remember how it behaves when it reaches quad - hope that ignores it) reads vertex information as well as normal and texture coordinates information when present reads objects and their names doesn't read faces groups (ignores commands) doesn't read material information doesn't check against any errors is almost not commentet generally works Because was not writing it for displaying purposes, I can't provide any example quickly, but it should be quite simple. There are some issues with normals handling because OBJ has one normal per face vertex, not for vertex itself. Any questions - ask. There is also C++ library http://www.cs.kuleuven.ac.be/%7Eares/libobj/index.html' rel='nofollow' target="_blank">libobj which may be wrapped in order to use with LV, but it uses callback so wrapper will take a little effort. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.