Extend exisiting object with new features
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/02/2005 at 06:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;---------
Hello,i want to create an object, e.g. MyLight, that have all features of a c4d light, but i want to save some extra information in my object MyLight.
MyLight should act like a C4DLight in the editor and during rendering, but i want to hide the settings in the description dialog for the light from the user and want to show the user my description.I think, that could be a way:
- Create a plugin "MyLight" derived from ObjectData
- in Init() from MyLight create a C4DLight, invisible for C4D
- overwrite all functions for drawing and rendering and return the values of the C4DLightIs this possible? Hope, somebody understands my problem.
Torsten
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/02/2005 at 13:21, xxxxxxxx wrote:
No, it's not possible in that way. The closest you would come would be to create a generator that generates a single light. (Which I actually think would be pretty close to what you're describing.)