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® MotionBuilder® / Open Reality / I want to get Motion builder main view's BackgroundColor.
  RSS 2.0 ATOM  

I want to get Motion builder main view's BackgroundColor.
Rate this thread
 
33064
 
Permlink of this thread  
avatar
  • Park,KH
  • Posted: 11 August 2009 08:14 PM
  • Total Posts: 7
  • Joined: 24 July 2009 04:40 AM

Hello~
I want to get Motion builder main view’s background Color for my plug-ins.
I found one property what is FBCamera::BackGroundColor.
And I want to main view’s background Color at glClearColor().
But, I don’t know how can I use this property.

I want to some sample or advise about using BackGroundColor.
Thanks for reading.



Replies: 0
avatar
  • Neill3d
  • Posted: 11 August 2009 11:25 PM

Hi,

Here is a sample of using BackGroundColor:

FBColor color = lCamera->BackGroundColor;
glClearColor( color[0], color[1], color[2], color[3] )



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

I specially Thanks to Ur Kind reply. I solve this problem with Ur advise.

Thank U~! And have a great day.

Author: Park,KH

Replied: 11 August 2009 11:56 PM