Grasshopper

algorithmic modeling for Rhino

I am not sure where to post this, either better to be solved by VB, Plugins, or Native components….

I am working on an animation. Ive tried both Giulio Piacentino’s script and Centipede. However I run into the same problem- 

The animation I am working uses many sliders to manipulate many aspects of different  geometries (in ways that remapping values would not work). 

I have set up a sample solution- that I was thinking useful- however I am wondering if there is a better way to do this for animation since the solution doesn’t really work as a time line.

Views: 11665

Replies to This Discussion

Nice work!

Still it's a pity you cannot move more than one slider at a time (unless you're using hardware sliders or some other fancy solution).
I guess a simple workaround/addition could be something like this:

add border conditions and you could record each slider 'motion' separately and then offset the result to control the overlapping of multiple effects.

---

love the c# snippet btw, this should be gh default

so interesting your work Andrew 

congrats 

This is great for recording skeletal movement with the kinect, btw

Hi Andrew, it has been sometime since this post, so here's hoping you can assist me with your definition.

I have followed the video tutorial you provide for the definition you created, replacing your box with my geometry and I am coming up with an error on the interpolate component, which now reads "insufficient vertices for a curve".

I have replaced all the "old" components with one exception being the "snip" component you created.

I have in addition begun adding vray components which may be where the issue is arising, or the fact that I am working with multiple geometries as apposed to one as in your example.

As soon as I move the first slider the interpolate component gets the error message. If you have any insight to my issue I would appreciate it. I have attached an image of my definition.

Thank you.

Attachments:

OK, figured that one out. My apologies for the bother :)

Thanks everyone. 

 I got bits and pieces from everyones responses and sutured a solution that I think is working well

(I will post the set up of this definition when the animation is done compiling)

I started with the slider recorder script Andy wrote. except I am using a firefly counter instead of a slider to advance the animation. I am using that same firefly counter to advance the frames Giulio’s animation script. 

Giulio’s script needs a timer to run it- so I synched the timer to the firefly counter and the animation script. 

Output rendering is happening in Vray. 

Super fun!

And here is how the script looks. (Ive included the chunk of the final) script that deals with the animation. 

In case you were wondering- I am just rendering ambient occlusion, so no materials were used.

(Just dirt map in MTL override)

Attachments:
Nice work!!

Thanks!

Here are a couple of additional snippets that I added in to control camera for the animation (also controlled by counter)

(camera far and camera close are just point XYZ i manually inputed the camera coordinates I set up in my active viewport- I know there are fancier ways to do this, but the idea was to use my saved views and create a path along where my camera can move)

Maybe you can use timeline application for processing with osc stream

http://www.drifkin.net/timeline/

also there is the same tool  for vvvv, also with osc stream which you can use

I've stuble upon this one

http://www.duration.cc/

Its the OSC timeline solution. I tested it with firefly osc listener, working good. There is an option for curves and for swiches in time. LFO too, but I prefer LFOs from touchdesigner really.

What I am not sure is how to render the animation.. And of course when I use it live it freeze, because of the processing power, but it good place to start..

Hi Monique,

You can do this with the Interpolation components in the SPM Vector Components add on. Admittedly, it's a bit tricky to set up, but the basic idea is to extend the idea of a keyframe to many sliders. You set up your geometry with all your sliders, then input a series of slider configurations at specific points in time (basically a mapping of R -> R^n). The component then interpolates the data smoothly over the whole time slider.

With this technique you can actually interpolate not just over time (1d) but any number of sliders (2 or 3d proximity, color, etc...).

Here's a video that show a very basic implementation...http://vimeo.com/23699024.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service