Hi, It seems to work fine in my case. Here is my code: I haven’t pushed the changes yet, but I have changed GetDiffuse() to return the value of m_…
Thanks! The reason I’m using the assignment operator is because I’m being passed a pointer to an existing MSTR object:
Thanks for the answer. Actually, and I should probably have mentioned this from the beginning, the MCHAR* was allocated by Max itself in ILoad::ReadW…
Hi Stig, Yes, I’m already supporting the default lights. However I’m unable to reproduce the scenario described in the SDK. I guess this is more of …
Yeah, I’m pretty new to Max development, sorry if I’m rediscovering basic stuff I’ve been doing full text search in the SDK include\ and howto\ dire…
Oh wow… Seems like I just stumbled on the Holy Grail: maxsdk\samples\objects\light.cpp seems to contain the implementation of all the standard Max lig…
Brilliant, thanks lo! I had come across this class in the documentation but since it was described as “a base class for creating plug-in lights”, it …
Another related question: Is it possible to retrieve the decay information (decay type and decay start distance) of a standard Max light? I cannot f…