Boris Zhu

zhutianci123456

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Why my object seem lost details in perspective view? 2022年11月17日1:18

I downloaded a houdini file from a youtube tuturial. but when I open it, it seems like my object lost many details. is that some view options that I forget to enable? the fist photo is mine, the second phote is capture from video [www.youtube.com].

@P.y -= number (vex)didn't work 2022年10月15日21:59

BabaJ
In your second point wrangle node you're attempting to use a detail attribute named 'minHeight' which doesn't exist as a detail.

So with no actual detail attribute it reads back 0. So subtracting 0 doesn't change anything.

The previous point wrangle node you have it set to run over points so the attribute 'minHeight' gets created as a point attribute, not a detail attribute.

So you'll want to change the nodes run over parameter to detail in order that in the next wrangle node you have that detail attribute available.

thanks, after i change to
setdetailattrib(0, "minHeight", minHeight, "set");
, it works.

@P.y -= number (vex)didn't work 2022年10月15日9:03

I wanted all points of my objects minus min height of the point of the object, so it can move to the grid. but apparently, it didn't work.

fist point wrangle
vector p = point(0, "P", 0);
float minHeight = p.y;
int numberOfPoint = npoints(0);
for(int i = 0; i < numberOfPoint; i++) {
    p = point(0, "P", i);
    if(minHeight > p.y) {
        minHeight = p.y;
    }
}

f@minHeight = minHeight;

second point wrangle

float minHeight = detail(0, "minHeight");

@P.y -= minHeight;