Skip to main content

3D Effects Solution

Summary

This solution shows various features of a 3D scene. These are mainly the different node-types including morphing, shadows, level of detail, particles and many more. Animations that illustrate the features are included. The animations also show that control properties can be animated.

Purpose

The user can see how the single 3D features are realized in a scene. Own use cases, based on the features, can be created with the help of the solution and this documentation.

Description

This section describes the single use cases that are represented in this solution. The particle emitters and 3d skinning are in separate scenes.
When viewing this solution in the Player, you can switch scenes using the buttons at the bottom (Effects/Particles/Skinning, orange frame in the figure below).

drawing-4-1718024509.png

The properties of the particle emitters are animated, which can be seen when starting the appropriate particle animation. Beside the use-cases, a Skybox is used in the scene to create an environment for it. The skybox is also used in the "Glass" use case. Due to the fact that this solution is a sample solution there are labels included in the Skybox (like "Left-Front") that show how it is applied.


Animation Types

This use case shows the different animation interpolation types that can be chosen in SceneComposer. Those are from left to right: Step, Linear, Spline, Bezier, Ease. The spheres have the same keyframe values, only the animation type is different. The appropriate animation can be played by choosing it from the animation drop-down menu of the toolbar.

drawing-7-1676512462.png

Morphing

This use case shows how morphing can be realized in SceneComposer. Basically, all that is needed is a MorphingMesh-node that has the morphing vertex-buffers applied as in the sample scene. The weights of the morphing vertex-buffers are animated as well as the colors of the material. The appropriate animation can be played by choosing it from the animation drop-down menu of the toolbar. Please see Morphing for more information about morphing.

drawing-7-1676512480.png

Bump Mapping

This use case shows how bump mapping can be realized. The node uses the bump-mapping appearance of the construction kit and a custom vertex buffer that has generated tangents and binormals.

drawing-7-1676512500.png

Fur Multipass Appearance

This use case shows how multipass appearances can be realized with SceneComposer. In this case a fur-material is created using multiple passes. Please see Fur for more information about fur.

drawing-7-1676512519.png

Point Sprite / Light

This use case shows how a PointSprite-node can be used in SceneComposer. In this case it represents a point light which will affect all other use cases by moving it. The appropriate animation can be played by choosing it from the animation drop-down menu of the toolbar.

drawing-7-1676512538.png

Glass

This use case shows an advanced appearance on a sphere. It uses cube-mapping, reflection and refraction. As cube-map the same one as for the Skybox is used. Please see Reflection & Refraction for more information about reflection and refraction.

drawing-7-1676512553.png

Reflection

This use case shows how a reflection can be realized in SceneComposer. This is done by a ReflectionCamera that is assigned to the camera that renders the scene. Note that in this solution scope-masks are used to be able to only reflect the car. In more detail the reflection camera has a scope-mask of 2 as the reflected car has. Objects that should not be affected by the ReflectionCamera have a scope-mask of 1, just as the scene-camera has. The appropriate animation can be played by choosing it from the animation drop-down menu of the toolbar.

drawing-7-1676512572.png

Level Of Detail

This use case shows how Level of Detail (LOD) can be realized in SceneComposer. A LodNode is placed in the scene with two children that represent the different levels of detail. The lower and upper boundaries are chosen in a way that there is a fade between the different levels. The appropriate animation can be played by choosing it from the animation drop-down menu of the toolbar. The animation moves the camera closer to the LodNode whereby the models get exchanged. Please see Level of Detail (LOD) for more information about LOD.

drawing-7-1676512588.png

Shadow

This use case shows how a shadow can be realized with SceneComposer. Especially when the light in the middle is moved (for example by playing the light-animation), the shadow-effect can be recognized. There is a PlanarShadow-node attached to the torus-node. The plance-distance of the shadow is chosen in the way that it reflects on the platform below the torus. The appropriate animation can be played by choosing it from the animation drop-down menu of the toolbar. Please see Planar Shadows for more information about planar shadows.

drawing-7-1676512604.png

Particles

This use case can be found in the "Scene_Particles" scene. It shows how the Point Sprite Emitter Control can be used to implement different particle effects. The effects shown in this sample are snow, fire, sparks and a sample for multiple textures. Each particle emitter is animated in the appropriate particle animation.

drawing-7-1676512622.png

Skinning

As a sample of skinning, skinning is set on the human body model and a walking motion is set as the animation. The skinning animation can be played by selecting it from the animation drop-down menu of the toolbar.

drawing-7-1743034731.png