Skip to content

Environment

Brice Donval edited this page Jan 13, 2020 · 5 revisions

Environment

The Environment module is used to add characters and objects into a scene. This module creates a tree of the scene, where characters and objects are leaves. Each leaf contains 3 nodes for direction, rotation and scale. Because this tree is compatible with computer graphics standards, this environment can be used in different graphic engines like Ogre3D or Unity3D.

TreeNode :

/**
  • @param XYZ for the direction, scale, rotation
  • /
public TreeNode(float x, float y, float z, float ox, float oy, float oz, float ow, float sx, float sy, float sz ) { this.children = new ArrayList<Node>(); position = new Vec3f(x, y, z); orientation = new Quaternion(ox, oy, oz, ow); scale = new Vec3f(sx, sy , sz); }

Class diagram

Class diagram

Getting started with Greta

Greta Architecture

Quick start

Advanced

Functionalities

Core functionality

Auxiliary functionalities

Preview functionality

Nothing to show here

Previous functionality (possibly it still works, but not supported anymore)

Clone this wiki locally