[Sidefx-houdini-list] PC cache from Mantra into SOP space?
jiversen at rhythm.com
Mon Aug 18 14:20:46 EDT 2008
I've found that if you write your point cloud in world space, it behaves
as expected when I import it into SOPs.
Pout = ptransform("space:camera","space:world", P);
Nout = ntransform("space:camera","space:world", nN);
rval = pcwrite(fname, "interpolate", 1,
attrname, attrval );
Mario Marengo wrote:
> On Saturday 16 August 2008 11:33:36 pm Peter Bowmar wrote:
>> So, trying to load in a PC file written from a pcwrite() in mantra, into
>> It all works except it's in the wrong space :(
> Hey Peter,
> Hard to tell what might be going on without knowing the transformations used
> when writing out the cloud...
> I just did a quick test writing with both camera->world and camera->object and
> reading back into both an unparented object and one parented to the camera
> respectively, and it all seems to line up.
> Why do you need the optransform() again? (remember that a camera->object
> transform at the pcwrite() call should give you this implicitly -- basically
> saying "put it where it came from"... unless I'm misinterpreting what you
is this awesome? (y/n)
More information about the Sidefx-houdini-list