Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Open Reality / Animatable Shaders?
  RSS 2.0 ATOM  

Animatable Shaders?
Rate this thread
 
36544
 
Permlink of this thread   Subscribe to this thread
avatar
  • todd1
  • Posted: 10 November 2009 08:23 AM
  • Total Posts: 2
  • Joined: 10 November 2009 04:19 PM

I am developing an FBShader plug-in that I want to be able to control via the relation editor.  I see that FBShader derives from FBBox, and I am able to create HFBAnimationNode members via the AnimationNodeInCreate method.  However, I cannot see these properties in the relation editor like I can for other plugin types.  What more do I need to do to expose these inputs?



Replies: 0
avatar
  • qhliao
  • Posted: 11 November 2009 11:23 PM

I can drag the “Lighted” shader, “Relation” constraint and “Mouse” device from asset browser. and then I can connect the Mouse with Lighted’s Alpha property inside relation constraint.

maybe you want to create a animated property for your shader and use it for connection.




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

Thanks!  FBPropertyAnimatable’s were the way to go here, and I can use them in ShadeModel instead of having an AnimationNodeNotify function.  The screen shader example had what I needed all along.

Author: todd1

Replied: 12 November 2009 12:56 AM  




   
  Settings Choose Theme color: