Jump to content

IFD API


Recommended Posts

Hi!

 

To write a custom IFD generator I'd like to know if there's a C++ library for generating IFDs?

 

Or at least some better references than within the documentation to get some more details on how to fully describe geometry etc.. Right now writing out IFDs and look inside to see what properties can and need to be defined.

 

Thanks a lot!

 

 

Nhat

 

 

 

Link to comment
Share on other sites

Geometry inside IFD files is represented as standard bgeo object either ascii or binary, so once you know these, you know how to save geometry. Other than that, I don't think you'll find much help in that department, because semi-private status of IFD files isn't accidental afaik considering Mantra comes with Houdini for free. You may also take a look into SOHO python module and its documentation in HDK, The intended way of writing custom IFD generator, is to create standalone application linked with HDK, which gives you access to any Houdini node, so you have like hscript but specialized to your needs. This would require hbatch license per every instance of your custom binary though, and this is why IFD  is not public (like RIB standard). You can obviously hack it easily, but it hardly be production reliable plugin for 3d app of your choice.

 

You may also take a look into contrib section of Cortex library which has an experimental implementation of custom exporter for Mantra.

Link to comment
Share on other sites

  • 2 weeks later...

Hey guys! Thanks so much for your input!

Yes I looked into the mantra commands but couldn't find enough details about the IFD format. I've manually created some IFDs for which I knew the details of the geometry and used that as a starting point. I don't plan to render super complex geometry this way (not even speaking of FX), but rather render additional elements to our CG.

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