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 / Material display in Nitrous
  RSS 2.0 ATOM  

Material display in Nitrous
Rate this thread
 
63821
 
Permlink of this thread  
avatar
  • Total Posts: 23
  • Joined: 10 April 2008 05:21 PM

Hi.

I’m trying to upgrade my materials to support Nitrous display, so I inherited my material class from ITextureDisplay and added:

if (id == ITEXTURE_DISPLAY_INTERFACE_ID)
   return 
static_cast<ITextureDisplay*>(this);

in my GetInterface(Interface_ID id) class, but it never gets called using ITEXTURE_DISPLAY_INTERFACE_ID as an id. I’ve also implemented SupportTexDisplay() and SupportsMultiMapsInViewport(), both returning TRUE, but no luck.

Does anyone have any suggestion?
Bogdan



Replies: 0