The Decal entity lets you add a Decal to your 3D scene. The entity works with Decals. Once you have added the Decal entity to a Node, Decal Appearances can be added to that entity.
The Decal entity enables control over the Decals projection method, its properties and appearance. This entity allows full control over every aspect of how the Decal will display on your model.
Decals need to be positioned within a 3D scene. When added to a Node, you need to place the Node into the position you require.
With the Node selected, the Decal entity points in the direction of the blue arrow when the Orthographic projection method is selected. The bounds of an entity determines how far the Decal is projected. For all other projection methods direction does not matter, just the bounds of the Decal entity.
With the model Node selected and the Decal entity added to the Node, the following will be displayed in the Information Panel:
Render Order is a number that determines the order that Decals are rendered. Higher numbers will be rendered first working backwards towards the lower numbers. This helps in layering Decals on a 3D model. This can be considered similar to z-index on forms.
Projection Method is the projection method used for the Decals appearance. There are three options to choose from Orthographic, Cylinder and Sphere.
Decal Appearance is the name of the Decal to apply to the Decal entity. Each Decal entity needs a Decal Appearance to render onto the model.
The Quick Jump button , at the end of the Decal Appearance field, will jump to the applied Decal in the Feature Panel and select it for editing.
Cull Threshold is the angle at which the Decal will stop being rendered. This is used on the Orthographic projection method. This will give you a wider projection angle on the models surface.
Wrap Percentage is a percentage value that the Decal should wrap round either a cylinder or sphere.
With the model Node selected and the Animate Scale entity added to the Node, the following will be displayed in the Parameter Panel:
Render Order is a number that determines the order in which the Decals are rendered. Higher numbers will be rendered first working backwards towards the lower numbers. This helps in layering Decals on a 3D model. This can be considered similar to z-index on forms.
Projection Method is the Decal projection method to use for the Decals appearance. There are three options to choose from Orthographic, Cylinder and Sphere.
Decal Appearance is the name of the Decal to apply to the Decal entity. Each Decal entity requires a Decal Appearance to render onto the model.
Cull Threshold is the angle at which the Decal will stop being rendered. This is used on the Orthographic projection method. This will give you a wider projection angle onto the models surface.
Wrap Percentage is a percentage value that the Decal should wrap round either a cylinder or sphere.
The Decal entity is used with the Decal Appearance to add a Decal to a models surface inside a DriveWorks 3D Document.
To set up a Decal:
The size and shape of the Decal is controlled by the Nodes Scale properties. You can stretch or warp the image to fit the surface it is being projected onto.
For best results, control the size of the Decal with the X and Y Axis. The Z Axis is used to control the length of the projection. You can see in advance how this will affect the projection as a white box will preview the size and shape of the Decal.
We advise limiting the stretch on a Decal in Z Axis. The Decal Node should be positioned close to the model that it will be projected onto. This is because, increasing the Z Axis will stretch the projection in both directions which can result in other models unintentionally displaying the Decal.