Grasshopper

algorithmic modeling for Rhino

Hello everyone,

here you have a script to make animations with "V-Ray for Rhino" plugin, using materials in .vismat or .vrmat formats.

My thanks and appreciation to Pieter Segeren for helping me to polish the script and to Matt Newberg for his advice. Matt has just published (a few minutes before this post) the .dll of VRay for Rhino in .NET, you can find it here. Due to I already got what I wanted, I will not continue with this script. But the door is open to a much deeper code, as well as a component for creating materials or for settings of V-Ray.


Enjoy it :)

RenderAnimation_GH-VRay.gh

Views: 11856

Comment

You need to be a member of Grasshopper to add comments!

Comment by Daniel González Abalde on July 19, 2015 at 9:36am

Hi Chrisk,

1. Take a look at the output, if it says that the material is not applied, try to first load manually the material in the material editor of vray.
2. I have not dug anything about custom vismat, but can be done from code... I made a change in the script to allow lights, but is not tested at all (so not updated it here), but you can try it, find the file in the comments:

http://www.grasshopper3d.com/forum/topics/rendered-animation-with-m...

Comment by chrisk on July 19, 2015 at 8:49am

Hi Daniel,

Thanks for this script! Two questions:

- Even though I refer the path to a vismat file, it renders grey. Any suggestions?

- Is there an easy way to implement a dynamic change in the selected materials (such as it's self-illumination or opacity)? In my script I simulate changing light conditions by changing the color from yellow to black in GH. Now I need to find a way to render this effect :) (possiblity with light souces that change in brightness)

thx

Comment by Yevgeny Koramblyum on June 2, 2015 at 11:48am

Thanks for posting! This would be a great tool. Unfortunately, I get this in the log:

0. error: Conversion from type 'Object()' to type 'String()' is not valid. (line: 0)

any ideas? 

Comment by Nick Tyrer on May 28, 2015 at 2:14am

Dude, you are on a roll recently! Keep it up

note: pretty bizarre behaviour that timer needs to be in foreground.

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service