API Changes in R18.011
c4d_basedraw.h
{
public:
};
DRAW_STATISTIC_PATCHES
{
};
c4d_baseeffectordata.h
c4d_baselist.h
c4d_basematerial.h
c4d_baseobject.h
c4d_basetag.h
c4d_canimation.h
c4d_falloffdata.h
c4d_general.h
enum MachineFeaturesType
{
SOFTWARE_OGL
}
OPENGL_SUPPORT_DUALPLANE_ARB
OPENGL_SUPPORT_DUALPLANE_KTX
OPENGL_TYPE_AVAILABLE
c4d_gui.h
c4d_quaternion.h
c4d_raytrace.h
c4d_reflection.h
c4d_snapdata.h
c4d_tooldata.h
ge_lmatrix.h
c4d_tools.h
{
void GetDUDVFromUVPoint(
const RayObject*
op,
const TexData*
tex,
Float par_u,
Float par_v,
const Vector64& uv,
const Vector64&
p,
const Vector64& phongn,
const Vector64&
orign,
const RayHitID& hit,
Bool forceuvw,
Vector*
ddu,
Vector*
ddv,
Bool usetangents);
};
{
};
operatingsystem.h
ge_math.h
ge_matrix.h
ge_prepass.h
{
ASSETDATA_FLAG_NOSUBSTANCES
};
{
NBIT_CKEY_BREAKDOWNCOLOR
NBIT_NO_DELETE
};
WPREF_OPENGL
WPREF_HW_OPENGL
WPREF_OPENGL_TEMP
enum
{
}
enum ROTATIONINTERPOLATION
{
ROTATIONINTERPOLATION_QUATERNION_SLERP,
ROTATIONINTERPOLATION_QUATERNION_CUBIC
};
{
EXECUTIONFLAGS_ALLOW_PRIORITYSHIFT
};
{
DESCFLAGS_DESC_MATREFLECTANCEOVERLAP
}
{
THREADMODE_PRIVATE_OPENGL
}
{
VOLUMEINFO_FINAL_ALPHA
};
enum
{
}
{
CINEMAINFO_FORBID_OGL
CINEMAINFO_FORBID_HWOGL
};
{
JOBSTATE_QUEUED_WAITING
};
gui.h
modelingids.h
customgui_inexclude.h
customgui_listview.h
c4d_graphview_def.h
lib_aes.h
lib_description.h
lib_colorchooser.h
lib_net.h
lib_substance.h
static const Int32 ID_SUBSTANCE_PREFERENCES
{
};
lib_token.h
general.h
apibasemath.h
API Changes in R18.020
c4d_baseobject.h
ge_prepass.h
#define Omotiontracker 1028393
customgui_inexclude.h
#define IN_EXCLUDE_FLAG_ENABLED_IN_TRISTATE 2069
lib_birender.h
lib_motiontracker.h
lib_net.h
lib_substance.h
lib_voronoifracture.h
API Changes in R18.039
c4d_baselist.h
#define MSG_DESCRIPTION_USERINTERACTION_START
c4d_animation.h
c4d_materialdata.h
#define PLUGINFLAG_MATERIAL_GLIMAGE_WITH_ALPHA ((1 << 0) | (1 << 3))
#define PLUGINFLAG_MATERIAL_GLIMAGE_WITH_ALPHA ((1 << 0) | (1 << 4))
c4d_raytrace.h
ge_prepass.h
{
RENDERPROGRESSTYPE_AMBIENTOCCLUSION,
}
{
SHADERINFO_TRANSPARENCIES
}
lib_snd.h
API Changes in R18.057
c4d_reflection.h
ge_prepass.h
{
BUILDFLAGS_EXPORT
};
enum SERIALINFO
{
SERIALINFO_RLMLICENSE
};
gui.h
modelingids.h
customgui_kerning.h
customgui_longlat.h
#define LONG_LAT_DECIMALS
THREADMODE
Definition: ge_prepass.h:3691
Stores polygon weight information. Filled by VolumeData::GetWeights().
Definition: c4d_raytrace.h:349
BakeTexEnums
Definition: c4d_tools.h:2662
Quaternion QSmoothCubic(const Quaternion &qn_m1, const Quaternion &qn, const Quaternion &qn_p1, Float64 t)
#define Tmgweight
MoGraph weights tag ID.
Definition: c4d_baseeffectordata.h:34
BaseList2D * GetFirstSubstance(BaseDocument *const doc)
Mt2dTrackStatus
Definition: lib_motiontracker.h:138
Definition: c4d_basechannel.h:35
Int32 PrefsGetPreviewSetting()
#define VIEWCOLOR_TESSELLATIONWIRE
Definition: ge_prepass.h:2890
Bool IsSynchronized() const
Definition: c4d_canimation.h:903
static VertexColorTag * Alloc(Int32 count)
CKEYPRESET GetKeyPreset(void) const
Definition: c4d_canimation.h:336
Int32 receive_gi
Receive GI.
Definition: c4d_raytrace.h:978
Float par_u
[READ ONLY] Barycentric U coordinate (only used for SPD).
Definition: c4d_shader.h:933
Definition: lib_motiontracker.h:222
Bool SetPerPointMode(Bool perPointColor)
ROTATIONINTERPOLATION_QUATERNION GetQuatInterpolation(void) const
Definition: c4d_canimation.h:221
The base class for custom GUIs.
Definition: customgui_base.h:59
Bool IsQuaternionRotationMode(void)
Definition: c4d_baseobject.h:1082
Float ColorComponent8BitToFloat(Int colorComponent)
Definition: c4d_baselist.h:2144
Bool GetVectorCurves(CCurve *curveToSearch, CCurve *&xfound, CCurve *&yfound, CCurve *&zfound)
#define REFLECTION_LAYER_MAIN_IMAGE_TRISTATE
Image tristate group.
Definition: c4d_reflection.h:296
static void Get(ConstVertexColorHandle dataptr, Int32 i, VertexColorStruct &res)
Definition: c4d_basetag.h:867
CURRENT
Get Machine features for the currently active OpenGL type.
Definition: c4d_general.h:1507
#define VERSION_OPERATOR_VERTEXCOLOR
Definition: c4d_graphview_def.h:139
Inherit this class to supply a data and view model for TreeViewCustomGui. See ActiveObject....
Definition: customgui_listview.h:216
Definition: c4d_basedraw.h:265
maxon::ColorA32 a
The vertex color for the first point.
Definition: operatingsystem.h:654
Float32 Round(Float32 f)
Definition: apibasemath.h:197
@ DESC_RESOURCELINE
Private.
Definition: lib_description.h:185
@ BAKE_TEX_RAYCAST_USE_AUTO_SPIKE_FILTER_THRESHOLD
Bool Use automatic spike filter threshold.
Definition: c4d_tools.h:2749
BaseBitmap * _pBmp
Pass as nullptr, contains pointer to texture bitmap on return. The sender owns the pointed bitmap.
Definition: lib_substance.h:235
Vector CentralDisplaceGetSurfaceNormalFromUVPoint(const RayObject *op, Int32 local_id, Bool bFirst, Float par_u, Float par_v, const Vector &uv, const UVWStruct &uvw) const
Definition: c4d_tools.h:2081
Definition: c4d_basetime.h:24
maxon::Int Int
Definition: ge_sys_math.h:62
Definition: lib_colorchooser.h:405
Definition: c4d_quaternion.h:21
~GetMGWeightMessage()
Definition: c4d_baseeffectordata.h:1142
RENDERRESULT
Definition: ge_prepass.h:409
Bool ColorHarmonyGetAnalogous(const Vector &color, Int colorCount, Bool ryb, maxon::BaseArray< Vector > &palette)
CKEYPRESET
Definition: ge_prepass.h:3965
Holds weight information for MoGraph weight tags.
Definition: c4d_baseeffectordata.h:1131
#define VIEWCOLOR_MOSELECTEDBG
Definition: ge_prepass.h:2887
SubstanceShdGetBitmap()
Default constructor.
Definition: lib_substance.h:241
#define IN_EXCLUDE_FORBID_DOUBLECLICK
Bool Private. Set to true in BaseList2D data container to ignore double click selection.
Definition: customgui_inexclude.h:28
static const Int32 ID_SUBSTANCE_COMMAND_REIMPORT
Reloads the Substance assets currently selected in Substance Asset Manager.
Definition: lib_substance.h:186
void FlushKeys(Bool bUndo=false, Bool SynchronizeKeys=false)
Definition: c4d_canimation.h:458
Definition: lib_substance.h:233
Definition: c4d_basedraw.h:39
Definition: c4d_reflection.h:461
Float ColorComponent16BitToFloat(Int colorComponent)
EXECUTIONFLAGS
Definition: ge_prepass.h:3047
Float CalcAmbientOcclusion(SurfaceIntersection *si, RaySampler *sampler, Float minlength, Float maxlength, Float index, Bool self, Bool trans, Float weight, Bool reverse)
Private.
Definition: c4d_tools.h:2275
#define REFLECTION_LAYER_ID
Internal. Int32 Layer ID.
Definition: c4d_reflection.h:295
Bool ColorHarmonyRotateColor(const Vector &color, Int colorCount, Float angle, Bool ryb, maxon::BaseArray< Vector > &palette)
Definition: c4d_baseobject.h:224
Definition: c4d_raytrace.h:970
Definition: lib_description.h:327
void SetQuatInterpolation(CCurve *seq, ROTATIONINTERPOLATION_QUATERNION inter, Bool bUndo=true)
Definition: c4d_canimation.h:231
void * GetSubstanceInput(BaseList2D *const asset, void *const graph, void *const prevInput, UInt32 &inputUid, Int32 &firstId, Int32 &numElements, SUBSTANCE_INPUT_TYPE &type, String &name)
void ColorFloatTo8Bit(const Vector &floatColor, Int &red, Int &green, Int &blue)
Definition: c4d_raytrace.h:242
String _txt
The text to draw to the HUD.
Definition: c4d_basedraw.h:251
Definition: lib_motiontracker.h:155
Definition: lib_description.h:902
void SetFlagCount(Int32 lFlagCount)
maxon::UInt32 UInt32
Definition: ge_sys_math.h:59
void SetDefaultFlag(Int32 defaultFlag)
static const Int32 ID_SUBSTANCE_COMMAND_OPENMANAGER
Opens the Substance Asset Manager.
Definition: lib_substance.h:181
String ColorHSVToString(const Vector &color)
BaseBitmap * GetSubstanceMosaicPreview(BaseList2D *const asset, Int32 w, Int32 h)
#define Mshadowcatcher
Shadow Catcher.
Definition: ge_prepass.h:962
C4D_Falloff * _falloff
Falloff to be filled by the object owning the C4D_Falloff on MSG_COLLECTC4DFALLOFF.
Definition: c4d_falloffdata.h:45
Bool WorkplaneLock(BaseDocument *doc)
DisplayControl data.
Definition: c4d_tooldata.h:29
maxon::Float Float
Definition: ge_sys_math.h:64
void SortKeysByTime(Bool bUndo=false, Bool SynchronizeKeys=false)
Private.
Definition: c4d_canimation.h:539
A structure for surface intersections.
Definition: c4d_shader.h:735
Vector trans
[READ WRITE] Set the calculated transparency within MaterialData::CalcSurface(), MaterialData::CalcTr...
Definition: c4d_shader.h:872
Helper class for the editor's window.
Definition: c4d_tooldata.h:49
HOTKEYFLAGS IsHotkeyDown(Int32 id) const
static const Int32 MSG_SUBSTANCE_SHD_GETBITMAP
Send to a Substance shader to request its texture, thought for external renderers,...
Definition: lib_substance.h:225
static maxon::Color32 GetColor(ConstVertexColorHandle dataptr, Neighbor *nb, const CPolygon *vadr, Int32 pIndex)
#define WPREF_COLOR_MODE_SWATCHES_REMEMBER_GLOBAL
Deprecated.
Definition: ge_prepass.h:2074
DESCFLAGS_DESC
Definition: ge_prepass.h:3079
static void Free(VertexColorTag *&bl)
BaseMaterial * CreateMaterial(BaseList2D *const asset, Int32 graphIndex, SUBSTANCE_MATERIAL_MODE mode)
#define VIEWCOLOR_MODESELECTEDBG
Definition: ge_prepass.h:2889
Definition: customgui_kerning.h:513
maxon::Float32 Float32
Definition: ge_sys_math.h:66
void DrawMultipleHUDText(const maxon::BaseArray< HUDTextEntry > &texts)
Definition: c4d_basedraw.h:1763
Vector CentralDisplaceGetShadingNormalFromUVPoint(const RayObject *op, Int32 local_id, Bool bFirst, Float par_u, Float par_v, const Vector &uv, const UVWStruct &uvw) const
Definition: c4d_tools.h:2099
Definition: c4d_falloffdata.h:253
Represents a polygon that can be either a triangle or a quadrangle.
Definition: c4d_baseobject.h:43
void DrawHandle(const Vector &vp, DRAWHANDLE type, Int32 flags)
Definition: c4d_basedraw.h:1182
Definition: c4d_canimation.h:354
Vector CentralDisplacePointFromUVPoint(const RayObject *op, Int32 local_id, Bool bFirst, Float l1, Float l2, const Vector &uv, const UVWStruct &uvw) const
Definition: c4d_tools.h:2017
Definition: c4d_basetag.h:46
Manages file and path names.
Definition: c4d_file.h:93
Definition: customgui_listview.h:1068
GetMGSelectionMessage()
Definition: c4d_baseeffectordata.h:1124
Bool InsertKey(CKey *ckey, Bool bUndo=false, Bool SynchronizeKeys=false)
Definition: c4d_canimation.h:431
@ DR_COLORFIELD_NO_COMPACT
Hides the Compact Mode button.
Definition: gui.h:335
Definition: lib_motiontracker.h:27
maxon::BaseArray< Float > _weight
Definition: c4d_baseeffectordata.h:1133
Vector ddu
[READ ONLY] U direction vector perpendicular to n; can be used for bump mapping if VOLUMEINFO::DUDVRE...
Definition: c4d_shader.h:892
Bool ao_reverse
[READ ONLY] Compute reverse ambient occlusion.
Definition: c4d_raytrace.h:857
JOBSTATE
Definition: ge_prepass.h:5345
Definition: c4d_falloffdata.h:129
A vector consisting of four components X, Y, Z and W.
Definition: vec4.h:14
Bool ColorHarmonyInterpolateColors(const Vector &color1, const Vector &color2, Int colorCount, Bool ryb, maxon::BaseArray< Vector > &palette)
Int32 samplingBoost
The soft shadow sampling boost.
Definition: c4d_raytrace.h:428
#define MSG_COLLECTC4DFALLOFF
Message sent to a BaseList that might contain a C4DFalloff. BaseList should fill out the passed Fallo...
Definition: c4d_falloffdata.h:39
virtual DRAWRESULT Draw(const FalloffDataData &data, DRAWPASS drawpass, BaseDraw *bd, BaseDrawHelp *bh)
Definition: c4d_basetag.h:116
#define NULL
Definition: ge_sys_math.h:46
Definition: c4d_falloffdata.h:59
@ DIALOG_ISACTIVE
Gadget has the focus.
Definition: ge_prepass.h:5096
#define JOB_RDATA_NAME
Definition: lib_net.h:237
CKey * AddKey(const BaseTime &time, Int32 *nidx=nullptr, Bool bUndo=false, Bool SynchronizeKeys=false)
Definition: c4d_canimation.h:412
SHADERINFO
Definition: ge_prepass.h:4738
#define MSG_SYMMETRY_FLIP
Private.
Definition: c4d_baselist.h:538
Definition: c4d_gui.h:1071
Class structure to hold HUD Text for BaseDraw::DrawMultipleHUDText().
Definition: c4d_basedraw.h:246
Int ColorComponentFloatTo8Bit(Float colorComponent)
static const Int32 ID_SUBSTANCE_COMMAND_DESELECT_ALL
De-selects all Substance assets in the active document.
Definition: lib_substance.h:194
Definition: basearray.h:366
Definition: c4d_falloffdata.h:43
void * GetSubstanceGraph(BaseList2D *const asset, void *const prevGraph, String &name)
#define MSG_DESCRIPTION_INEX_ADDED
Sent by an in/exclude list to the parent. Tells the parent, that an entry got added to the list The c...
Definition: c4d_baselist.h:391
const typedef void * ConstVertexColorHandle
Handle for read-only vertex color data. See also VertexColorTag.
Definition: operatingsystem.h:457
#define WPREF_COLOR_MODE_COMPACT
Int32 Compact Mode.
Definition: ge_prepass.h:2054
void SetProgressCallback(PFNRIJINDAEL_CIPHER_PROGRESS fn, void *pData)
SUBSTANCE_MATERIAL_MODE PrefsGetMaterialModeSetting()
#define Ofalloff
Falloff object.
Definition: ge_prepass.h:1087
VertexColorStruct()
Default constructor.
Definition: operatingsystem.h:667
HUDTextEntry(const maxon::String &txt=maxon::String(), const Vector &position=Vector())
Definition: c4d_basedraw.h:249
#define MSG_GET_MODATAWEIGHTS
Send to retrieve the weights of MoGraph weights tags. The corresponding data is GetMGWeightMessage.
Definition: c4d_baseeffectordata.h:51
static const Int32 ID_SUBSTANCE_COMMAND_LOADASSET
Opens a file requester and imports the chosen Substance asset into the active document.
Definition: lib_substance.h:184
Definition: c4d_canimation.h:640
static void SetAlpha(VertexColorHandle dataptr, Neighbor *nb, const CPolygon *vadr, Int32 pIndex, Float32 value)
Definition: c4d_basedraw.h:747
void SetFlags(Int32 flags)
BaseContainer GetMachineFeatures(MACHINEFEATURESTYPE type=MACHINEFEATURESTYPE::HARDWARE_OGL)
SUBSTANCE_IMPORT_RESULT ImportSubstance(BaseDocument *const doc, const Filename &fn, SUBSTANCE_IMPORT_COPY ©File, Bool errPopup, Bool addUndo, Bool createMaterial, BaseList2D **assetPtr)
Vector Color8BitToFloat(Int red, Int green, Int blue)
VOLUMEINFO
Definition: ge_prepass.h:4688
Bool SynchronizeVectorTrackKeys(Int32 vectorTrackID, Bool bUndo, BaseTime startRange=BaseTime(-108000, 1), BaseTime endRange=BaseTime(108000, 1))
InExclude custom data type (CUSTOMDATATYPE_INEXCLUDE_LIST).
Definition: customgui_inexclude.h:111
SUBSTANCE_OUTPUT_TYPE
Definition: lib_substance.h:314
TASKSTATE
Definition: lib_net.h:282
Definition: c4d_shader.h:615
Represents a C4DAtom that resides in a 4D list.
Definition: c4d_baselist.h:1767
maxon::Utf32Char Utf32Char
Definition: ge_sys_math.h:73
Vector _position
The screen space position for the text.
Definition: c4d_basedraw.h:252
@ BAKE_TEX_RAYCAST_USE_MAX_DISTANCE
Bool Use maximum ray casting distance.
Definition: c4d_tools.h:2747
void SetKeyPreset(CCurve *seq, CKEYPRESET preset)
Definition: c4d_canimation.h:344
HARDWARE_OGL
Get Machine features for Hardware OpenGL.
Definition: c4d_general.h:1508
#define JOB_RDATA_TAKE_NAME
Definition: lib_net.h:236
@ MENURESOURCE_SUBTITLE_ICONID
IconId for subtitle strings.
Definition: gui.h:241
@ BFM_GETFOCUSBEFOREUPDATE
Definition: gui.h:632
Bool ColorHarmonyGetEquiangular(const Vector &color, Int colorCount, Bool ryb, maxon::BaseArray< Vector > &palette)
Message struct for the MSG_GET_MODATAWEIGHTS message.
Definition: c4d_baseeffectordata.h:1139
Definition: c4d_string.h:38
DRAWPASS
Definition: ge_prepass.h:3258
_DONTCONSTRUCT
Definition: ge_math.h:125
void GetDUDVFromUVPoint(const RayObject *op, const TexData *tex, Float par_u, Float par_v, const Vector64 &uv, const Vector64 &p, const Vector64 &phongn, const Vector64 &orign, const UVWStruct &uvw, RayHitID &hit, Bool forceuvw, Vector *ddu, Vector *ddv, Bool usetangents)
Definition: c4d_tools.h:2194
void * GetSubstanceOutput(BaseList2D *const asset, void *const graph, void *const prevOutput, UInt32 &outputUid, SUBSTANCE_OUTPUT_TYPE &type, String &name, BaseBitmap **bmpPtr)
Definition: lib_description.h:892
#define IN_EXCLUDE_FLAG_SMALL_MODE_SIZE
Int32 Size of the InExclude list in small mode.
Definition: customgui_inexclude.h:100
CKey * AddKeyAdaptTangent(const BaseTime &time, Bool bUndo, Int32 *nidx=nullptr, Bool SynchronizeKeys=false)
Definition: c4d_canimation.h:422
#define VIEWCOLOR_MODESELECTEDFG
Definition: ge_prepass.h:2888
Vector ddv
[READ ONLY] V direction vector perpendicular to n; can be used for bump mapping if VOLUMEINFO::DUDVRE...
Definition: c4d_shader.h:893
Definition: c4d_raytrace.h:774
SUBSTANCE_IMPORT_RESULT
Definition: lib_substance.h:265
Vector Color16BitToFloat(Int red, Int green, Int blue)
void SetQuaternionRotationMode(Bool active, Bool bUndo)
Definition: c4d_baseobject.h:1075
@ DR_COLORFIELD_ENABLE_COMPACT
Enables the Compact Mode.
Definition: gui.h:345
static const Int32 ID_SUBSTANCE_COMMAND_SELECT_ALL
Selects all Substance assets in the active document.
Definition: lib_substance.h:193
BaseTime GetLength(void) const
Definition: lib_snd.h:97
Definition: c4d_basematerial.h:240
SUBSTANCE_MATERIAL_MODE
Definition: lib_substance.h:251
Bool IsActive(const GadgetPtr &id)
Bool(* PFNRIJINDAEL_CIPHER_PROGRESS)(Int lProgress, Int lLength, void *pData)
Definition: lib_aes.h:35
Definition: c4d_gui.h:114
MGWeightData * _weightInfo
The clones weights.
Definition: c4d_baseeffectordata.h:1144
virtual Int32 DoubleClick(void *root, void *userdata, void *obj, Int32 col, MouseInfo *mouseinfo)
void SetSynchronized(Bool synch)
Definition: c4d_canimation.h:910
Int32 MoveKey(const BaseTime &time, Int32 idx, CCurve *dseq=nullptr, Bool bUndo=false, Bool SynchronizeKeys=false)
Definition: c4d_canimation.h:451
DRAWRESULT
Definition: ge_prepass.h:4097
#define LV_COLUMN_WIDTH_FIT
Within TreeViewFunctions::GetColumnWidth() return it to use automatic fitting to available space for ...
Definition: customgui_listview.h:81
maxon::UInt16 UInt16
Definition: ge_sys_math.h:57
NBIT
Definition: ge_prepass.h:676
Bool FindBestEulerAngle(Int32 rotationTrackID, Bool bAdjustTangent, Bool bUndo, BaseTime startRange=BaseTime(-108000, 1), BaseTime endRange=BaseTime(108000, 1))
Bool GetVectorTracks(const DescID &id, CTrack *&xfound, CTrack *&yfound, CTrack *&zfound)
Definition: c4d_raytrace.h:400
RENDERPROGRESSTYPE
Definition: ge_prepass.h:4348
Bool ColorHarmonyGetComplementary(const Vector &color, Bool ryb, maxon::BaseArray< Vector > &palette)
void DrawHUDText(Int32 x, Int32 y, const maxon::String &txt)
Definition: c4d_basedraw.h:1756
@ BAKE_TEX_RAYCAST_CUSTOM_MAX_DISTANCE
Float Custom maximum ray casting distance.
Definition: c4d_tools.h:2748
#define VIEWCOLOR_MOSELECTEDFG
Definition: ge_prepass.h:2886
Bool RegisterHiddenToken(const String &key, const String &help, const String &example, TOKENHOOK *hook)
Bool SetVisibleScrollArea(Int32 x1, Int32 y1, Int32 x2, Int32 y2)
The base class for all plugin data classes.
Definition: c4d_basedata.h:19
#define NOTOK
Definition: ge_sys_math.h:265
Definition: lib_voronoifracture.h:25
const TexData * tex
[READ ONLY] The surface texture, never change this pointer.
Definition: c4d_shader.h:891
BaseSelect * sel
The selected clones.
Definition: c4d_baseeffectordata.h:1127
Bool ColorHarmonyGetSplitComplementary(const Vector &color, Bool ryb, maxon::BaseArray< Vector > &palette)
Definition: lib_colorchooser.h:217
#define Tgrouppriority
Group Priority.
Definition: ge_prepass.h:1287
Definition: c4d_tools.h:1299
Vector ColorKelvinTemperatureToRGB(Float kelvinDegrees, Float tint=0.0)
Bool MaterialUsesSubstance(BaseMaterial *const mat)
BUILDFLAGS
Definition: ge_prepass.h:3032
void SetZeroSize()
Sets all sizes but TEXTSPLINE_RESULT_HEIGHT_BASE to zero. Specially useful when scaling down kerning ...
Vector64 orign
[READ ONLY] The original surface normal.
Definition: c4d_shader.h:881
@ DESC_RESOURCEPATH
Private.
Definition: lib_description.h:184
@ BAKE_TEX_NORMAL_USE_RAYCAST
Whether the normal map will be generated using ray casting. True when baking the normal map only.
Definition: c4d_tools.h:2720
const RayObject * op
The object. Can be nullptr, always check.
Definition: c4d_shader.h:920
maxon::Int32 Int32
Definition: ge_sys_math.h:58
static const Int32 ID_SUBSTANCE_LIBRARY
ID of Substance library.
Definition: lib_substance.h:173
static void SetColor(VertexColorHandle dataptr, Neighbor *nb, const CPolygon *vadr, Int32 pIndex, const maxon::Color32 &color)
static const Int32 ID_SUBSTANCE_ASSET
ID of the Substance asset.
Definition: lib_substance.h:171
Bool highquality
The soft shadow omni light is calculated with the best quality.
Definition: c4d_raytrace.h:427
Definition: c4d_basetag.h:816
Bool SetBool(const GadgetPtr &id, Int32 value, Int32 tristate=0)
#define VIEWCOLOR_VERTEX_NORMAL
Definition: ge_prepass.h:2885
VertexColorHandle GetDataAddressW(void)
#define Xthinfilm
Thinfilm.
Definition: ge_prepass.h:1217
Definition: c4d_canimation.h:57
Deprecated. Use maxon::Uuid.
Definition: c4d_uuid.h:17
Definition: lib_net.h:597
Bool DelKey(Int32 index, Bool bUndo=false, Bool SynchronizeKeys=false)
Definition: c4d_canimation.h:440
SUBSTANCE_INPUT_TYPE
Definition: lib_substance.h:291
#define MSG_DESCRIPTION_INEX_SELCHANGED
Sent by an in/exclude list to the parent. Tells the parent, that the selection in the InExclude List ...
Definition: c4d_baselist.h:392
void DrawPolygon(const Vector *p, const Vector *f, Bool quad)
Definition: c4d_basedraw.h:1292
#define WPREF_COLOR_REMEMBER_LAST_LAYOUT
Bool If true Cinema 4D remembers the last layout for new color choosers, but it will keep the manuall...
Definition: ge_prepass.h:2075
SERVERMESSAGE
Definition: ge_prepass.h:56
CINEMAINFO
Definition: ge_prepass.h:5254
Float64 QDot(const Quaternion &q1, const Quaternion &q2)
static Float32 GetAlpha(ConstVertexColorHandle dataptr, Neighbor *nb, const CPolygon *vadr, Int32 pIndex)
maxon::ColorA32 c
The vertex color for the third point.
Definition: operatingsystem.h:656
Bool RemoveResult(const C4DUuid &jobUuid, const Filename &resResultPath)
COLOR
Vector.
Definition: c4d_basebitmap.h:7
Base class for custom data types.
Definition: c4d_customdatatype.h:50
Definition: operatingsystem.h:649
@ BAKE_TEX_RAYCAST_CUSTOM_SPIKE_FILTER_THRESHOLD
Float Custom spike filter threshold.
Definition: c4d_tools.h:2750
#define MSG_DESCRIPTION_INEX_DELETED
Sent by an in/exclude list to the parent. Tells the parent, that an entry got deleted from the list T...
Definition: c4d_baselist.h:390
ASSETDATA_FLAG
Definition: ge_prepass.h:246
String ColorRGBToString(const Vector &color)
String TOKENHOOK(void *data)
Definition: lib_token.h:61
void * VertexColorHandle
Handle for vertex color data. See also VertexColorTag.
Definition: operatingsystem.h:456
maxon::Vec3< maxon::Float64, 1 > Vector
Definition: ge_math.h:145
Float par_v
[READ ONLY] Barycentric U coordinate (only used for SPD).
Definition: c4d_shader.h:934
Private.
Definition: c4d_raytrace.h:749
BaseShader * CreateSubstanceShader(BaseList2D *const asset)
@ WPREF_NET_RESTARTJOBSAFTERUNEXPECTEDSERVERTERMINATION
Definition: ge_prepass.h:2390
GetMGWeightMessage()
Definition: c4d_baseeffectordata.h:1141
Definition: c4d_shader.h:860
Definition: c4d_basebitmap.h:410
maxon::ColorA32 b
The vertex color for the second point.
Definition: operatingsystem.h:655
@ BFM_SETFOCUSAFTERUPDATE
Definition: gui.h:670
Definition: c4d_shader.h:512
void SetName(const maxon::String &name)
BaseList2D * _node
An owner node for certain tokens such as MoGraph cache tokens.
Definition: lib_token.h:120
static const Int32 ID_SUBSTANCE_PRESET
ID of the Substance content browser preset.
Definition: lib_substance.h:174
Bool InsertLastSubstance(BaseDocument *const doc, BaseList2D *asset)
#define MSG_GETREALTAGDATA
Sent to get a real tag object from a virtual "generator" tag. The corresponding data is GetRealTagDat...
Definition: c4d_baselist.h:534
static void Set(VertexColorHandle dataptr, Int32 i, const VertexColorStruct &s)
Definition: c4d_basetag.h:889
void GetSubstances(BaseDocument *const doc, AtomArray *arr, Bool onlySelected)
void Displace(VolumeData *sd, const RayPolyWeight *weights)
Definition: c4d_basematerial.h:122
#define ID_OPERATOR_VERTEXCOLOR
Definition: c4d_graphview_def.h:300
static const Int32 ID_SUBSTANCE_SHADER
ID of the Substance shader.
Definition: lib_substance.h:172
Tree/List view mouse information.
Definition: customgui_listview.h:130
void ColorFloatTo16Bit(const Vector &floatColor, Int &red, Int &green, Int &blue)
Definition: c4d_baseobject.h:2464
ICONDATAFLAGS _bmpflags
Pass ICONDATAFLAGS::NONE. Currently not in use..
Definition: lib_substance.h:236
Int ColorComponentFloatTo16Bit(Float colorComponent)
maxon::Bool Bool
Definition: ge_sys_math.h:53
Int32 GetFlagCount() const
ConstVertexColorHandle GetDataAddressR(void) const
#define IN_EXCLUDE_FLAG_BIG_MODE_SIZE
Int32 Size of the InExclude list in big mode.
Definition: customgui_inexclude.h:101
BaseTag * res
Set a tag object to provide a real tag for a virtual "generator" tag.
Definition: c4d_baselist.h:862
Vector64 p
[READ WRITE] The surface point, this can only be modified by MaterialData::Displace().
Definition: c4d_shader.h:877
Float32 RadToDeg(Float32 r)
Definition: apibasemath.h:255
maxon::ColorA32 d
The vertex color for the fourth point.
Definition: operatingsystem.h:657
#define WPREF_COLOR_MODE_SWATCHES_GLOBAL_DATA
BaseContainer Global swatches data. Private.
Definition: ge_prepass.h:2073
ICONDATAFLAGS
Definition: ge_prepass.h:3361
Bool CopyToFilter(AtomArray *dest, Int32 type, Int32 instance, Int32 generators=1) const
Definition: c4d_baselist.h:1675
Definition: c4d_baselist.h:1587
Bool perPolygonVertexColor
Each polygon vertex own a specific color.
Definition: c4d_tooldata.h:42
Bool NetSendMessageToServer(NetRenderService *service, const C4DUuid &remoteUuid, const C4DUuid &jobUuid, SERVERMESSAGE type, const String &messageString, Bool doConsoleOutput=false, Int32 frameNumber=NOTOK)
Definition: lib_motiontracker.h:357
Definition: lib_net.h:291
SUBSTANCE_IMPORT_COPY
Definition: lib_substance.h:279
Definition: c4d_basematerial.h:27
Message struct for the MSG_GETREALTAGDATA message.
Definition: c4d_baselist.h:855
ANIMATEFLAGS
Definition: ge_prepass.h:2627
Data structure to collect render information in handling Tokens in render output path.
Definition: lib_token.h:85
Bool ColorHarmonyGetTetradic(const Vector &color, Bool ryb, maxon::BaseArray< Vector > &palette)
#define REFLECTION_LAYER_NAME
String Layer name.
Definition: c4d_reflection.h:293
Bool EvaluateSynchronizedRotation(const BaseTime &time, ANIMATEFLAGS flags, Vector *resultRotation=nullptr)
Int32 GetDefaultFlag() const
#define LV_COLUMN_WIDTH_AUTOMATIC
Within TreeViewFunctions::GetColumnWidth() return it to use automatic width for the given column.
Definition: customgui_listview.h:80
Definition: lib_net.h:542
Definition: c4d_basedocument.h:490
Definition: c4d_gui.h:163
static const Int32 ID_SUBSTANCE_COMMAND_SYNCTRCLIENTS
Synchronizes the Substance Engine setting of all TeamRender clients based on the setting in Substance...
Definition: lib_substance.h:182
maxon::ColorA32 & operator[](Int32 index) const
Definition: operatingsystem.h:728
Definition: c4d_basecontainer.h:46
#define Tvertexcolor
Vertex color.
Definition: ge_prepass.h:1288
maxon::Float64 Float64
Definition: ge_sys_math.h:65
GetRealTagData()
Default constructor.
Definition: c4d_baselist.h:860
ReflectionLayer()
Default constructor.
~GetMGSelectionMessage()
Definition: c4d_baseeffectordata.h:1125
Float32 DegToRad(Float32 r)
Definition: apibasemath.h:247
Message struct for the MSG_GET_MODATASELECTION message.
Definition: c4d_baseeffectordata.h:1122
HOTKEYFLAGS IsHotkeyDown(Int32 id)
Float GetSampleRate(void) const
Definition: lib_snd.h:79
Definition: lib_description.h:882
maxon::Utf16Char Utf16Char
Definition: ge_sys_math.h:80
Bool AssignChannelToMaterial(BaseList2D *const asset, Material *const c4dMaterial, Int32 channelId, Int32 outputUid, Bool addUndo)