Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / MaxScript / scripting max's animation preview feature?
  RSS 2.0 ATOM  

scripting max's animation preview feature?
Rate this thread
 
32718
 
Permlink of this thread  
avatar
  • Total Posts: 31
  • Joined: 05 May 2009 06:06 PM

My animators have requested some simple scripts that make use of the animation preview feature (mainly a “packed up” version that uses some rational default options and doesn’t require clicking through a dialog every time).

Searching maxscript help, I can’t seem to find any way to interact with the preview tool other than launching the dialog.

The help does offer one example using gw.getViewportDib to build a cache of framegrabs which are then loaded into ramplayer… but this is slower and doesn’t give the animator the freedom to pick their own viewer. I suppose I could get some variant of this idea to work with a command line video converter… but that’d be really more trouble than it’s worth to avoid a single dialog.

Anyone know if there are any better handles I can use to wrangle this feature?



Replies: 1
/img/forum/dark/default_avatar.png

Unfortunately there is no way to set Preview Params from MAXScript. If you want to know how to do it using MAX SDK, I can help you…

Author: denisT

Replied: 03 August 2009 10:11 AM  
avatar

Thanks for the lead. I haven’t done anything with the max SDK yet but I do have some basic familiarity with C++ and C#, so perhaps a time will come when I’ll take you up on the offer =)



Replies: 0