View Full Version : SDK get particle uvw coords.

11 November 2010, 09:59 PM
I am trying to get uvw coordinates from particle flow using the sdk. I'm only interested in getting the coords assigned with the mapping / mapping object operators at this point. Here is what I have so far, the problem is the "chan" variable is always NULL :banghead: . There is little to no information out there and I am really stuck. Any help would be great, thanks.

IPFSystem* psystem = PFSystemInterface(node);

ObjectState os = node->EvalWorldState(time);
IParticleObjectExt* part;
part = GetParticleObjectExtInterface(os.obj);
part->UpdateParticles(node, time);

IParticleGroup* group = ParticleGroupInterface(part->GetParticleGroup(particleindex));
IObject* cont = group->GetParticleContainer();

IParticleChannelMeshMapR* chan = GetParticleChannelMeshMapRInterface(cont);


CGTalk Moderation
11 November 2010, 09:59 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.