Jump to content

bgeo support in a custom importer for another software


Recommended Posts

I just finished writing a custom obj importer in C++ for another software, I used some free source code for reading the obj files, and it was a wonderful and educational experience, partly because the source code was organized so well. There were methods for loading the geometry file, querying the number of vertices and faces, texture coordinates, etc, and it was pretty easy to complete.

Now like to add bgeo support. I'm impressed with the bgeo plugin for maya, from http://www.houdinistuff.com, however I need it for another software(not maya). So far, it looks like my options are using the opensource GPD library, or including from the HDK, or trying to modify some code from the Disney partio opensource project.

I tried the GPD library first, but it seems the code is so old, there were several error messages, and I'm not sure if its worth troubleshooting that if there's another easier way.

If I were to use the opensource GPD library or include from the HDK, would it work using Visual Studio 2008? The rest of the project is in VS 2008, so if I have to use VS 2005 to work with the HDK or GPD, I don't quite understand how I'd integrate the two. I'm trying to figure out from what angle to start approaching this. My first step is to get something working at all with reading bgeos and querying the geometry info, so if anyone can point me in the right direction, I'd appreciate it!

Link to comment
Share on other sites

  • 2 months later...

I just finished writing a custom obj importer in C++ for another software, I used some free source code for reading the obj files, and it was a wonderful and educational experience, partly because the source code was organized so well. There were methods for loading the geometry file, querying the number of vertices and faces, texture coordinates, etc, and it was pretty easy to complete.

Now like to add bgeo support. I'm impressed with the bgeo plugin for maya, from http://www.houdinistuff.com, however I need it for another software(not maya). So far, it looks like my options are using the opensource GPD library, or including from the HDK, or trying to modify some code from the Disney partio opensource project.

I tried the GPD library first, but it seems the code is so old, there were several error messages, and I'm not sure if its worth troubleshooting that if there's another easier way.

If I were to use the opensource GPD library or include from the HDK, would it work using Visual Studio 2008? The rest of the project is in VS 2008, so if I have to use VS 2005 to work with the HDK or GPD, I don't quite understand how I'd integrate the two. I'm trying to figure out from what angle to start approaching this. My first step is to get something working at all with reading bgeos and querying the geometry info, so if anyone can point me in the right direction, I'd appreciate it!

Here is a working solution for Studio 2005, 2008 and 2010 .

http://forums.odforce.net/index.php?app=core&module=attach&section=attach&attach_id=11538

With the GPD lib you are not bound to any compiler but with hdk you have to match the houdini compiler which is the compiler from VS2005 on windows.

It is possible to use the VS2005 compiler under VS2008 and VS2010 if you want to use the modern IDE ..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...