Jump to content

Labview compatible with .obj format from Poser 7?


Recommended Posts

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.