Richard Brak

Krabr

About Me

Expertise
Not Specified
Location
Australia

Connect

Recent Forum Posts

Changing the grain shape to a custom geo March 30, 2018, 5:51 p.m.

Hi Ambake,
One way to try solve the problem is to write some Vex. Assuming the grapes are sphere primitives your could use the point cloud of the points in the centre of each sphere, get the distance to the nearest neighbours and then set the pscale attribute (if you are using copy-to-points) to scale the sphere down to a radius that does not exceed the distance to the nearest neighbour.

You might be able to achieve the same result using two nested for-each nodes and use the measure node to get the distances. I haven't tried that so not 100% sure it can be done that way.

Richard.

How to create Point cloud from objects for instancing March 16, 2018, 8:09 p.m.

Hi McKormick,
I am not sure if you can get that sort of info from an fbx export (but would like to know), thus I think you would have to do some preparation in Modo first. For example replace all the instances in modo by some object (a point or null) such that when you fbx export they become points (or other identifiable) objects in Houdini. Export the geometry of the object that is being instanced in modo as a single object. Back in Houdini you will then have to set up the instancing manually: read in the single object with a file node (then pack it if its high polys and going to be instanced a large number of times), read in the instancing points and then copy-to-points etc.

Richard.

Setting the Camera near/Far clipping for render time only? March 15, 2018, 9:11 p.m.

Not sure if you are aware but you can create a Reference copy (right click on node > Actions >Create Reference Copy) which duplicates the camera node and links *all* then channels to the original. Then delete the channels from the clipping plane parameters etc.

Cheers,
Richard.