algorithmic modeling for Rhino

Hi I'm working on an animation in Rhino and Grasshopper. The animation requires two different colors of light, and needs to be rendered or screenshot of rendering view. 

However, the problem is, the geometry is in the grasshopper preview mode, which means it can't be rendered with colored lights. I tried to switch my rendering engine from V-ray to Rhino, the preview geometry can be rendered only with one light source, but not two. 

I'm wondering if I need to make an animation, is there anyway to preview the grasshopper geometry with colored light settings, or I have to bake and render frame by frame. Thank you. 

Views: 947


Replies to This Discussion

Grasshopper previews should be rendered using the Rhino lighting model in the current document. At least if you're in Shaded or Rendered mode. You'll have to add the light objects to the Rhino document though, as Grasshopper has no idea what lights are or how they ought to be used.

If everything can be hooked up to a single slider, you should even be able to generate the animation by animating the slider.

Made the following. Uses the new CustomDisplay features available in the latest Rhino WIP + GH. Good reason to try it out if you're not already. The animation was made using Rendered display mode and a groundplane with a material.


Hi David, thank you for you reply, it is very helpful. The only problem is that the old grasshopper material preview can only recognize one light source in Rhino, it seems the WIP + Gh would solve this problem, can't wait to try it.

For my problem I end up using V-ray to render the animation, which means I set up the frames and it bakes the geometries in frame, render it, delete it, then bake the next frame. 

There is a fairly simple way of dynamically baking geometry to a Rhino layer using the Human and/or Elefront plugins that I use all the time. It simply replaces the geometry any time GH recalculates. That way you can use any rendering plugin and all shading modes of Rhino, but still have everything update dynamically if you change things in Grasshopper, including animation.

Check my answer at the bottom here for the main part:

Obviously its not the most elegant solution, but it works surprisingly well.

Thanks Armin. I used this way of making animation. I didn't use Elefront this time, however it seems to be a fantastic plug-in. I used Dragonfly + VB to render animation automatically. 

Cool, yes there is countless ways to achieve this. I also exported animations using Anemone and some VB to export a .obj for each frame. Then I use a .obj sequence importer in Maya for setting up the animation and render it in Octane render. This works pretty well and if you have lots of objects its just so much faster. Also all the lighting setup, etc. is much easier in something like Maya or Cinema4D.

@David Rutten: How come the Rhino viewport is so slow with instances. Its crippling, even when they are instances of blocks. It just slows down so much. I mean even the render window of Octane is more fluid then the Rhino viewport. Isn't instancing the most widly used thing to speed up rendering?

Oh that's awesome, never thought of using maya or Cinema 4D to render GH animations. Thanks for sharing this!

This was done like that for example:

The .obj importer plugin for maya: (not 100% sure it was that one, but I guess they would all work)

Obviously the .obj sequence route makes most sense if you have changing geometry. If there is just animation but no deformation, then other ways would make more sense, because the .obj sequence is a lot of data.

What's nice, is that you can use Maya to export the sequence as an alembic file. Then you can use it in any 3D software really, since alembic support is pretty good. The animation at the top is actually rendered in Octane Standalone using the alembic file, since its much easier to use and reliable then the Octane Plugin for Maya.






  • Add Photos
  • View All

© 2020   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service