THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/05/2011 at 14:41, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R12
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
With only three slim examples in the cinema4dsdk and little information here, how am I supposed to write a MaterialData plugin which handles a bunch of 'channels' (such as color, diffuse, specular, etc. - not ChannelDatas)? Look at this list of classes and structures involved and then back at the skimpy, small, insignificant amount of information and tell me how I'm supposed write something like this.
Material
BaseMaterial
MaterialData
VolumeData
BaseVolumeData
Ray
RayObject
IlluminationModel
InitRenderStruct
SurfaceData
RenderData
Render
MatPreviewType
RenderPreviewImageCallback
MatAssignData
MatAssignTable
Multipass
VPBitmap
Multibitmap
RayLight
MaterialPreviewCustomGui
MaterialPreviewData
MaterialPreviewObjectInfo
MaterialPreviewGenerateImage
MaterialPreviewModifyCacheScene
MaterialPreviewPrepareScene
MaterialPreviewCopyUserData
MaterialPreviewHandleDragnDrop
TextureTag
MatAssignCustomGui
MatAssignData
MatAssignTable
TexData
IlluminationSurfacePointData
RayHitID
IlluminationSurfacePointModel
RayCamera
RayParameter
RayEnvironment
RayPolyWeight
PolyVector
BaseVideoPost
VPFragment
LensGlowStruct
SurfaceIntersection
VPBuffer
C4D_Falloff
FalloffData
It's pretty certain that this isn't a complete list (and easy classes have been omitted obviously). Examples! I need examples! How would I map a bitmap onto a surface given this choice of hundreds of classes, structs, values? I have no idea because there are no examples. Lots of fragmentary information and simplistic full examples. Not helping. Please help!
Thanks,