Basics of 3D Compositing

A comprehensive guide to 3D compositing with Smode.

basics3Dcompositing basics3Dcompositing basics3Dcompositing basics3Dcompositing

Create a new GeometryLayer Icon 3D Layer

GeometryLayer Icon 3D Layer follow the same structure as TextureLayer Icon 2D Layer with a GeometryV9Generator Icon 3D Generator and a GeometryV9Renderer Icon 3D Renderer .

They need to be created inside of a 2D container like a Compo Icon Compo or a ProcessorCompo Icon Processor that will determine the point of view and resolution.

You can create different types of GeometryLayer Icon 3D Layer : a mesh, a spline or points.

types3Dlayers types3Dlayers


2D-3D view

When you are working on a Compo Icon Compo that contains 3D elements, you can choose to preview the 3D view of your objects in the ViewportWorkspaceComponent Icon Viewport , allowing you to move around in the 3D space, or the 2D view from a specific viewpoint.

Learn how it works by reading: 2D-3D view .

2D-3Dview 2D-3Dview


Move 3D objects in space

To move a 3D object in the 3D space you can either move it directly in the ViewportWorkspaceComponent Icon Viewport using the helpers:

placementViewport placementViewport

Or by changing the values in the Placement3d Icon 3D Placement parameters:

placementParameters placementParameters

There are different types of Placement3d Icon 3D Placement that give you access to different parameters to help you place your object in space in the most suitable way for your need.

For example, to resize a 3D object you need the size parameter so you can choose the placement type Position Orientation Size.

types3Dplacement types3Dplacement


Add CameraV9 Icon Camera

A Compo Icon Compo is a TextureLayer Icon 2D Layer so you can create one or more CameraV9 Icon Camera to choose a point of view for your 3D scene in the 2D view.

createCamera createCamera

If you have several CameraV9 Icon Camera , set the CameraV9 Icon Camera you want as Current Camera by clicking on the icon.

currentCamera currentCamera

If you still want to be able to look around the object without moving the point of view of the CameraV9 Icon Camera , you can still switch back to 3D view at any time or create a 2nd CameraV9 Icon Camera for that purpose (and temporarily set it as Current Camera).

Learn more about cameras by reading: Using Cameras .


Add GeometryV9Modifier Icon 3D Modifier

Similarly to TextureLayer Icon 2D Layer , you can also apply effects to GeometryLayer Icon 3D Layer using GeometryV9Modifier Icon 3D Modifier .

There are different categories of modifiers depending on the type of effect you want to apply to your layer. Refer to the GeometryV9Modifier Icon 3D Modifier documentation to learn more about each modifier.


Add GeometryMask Icon 3D Mask

It is also possible to add a GeometryMask Icon 3D Mask over the GeometryV9Modifier Icon 3D Modifier .

Refer to the Using 3D Masks documentation to learn how to use GeometryMask Icon 3D Mask .


Change GeometryV9Generator Icon 3D Generator type

One advantage of creating 3D object directly in Smode is that it’s easy to change their type at any time.

For example, if you created a Sphere but now want a Box, all you have to do is change the GeometryV9Generator Icon 3D Generator type and it will keep the same Placement3d Icon 3D Placement and GeometryV9Renderer Icon 3D Renderer .

typeGenerator typeGenerator


Render TextureLayer Icon 2D Layer in 3D

In some cases, you may want a TextureLayer Icon 2D Layer to be at a specific point in 3D space to create certain types of effect. The problem is that, as a TextureLayer Icon 2D Layer , it’s not visible in the 3D view. To make it look like a 3D element (plane), you can change its TextureRenderer Icon 2D Renderer to 3D Renderer so that it acts like a GeometryLayer Icon 3D Layer .

3Drenderer2Dlayer 3Drenderer2Dlayer

Refer to the Single3dTextureRenderer Icon 3D Renderer for 2D Layers topic for more details.


Convert a TextureLayer Icon 2D Layer into 3D PlaneGeometryGenerator Icon Plane

If you want a TextureLayer Icon 2D Layer to completely become a GeometryLayer Icon 3D Layer , you can transform it into a 3D PlaneGeometryGenerator Icon Plane by right clicking on it and selecting Transform into 3D layer plane.

transformInto3Dplane transformInto3Dplane

Note: This option is only available when the renderer of the 2D layer has already been changed to Single3dTextureRenderer Icon 3D Renderer for 2D Layers


Import Scene3dFileGeometryGenerator Icon 3D File

It is possible to import Scene3dFileGeometryGenerator Icon 3D File into Smode, like FBX or OBJ files.

Learn more about how to import them by reading: Using 3D files .


Import textures

There are different types of materials in Smode. If you import a Scene3dFileGeometryGenerator Icon 3D File and you have images to texture it, you might want to use the PBRSurfaceGeometryRenderer Icon PBR Surface and simply drag and drop the images to the corresponding passes while pressing Alt.

pbrSurface pbrSurface


FBX with animation

If you import a fbx Scene3dFileGeometryGenerator Icon 3D File with animation, a TimelineCue Icon Timeline will automatically be created. You just have to press play to see the animation playing.

fbxAnim fbxAnim


Create a ParticlesGeometryGenerator Icon Particles system

Smode has a native ParticlesGeometryGenerator Icon Particles system. It is a type of 3D layer consisting only of points.

Check out the ParticlesGeometryGenerator Icon Particles documentation for more information.

Particles come with Emission parameters like their speed, life time etc. There is a Manual Emit parameter that allows to manually emit a given number of particles all at once by pressing the Emit Now button.

To shape the particle emission the way you want, you can add some Field Icon Field that represent forces in space. They will act on the particle system using physics properties. You can decide how or where a Field Icon Field will affect your particle system using a GeometryMask Icon 3D Mask .

You can also affect the behaviour of the ParticlesGeometryGenerator Icon Particles system by adding ParticleRule Icon Particle Rule and ParticleAction Icon Particle Action . Dive deeper into their documentation to explore their full capabilities.


Tutorials

Here is a little video to show you some of the basic manipulations of 3D generators : how to slice them, display only vertical or horizontal wire-frame lines, remove caps and subdivide them. The BoxGeometryGenerator Icon Box has embedded UV maps, but you can change the UV of any Smode primitive Geometry using the UVMappingGeometryModifier Icon UV Mapping modifier: