ros888

ros888

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Use prim attributes in resample sop parameter expression? Jan. 7, 2009, 8:04 p.m.

Graham- you are a God like genius, thanks very much! Does exactly what I was looking for

Use prim attributes in resample sop parameter expression? Jan. 6, 2009, 7:48 p.m.

Is there no-one that can shed some light on this? I've been stuck on this for two days now… PLZ HALP! :cry:

Use prim attributes in resample sop parameter expression? Jan. 4, 2009, 7:09 p.m.

Hello,

I'm having trouble using & referencing primitive attributes in an expression for a resample sop node and I was wondering if anyone could give me some help or pointers please.

I have a piece of geometry with 52 individual prims and each prim has its own attribute (say the prim's area from a measure sop). I want the “Segments” parameter of the resample sop to use each prim's “area” attribute for its value- i.e. each prim will have its own individual segment value that's calculated from its area attribute.

I've tried using hscript & python but I just can't seem to reference prim attributes… I've tried lvar(), curPoint().attribValue(), even basics such as $PR etc. but nothing seems to work & I'm out of ideas- lil help please!

Thanks in advance.


PS: Kinda unrelated but is there any way of seeing, using or customising the source code for a houdini node so that I could try making a new operator type to do the above?