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® / SDK / Adding parameters to Camera Rollout
  RSS 2.0 ATOM  

Adding parameters to Camera Rollout
Rate this thread
 
33904
 
Permlink of this thread  
avatar
  • staufman
  • Posted: 01 September 2009 08:18 AM
  • Total Posts: 3
  • Joined: 01 September 2009 03:12 PM

I have a plugin that works in MAX and is really just a way for another program with a database of objects to communicate with MAX. When an object gets added to the Database, it can be synched over to MAX and displayed as a box, camera, etc.

What I’m trying to add is a bit of UI to the camera object rollout. So, if there happens to be a camera in the database program and it gets synched over to MAX, I want to in my plugin create the camera and then somehow attach a new ParamBlock to it with my custom parameters.

Is this possible? Some of the same classes that come with the SDK (camera.cpp/h) are overly complicated and I’m not sure I really need a custom camera class. My intuition tells me there must be a way to add a ParamBlock to an existing object. Can I do this?

Thanks!



Replies: 0