Kalina Posted August 25, 2014 Share Posted August 25, 2014 I currently am using a File SOP and a GEO_IOTranslator to read in a custom data file. However, I'd like the user to be able to edit some parameters when reading in the file, so I would like to create a custom File-like SOP. How would I go about doing this? I'm trying to create a SOP based on SOP_Star.C, but that's probably not the best resource. How do I load and read a file? Could you point me at some examples to look at? Quote Link to comment Share on other sites More sharing options...
edward Posted August 26, 2014 Share Posted August 26, 2014 You just supply parameter for the file and read it into the native geometry data structures as you've already done with your custom GEO_IOTranslator. Here's one random example I picked off from the Cortex project http://cortex-vfx.googlecode.com/svn-history/r5001/trunk/src/IECoreHoudini/SOP_InterpolatedCacheReader.cpp 1 Quote Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.