Instance On Curve

Plugins linking to this thread: (hide)

Generate Instance On Curve 1.3Author: Julien Carmagnac
Updated June 2013 (info) — Based on a part of the »Create Copies along Curve« Compound of Felix Geremus, I try with this tool to cover many possible situation as possible with copies on curves. It work with multiple curves, even merged, and generate as many point cloud as necessary. We can easily edit all of then with the Multi Edit PPG.

The 1.2 update adds these new features and functions: Exposed »accuracy« parameter Adjust scale with real space in X,Y Or Z Delete Last Instance on open Curve Delete Neighbors with distance Random scale on X,Y,Z independently Offset scale on X,Y,Z independently Create from preset Save preset Randomize Update instances

Demonstration videos available here (V1.0) and here (V1.1) and here (V1.2).

Note that the download in the first post of the si-community thread isn't the most current version. Look further down in the thread to find it.

local backup: InstanceOnCurve_v1.3.xsiaddon

julca
Posts: 144
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 17 Feb 2013, 09:06

Hello Falam,

The "delete neighbors" is already inside the Instance on curve compound :
neighbor.jpg
I have also provided it separately for another use than "Instance on Curve" plugin.
You do not have the required permissions to view the files attached to this post.

Zafar Iqbal
Moderator
Posts: 169
Joined: 26 Oct 2009, 10:04

Re: Instance On Curve

Post by Zafar Iqbal » 04 Apr 2013, 21:33

Dayum - I stumbled upon the video on Vimeo. This is such nice work.

A colleague at a clients place made a Unity script to do similar stuff a while back, and it made me wish I could have something similar in XSI. I've previously done a number of racetracks (in v7 days) and back then it was all manual work. Was OK but not as quick or elegant as this solution allows.

:ymapplause:
- Zafar Iqbal

julca
Posts: 144
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 05 Apr 2013, 03:24

Thank you :) .

It is always good to know that the time spent creating a tool is useful to someone.

User avatar
Rork
Posts: 1300
Joined: 09 Jul 2009, 08:59
Location: Close to The Hague, Netherlands

Re: Instance On Curve

Post by Rork » 05 Apr 2013, 09:50

Woot!

Nice new features on this one!
Big thanks for sharing this again with the community, much appreciated! :-bd

rob
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ

rmelville
Posts: 3
Joined: 24 Apr 2013, 07:29

Re: Instance On Curve

Post by rmelville » 24 Apr 2013, 20:25

Great plugin! I'm having issues with orientation when I try to instance in a radial pattern. Some of the object orientations are flipped. Is there a simple way to unify orientation?
You do not have the required permissions to view the files attached to this post.

julca
Posts: 144
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 25 Apr 2013, 19:13

Hello rmelville,

Thanks and you're right there is an orientation problem on radial pattern.

You can set this branch on your ICE Tree below the instanceOnCurve compound.
You need to know the center position of your radial pattern.

On the example below I create a cluster with center from the points selection of my curve.
And I use its global position.
quick_correct_orientation.jpg
I hope it will help you.
You do not have the required permissions to view the files attached to this post.

julca
Posts: 144
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 03 May 2013, 23:17

Hello !

Here you can download the InstanceOnCurve_v1.3 :
This version fixes problems with instances orientations especially those on a radial pattern.
You do not have the required permissions to view the files attached to this post.

rmelville
Posts: 3
Joined: 24 Apr 2013, 07:29

Re: Instance On Curve

Post by rmelville » 04 May 2013, 19:57

Thanks for the 1.3 update. Works beautifully!

rmelville
Posts: 3
Joined: 24 Apr 2013, 07:29

Re: Instance On Curve

Post by rmelville » 10 May 2013, 08:35

Is there a quick way to convert these point cloud instances to poly mesh so they can be exported to different apps?

julca
Posts: 144
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 11 May 2013, 15:20

There are alerady some tools to convert a point cloud to a mesh object :

http://www.si-community.com/community/v ... =15&t=1579 (it's free)
or
LKL Mesher : "Turns any pointcloud into a mesh with control over resolution and instance-meshes." (http://leonardkoch.com/lklightning2-0changelog)

User avatar
druitre
Posts: 459
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 10 Sep 2013, 16:19

Hi,

with this technique, is it possible to place lights along curves as well? So far, I can't get the compound to pick up on something other than mesh objects or nulls.

-Jasper

julca
Posts: 144
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 10 Sep 2013, 18:43

Hello,

Yes you can place lights along curves.
It work like other objects, even if lights are displayed with nulls.

User avatar
druitre
Posts: 459
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 10 Sep 2013, 19:08

I tried and it doesn't work, could that be due to me not using mental ray? I'm rendering with redshift (and using redshift lights).

julca
Posts: 144
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 10 Sep 2013, 20:18

It's possible but I can't test it now.
Could you test it in mental ray first and then with redshift ?

User avatar
druitre
Posts: 459
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 10 Sep 2013, 21:10

Hi julca, I'll do a test next week, won't be back at my computer till then. Thanks for the replies.

User avatar
druitre
Posts: 459
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 23 Mar 2016, 11:42

Hi Julien,

back once more :) with a question (I hope you still visit this forum...): can your addon also work without creating subcurves/pointclouds first? I have a curve that is extracted from a series of polyislands, so when i run 'instance on curve', I get a whole bunch of subcurves with a pointcloud each. Then, when i want to do further work on the created instances and transfer the result (through Alembic) to Clarisse, I have to first merge all the pointclouds. In my case, it's hundreds of subcurves/pointclouds and I have to do a clone point on each one.

If it would be possible to have just one pointcloud created by your addon that would help me tremendously! Or ofcourse, a way to transfer the data from all of those pointclouds into one efficiently would be great as well.

Thanks,
Jasper