Y Zhu

yongningbrg

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Copy and append primitives from one GU_Detail to another May 3, 2011, 1:50 p.m.

Hi,

I need to copy and append primitives from one GU_Detail to another, and I'm using GU_Detail::appendPrimitive(type, source_primitive), but that doesn't seem to copy the existing geometry.

Could some one please give some suggestion?

Thanks!

Yong

Accessing multiple input context geometry in a POP Node? April 29, 2011, 3:41 p.m.

Thanks, Mark!

I am doing

OP_Context sopContext(t);
GU_Detail *dfil = (GU_Detail*) node->getCookedGeo(sopContext);
if(!dfil){
addError(POP_NO_SOP_DETAIL ,“Could not get the detail from the specified sop ”);
return error();
}
myGuide->duplicate(*dfil);

It doesn't always display myGuide until I refresh the node, but seems yours is better.

Accessing multiple input context geometry in a POP Node? April 26, 2011, 8:55 p.m.

Hi,

I am writing a POP Node, that generates & drives particles with a velocity field. This field is based on some other reference geometry. I'm having two inputs for my pop network: the particle source and the reference geometry, and now inside the network, I have a POP, how can I access the reference geometry(second input in the pop network) in that POP node (e.g. when cookPop-ing)? Also, this reference geometry is not necessarily related to particle, it is just one or a few nurbs.

Thanks!

-yong