Jump to content

Blender - Array along Curve


larmannjan

Recommended Posts

I am mainly a blender users. I would like to start using Houdini. It's procedural and non-destructive workflow is very appealing to me.

For my first day in Houdini I would like to re-create something procedural I did in blender using modifiers.

I have a piece of tiling geometry, it is a section of a stone wall.

 

cNoNt3V.png

 

I would like to array this wall along a curve. Also I would like to project the curve onto a piece of terrain.

 

b2AHuGv.png

 

I am not expecting anyone to solve this problem for me. But I wouldn't mind some hints on how to approach this problem.

Link to comment
Share on other sites

I have attempted to solve this problem. Here is my progress so far.

 

G2z4p6a.png

 

I have some questions so far:

 

1. I am using an instance node to duplicate along a curve. I can set up individual point to duplicate to but how can I just give it a number of copies I want and a distance to put between the two?

 

2. when I imported my model into houidini as an obj it was quite large and I scaled it down to 0.2 in the pre-transforms tab, In the render the array show up fine, in the viewport it does now why?

Link to comment
Share on other sites

Starter attached. Unfortunately I missed your wip, so I made it from scratch from your first post, which might not be relevant to you anymore. As to distances between copies, you need to resample the curve to fit instance's size. This example follows pure sop approach, but this is instance-like procedure, simple different flaviour.

 

hth,

skk.

wall_starter.hipnc

Link to comment
Share on other sites

Thanks for the reply and the hip file symek. Your method is almost perfect. The one problem is that the wall is not deformed as it is following the path. 

 

jir6fuc.png

 

I would like the wall to be stretched and bent according to the path.

 

EvB31UU.png

 

Also here is the wall .obj if you are interested.

 

 

bricks_single_uved1.rar

 

 

Edited by larmannjan
Link to comment
Share on other sites

Check the axis of your object before it goes into the deformer. You may need to pop a transform node before the deformer and rotate and center it before deforming it.  I made that asset awhile ago.  Can't quite remember all the particulars.  If I have time tonight I will see if I can work up a quick example for you.

 

-Adam

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...