Code Examples
From Flare3D - WIKI
The following examples are includes with Flare3D 2.0
- Test01 - The Basics 1: How to create a simple 3D scene and load content from external files.
- Test02 - The Basics 2: This example extends Test01 and implements Update Event.
- Test03 - Input3D: How to interact with scene elements using keyboard.
- Test04 - Camera3D: How to create a and manipulate camera.
- Test05 - Movements: How to move specifics elements into the scene.
- Test06 - Animations: How to handle and blend animations.
- Test07 - Clones: How to clone objects into the scene.
- Test08 - Particles: How to generate particles emmiters.
- Test09 - Lights and Collisions: How to implement lights and collisions.
- Test10 - Lights and Materials: How to handle materials.
- Test11 - Picture Gallery: Simple 3D Picture gallery.
- Test12 - Mouse and planes: A bunch of planes textured with alpha mask and mouse events test.
- Test13 - Animated textures: Animated texture using sprite sheets.
- Test14 - CustomMesh3D: How to create a Mesh from code.
- Test15 - Simple Normal Map: Simple Normal Map example.
- Test16 - Mixamo Collada Models: Loading HQ Mixamo's models.
- Test17 - Custom Terrain Filter: Custom FLSL Filter and mesh deform.
- Test18 - CubeMesh: 65536 cubes generated from code.
- Test19 - Embeding Collada File: Three techniques to embed Collada files.
- Test20 - ControlBones: How to control bones manually.
- Test21 - Planet: How to build a new planet.
- Test22 - Drag & Drop: Drag & Drop with 3D objects.
- Test23 - Bone controller: How to attach a bone controller to an object.
- Test24 - Append animations: Loads external animation files.
- Test25 - Materials 1: Working with materials.
- Test26 - Materials 2: Working with materials.
- Test27 - Multiple cameras: How to use multiple cameras.
- Test28 - Stroke: This example creates a stroke fake or border around the 3d models.
- Test29 - Normal Map: Normal map test.
- Test32 - Skybox: Shows how to use the SkyBox class.
- Test33 - Texture Painting: Detect Mouse collision and paint the texture in the hit point.
- Test34 - Change Textures: Change textures in realtime.
- Test35 - Alpha Sorting: Sorted Elements with Alpha (the elements are sorted by layer)