Robert Osborne

skara

About Me

Expertise
Technical Director
Location
United States of America
Website

Connect

Recent Forum Posts

Heightfields: Understanding the best way to interact with layers in a HF wrangle July 6, 2018, 4:15 p.m.

@jsmack - thx for the reply

I am trying to do this essentially

//bool for operation 
int success = 0;
string layerName = primattrib(0, "name", index, success);
@layerName = doSomeThingFancy();

A colleague suggested using the HF wrangle bindings tab, to autobind the @name values inadvance.
I will pursue that approach for the time being.

Would be nice to get equivalent of setpointattrib() for HeightFields.

Thanks,
R.

Heightfields: Understanding the best way to interact with layers in a HF wrangle July 4, 2018, 5:51 p.m.

Hi,

I am trying to modify layer values in a heightfield, but do not know the layer names up front. I get the names via the @name prim attribute. I would love to be able to use the @ syntax to set values in the layers from a derived layer name.

Setting @Derived_string_for_Layer = value obviously does not work. Is there a syntax I am unaware of to make this work?

Secondly using setpointattrib() which would allow me to work with derived attrib names in an attribute wrangle, does not work with HF from what I can see. Maybe I am just not using it correctly in HF wrangle. Could someone post an example that does work in HF wrangle? Or suggest best method to approach this type of issue when working with HF's. I would like to avoid OpenCL based kernel solution if possible.

Thanks,
R.

Outputing Terrain and point instances from HE into UE4 March 12, 2018, 2:55 p.m.

Hi Damien,

That worked correctly for me, once I moved the output to an object level instead of outputting at a SOP level.

Regards,
Robert.