F e z

F e z

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Skills

Availability

Not Specified

Recent Forum Posts

VEX transform matrix from 4 vectors (frame + translation) 2015年4月24日20:37

{} array does not take variables. Use set() instead

pcopen in cvex 2015年4月4日18:26

Instead of inputpath you can use “opbj/geo1/OUT_PC_LOOKUP” instead. The principal should be the same no matter what contex you are. I use that inside DOP where I cannot rely on input connections to lookup pointcloud

pcopen in cvex 2015年4月1日1:43

Is this what you are after?


int handle = pcopen(1, “P”, @P, 0.2, 2);
// 0.2 is radius
// 2 is maxpoints

if (pcnumfound(handle)>0) {
vector nor = pcimportbyidxv(handle, “N”, 0);
vector pos = pcimportbyidxv(handle, “P”, 0);

vector dir = normalize(v@P - pos);

if (dot(dir, normalize(nor)) > 0.9) {
//do something here…..
}
}