[Sidefx-houdini-list] HDK: New SOP and Volumes
tamis.vanderlaan at bisc.nl
Mon Jun 23 15:27:04 EDT 2008
Thnx for the help, yes i already found out about GEO_PrimVolume and
It took a while (a weekend) before it hit me that a volume is just a
primitive type and that's why i didn't find it in the geometry detail
Going to read about templates tonight see if i can input my own
VoxelArray into my volume primitive :P
thnx a bunch, Tamis van der Laan.
>You want to look at GEO/GEO_PrimVolume.h and UT/UT_VoxelArray.h. These
have the volume representation.
On Mon, 2008-06-23 at 12:32 +1000, Drew Whitehouse wrote:a
> Hi Tamis,
> Heres a simple one that I hacked up a while back. It will read raw byte,
> short and float volume files from a file and produce a volume primitive. It
> uses the 3rd party package blitz++ which may be a bit inconvenient (worth
> the effort though if you're playing with lots of volume data), but it should
> be enough to get you started, after that it's a case of reading the relevant
> HDK .h files. The important bit is in the SOP_RawVol::cookMySop method.
> On Sun, Jun 22, 2008 at 9:29 AM, Tamis <tamis.vanderlaan at bisc.nl> wrote:
> > Hello,
> > I am wondering if any one have made a SOP_Node that contains Volume
> > data?
> > If i look at gdp i can see some volume related methods like:
> > addVolumeRef()
> > convertVolumesToPolys()
> > ect..
> > But i have yet to find a method that allows me to access volume data or
> > create it.
> > Has any one played with this?
> > It would save me a lot of effort :D
> > Greetings,
> > Tamis van der Laan.
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
More information about the Sidefx-houdini-list