Notifications
Clear all

[Closed] Animated Vray Proxy help

Hi all

I have written a few codes that allow me to animate a vRay proxy object. Just to let you know where i am at the moment i will give a brief description below.

1 First script takes an animated object and outputs vray.vrmesh files of the animated object every frame. eg a box spinning over 100 frames would generate 100 individual meshfiles.

2 The next part of the script allows me to scrub the time line which changes the vrayproxy.filename to the specific keyframe that the time slider is on.

horah animated vrayproxy object.

I want to be able to create an interface with acts like the lightlister but for animated vray meshes.

ie i want to be able to change the vray.filename path over time for hundreds of objects each with different animated offsets.

This would allow me to animate huge proxy crowds etc.

Does anyone know where i should start researching to be able to do this

kind regards

nebille

2 Replies
1 Reply
(@psychosilence)
Joined: 11 months ago

Posts: 0

would you share this script for educational purposes? i tryed on such a script as well a while ago but didn´t get the deserved results hope we get in contact.

regards

anselm

[left]maxscript reference >> index >> maxkey values .[/left]
[left]

 [/left]


[left]theKeyArrayOfNode=<node>.<animatable_property>.keys [/left]
[left] [/left]
[left]for i in theKeyArrayOfNode do [/left]
[left]([/left]
[left]local theSuffix= ( i.time ) as string [/left]
[left] [/left]
[left]-- will return the time value or number . this can be used to suffix of[/left]
[left]-- ur specified name of anything . cause u get a variable value relatively [/left]
[left]-- with the time . so anything will be create with it . [/left]
[left] [/left]
[left])[/left]