Classes | |
| struct | TempUVHandle |
| struct | TextureSize |
| class | PaintBitmap |
| class | PaintLayer |
| class | PaintLayerMask |
| class | PaintLayerFolder |
| class | PaintLayerBmp |
| class | PaintTexture |
| class | PaintMaterial |
Functions | |
| void * | SendPainterCommand (Int32 command, BaseDocument *doc, PaintTexture *tex, BaseContainer *bc) |
| TempUVHandle * | GetActiveUVSet (BaseDocument *doc, Int32 flags) |
| void | FreeActiveUVSet (TempUVHandle *handle) |
| Bool | CallUVCommand (const Vector *padr, Int32 PointCount, const CPolygon *polys, Int32 lPolyCount, UVWStruct *uvw, BaseSelect *polyselection, BaseSelect *pointselection, BaseObject *op, Int32 mode, Int32 cmdid, const BaseContainer &settings) |
| Int32 | IdentifyImage (const Filename &texpath) |
| Bool | BPSetupWizardWithParameters (BaseDocument *doc, const BaseContainer &settings, AtomArray &objects, AtomArray &material) |
| Bool | CalculateTextureSize (BaseDocument *doc, AtomArray &materials, TextureSize *&sizes) |
| Bool | GetAllStrings_AddTexture (const void *msgdata, const BaseContainer &d) |
| void | PainterActivateChannel (Int32 channel, Bool multi, Bool enable) |
| PaintTexture * | PainterCreateNewTextureDialog (String &result, Filename &resultdirectory, Int32 channelid, BaseMaterial *bmat) |
| #define UV_SET_FROM_PROJECTION_CMD_ID |
Set UVW from Projection command in texture view.
| void* SendPainterCommand | ( | Int32 | command, |
| BaseDocument * | doc, | ||
| PaintTexture * | tex, | ||
| BaseContainer * | bc | ||
| ) |
| TempUVHandle* GetActiveUVSet | ( | BaseDocument * | doc, |
| Int32 | flags | ||
| ) |
Retrieves the document's active UV set.
| [in] | doc | The document returning the active UV set. |
| [in] | flags | The flags: GETACTIVEUVSET |
| void FreeActiveUVSet | ( | TempUVHandle * | handle | ) |
Frees the active UV set.
| [in] | handle | The temporary handle of the UV set to be freed. |
| Bool CallUVCommand | ( | const Vector * | padr, |
| Int32 | PointCount, | ||
| const CPolygon * | polys, | ||
| Int32 | lPolyCount, | ||
| UVWStruct * | uvw, | ||
| BaseSelect * | polyselection, | ||
| BaseSelect * | pointselection, | ||
| BaseObject * | op, | ||
| Int32 | mode, | ||
| Int32 | cmdid, | ||
| const BaseContainer & | settings | ||
| ) |
Calls UV commands.
Example:
| [in] | padr | The address of the points array. |
| [in] | PointCount | The number of points in padr array. |
| [in] | polys | The address of the polygons array. |
| [in] | lPolyCount | The number of polygons in polys array. |
| [in] | uvw | The address of the UV array. |
| [in] | polyselection | The polygon selection. |
| [in] | pointselection | The UV points selection. The points are indexed by 4 * polygon + point where polygon is the polygon index and point is the point index between 0 and 3. |
| [in] | op | The object of the UV set. |
| [in] | mode | The UV editing mode: EditorModes |
| [in] | cmdid | The UV command: UVCOMMAND |
| [in] | settings | The optional settings for the UV command. |
Identifies an image's file format.
| [in] | texpath | The texture's file path. |
| Bool BPSetupWizardWithParameters | ( | BaseDocument * | doc, |
| const BaseContainer & | settings, | ||
| AtomArray & | objects, | ||
| AtomArray & | material | ||
| ) |
Runs BodyPaint 3D paint wizard.
| [in] | doc | The document. |
| [in] | settings | The settings for the paint wizard: AMSI |
| [in] | objects | An array with the objects the paint wizard is using. |
| [in] | material | An array with the materials the paint wizard is using. |
| Bool CalculateTextureSize | ( | BaseDocument * | doc, |
| AtomArray & | materials, | ||
| TextureSize *& | sizes | ||
| ) |
Calculates the texture size based on the geometry and the size of the UV polygons.
| [in] | doc | The document. |
| [in] | materials | An array containing the materials the texture size calculation is applied to. |
| [in] | sizes | An array with the texture sizes, equals the number of materials. Must be freed with DeleteMem. |
| Bool GetAllStrings_AddTexture | ( | const void * | msgdata, |
| const BaseContainer & | d | ||
| ) |
Private.
Activates/deactivates paint channels.
| [in] | channel | The paint channel: CHANNEL |
| [in] | multi | true for multi channel painting, false for single channel painting. |
| [in] | enable | true to activate the paint channel, false to deactivate the paint channel. |
| PaintTexture* PainterCreateNewTextureDialog | ( | String & | result, |
| Filename & | resultdirectory, | ||
| Int32 | channelid, | ||
| BaseMaterial * | bmat | ||
| ) |
Opens the texture creation dialog for a material.
| [out] | result | Filled with the texture's name (e.g. the filename). |
| [out] | resultdirectory | The directory of the texture. |
| [in] | channelid | The channel type: CHANNEL |
| [in] | bmat | The material of the texture. |