Many Thanks Jiminy. !
Posts made by mcekk
-
RE: V-Ray scripting in ruby?
I was able to do some short progress modifying the skp files from each light separately and reloading through the ruby script. The only thing that it is still missing is the possibility to render the scene from the script. It is possible to do this from the SU API or from the system? Thanks in advance.
-
RE: V-Ray scripting in ruby?
Thanks for the answer, Devin. Is there another V-Ray implementation where I can animate the illumination? Or I have to wait that this feature comes to SU? I also work with Blender. Thanks in advance.
-
RE: Newby Ruby "Undefined Method" issue
The code is good. From the console it appears that the first run was ok, and then you ran again the script and the face cannot be created. The problem is that you are trying to create a face object in the same place occupied by the face created before. Clean all your objects first (select all> delete), and try again.
-
RE: V-Ray scripting in ruby?
Thanks, Ted and Jiminy for the quick response.
Can I safely edit the file current_skp.xml (located at ASGVIS/VfS), that apparently stores the current global parameters?
Still can't find the light parameters. -
V-Ray scripting in ruby?
Hi everyone,
Is it possible to access methods and/or classes for V-Ray objects through the SU API?
I want to edit the lights, materials and rendering options in an automated way.So far, I was able to apply geometric transformations to the lights using the following method:
- I created a separated .skp file for each of the light objects (rectangle, spot, omni) with fixed parameters. These objects are saved as groups.
- I loaded these files as component definitions and created instances as needed.
- I applied geom transformations (translations rotations and scaling) to those components to set up the scene.
However I also want to change some parameters of the lighting and the materials from the script. Where is this information stored? Is there a xml file somewhere?
Thanks in advance
SU 2014 + VR2.0