creating repeating instance shapes along a curve
creating repeating instance shapes along a curve
Hi I'm a bit of a newbie when it comes to ice but trying to learn some more.
I'm making a fence maker compound that puts instance shapes along a curve. I've got everything working and the shapes follow the tangents of the curve but I can't figure out how to get repeating shapes from an instance shape node sampling a group of objects.I can only get it to kind of work by using a randomise around value. But it won't let me pit in an array into the input as it requires per object or per point. I've got the array list repeating by getting the number of points indices and then running that through a modulo to get a repeating pattern array based on the number of objects in the group.... But it won't let me plug it in
Can anyone help me out?
I'm making a fence maker compound that puts instance shapes along a curve. I've got everything working and the shapes follow the tangents of the curve but I can't figure out how to get repeating shapes from an instance shape node sampling a group of objects.I can only get it to kind of work by using a randomise around value. But it won't let me pit in an array into the input as it requires per object or per point. I've got the array list repeating by getting the number of points indices and then running that through a modulo to get a repeating pattern array based on the number of objects in the group.... But it won't let me plug it in
Can anyone help me out?
Re: creating repeating instance shapes along a curve
so you're stuck at the repeating part ? it's a tricky one, but if you want to go further you'll have to manage sampling uniformly the curve, then more difucult would be sampling on subcurves... and for that a small compound from EM_Tolls works beautifully (emTool _ Get Position on Curve).
Here is a scene https://drive.google.com/file/d/0B1K5Lo ... sp=sharing showing you a compound example creating instances (or strands) along curve AND subcurves.
Attached here a screenshot
Can you share a screenshot of you're to better understand the problem ?
Here is a scene https://drive.google.com/file/d/0B1K5Lo ... sp=sharing showing you a compound example creating instances (or strands) along curve AND subcurves.
Attached here a screenshot
Can you share a screenshot of you're to better understand the problem ?
Re: creating repeating instance shapes along a curve
Thanks very much for the quick help Nnois. Unfortunately were on XSI 7.01 at work and I couldn't find a version of Emtools that works with v7 .
But I did take your advice and learned something from it .And then I realised that randomize value by range was a compound so I went inside and rummaged around and found how it spat out per point data .... and voila ! I managed to get it working .So Im quite chuffed with myself. Now I've just got to explore the SDK a bit to find where it stores the transform data for each particle and clone out the original objects with Python which shouldnt be too difficult.
I will take a look at your compound when Im at home to see how you handle subcurves.
Thanks again
But I did take your advice and learned something from it .And then I realised that randomize value by range was a compound so I went inside and rummaged around and found how it spat out per point data .... and voila ! I managed to get it working .So Im quite chuffed with myself. Now I've just got to explore the SDK a bit to find where it stores the transform data for each particle and clone out the original objects with Python which shouldnt be too difficult.
I will take a look at your compound when Im at home to see how you handle subcurves.
Thanks again
Re: creating repeating instance shapes along a curve
Manticor,
if you're still looking for ICE tool that uniformly distributes something along curve (or exactly, an array) that works with SI 7.01 - it is "mt strand fitting" node from mt strand tools, an early version of Helge Mathe's Melena. For small example, necklaces in this pic belongs to this ICE node. And many other things in my ICE life. I'll post setup and addon this evening ( now it's 12 AM here), if you will not found something else in meantime. Setup is 'adaptive', by defining the radius of one pearl, ICE fills an appropriate number of particles along curve.
if you're still looking for ICE tool that uniformly distributes something along curve (or exactly, an array) that works with SI 7.01 - it is "mt strand fitting" node from mt strand tools, an early version of Helge Mathe's Melena. For small example, necklaces in this pic belongs to this ICE node. And many other things in my ICE life. I'll post setup and addon this evening ( now it's 12 AM here), if you will not found something else in meantime. Setup is 'adaptive', by defining the radius of one pearl, ICE fills an appropriate number of particles along curve.
Re: creating repeating instance shapes along a curve
Hey Mathaeus thanks for the heads up .
I would be very interested in the strand tools addon if you have it.I cant seem to find it on the web .
Great image by the way , love the style
I would be very interested in the strand tools addon if you have it.I cant seem to find it on the web .
Great image by the way , love the style
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: creating repeating instance shapes along a curve
I think Mathaeus means the mt_strandnodes addon. Search for "mt_strandNodes" or better still the "ICE Tutorials" (IIRC it includes the mt_strandnodes and lot of additional goodies) over at rray.de, but make sure you get them from rray's "local backup" as the external links probably won't work anymore. I believe you wrote somewhere you're on 7.01. That's good because I think this wasn't really compatible with SI2010 and onwards.
Stay safe, sane & healthy!
Re: creating repeating instance shapes along a curve
Woah!! I think I remember seeing that, but still not any less blown away (!)Mathaeus wrote: necklaces in this pic belongs to this ICE node.
Re: creating repeating instance shapes along a curve
I also recall a duplicator that could do that, not sure if it worked under V7, I'll look around and repost.
Re: creating repeating instance shapes along a curve
wow so much help .thanks guys
Re: creating repeating instance shapes along a curve
there's mt strand nodes 2.6 addon in attach - this one works with SI 7.01 or 7.5. Setup for distributing different instances on curve is here. Perhaps you'd like to take look at setup, as "mt strand fitting" samples an array of positions, not curve itself, so there's need for few steps to get the complete thing form curve to instances. Of course install the plugin before do anything with setup.
If you'll need variances, like different instances of different size or like, don't hesitate to ask.
If you'll need variances, like different instances of different size or like, don't hesitate to ask.
- Attachments
-
- mt_strandnodes.rar
- (113.51 KiB) Downloaded 93 times
Re: creating repeating instance shapes along a curve
many thanks matheus .This is a great help.
Who is online
Users browsing this forum: No registered users and 20 guests