path: root/src/lib/evas/canvas/evas_canvas3d_node.eo
diff options
authorOleksandr Shcherbina <o.shcherbina@samsung.com>2016-03-15 12:49:33 -0700
committerCedric Bail <cedric@osg.samsung.com>2016-03-15 12:49:39 -0700
commit296e8c22b039fd5669ad95375733bf214b23d71e (patch)
tree1aee03de378e591cbe0039bbaaa1c4f4788a8459 /src/lib/evas/canvas/evas_canvas3d_node.eo
parentevas: some changes for preload thread dead lock issue (diff)
evas.canvas3d: support static LOD technic
Summary: Main flow: add several meshes(with different number of polygons) in one node, enable LOD for node, set boundary distances to choose need mesh depend on distance to the camera node, render only need mesh. Add API's enable lod in evas_canvas3d_node module and set boundary distance to module evas_canvas3d_mesh module Refactored function evas_canvas3d_node_mesh_collect to calculate distance. Refactored _scene_render to have possibility pass to the render only need LOD mesh. Reviewers: cedric, Hermet, raster Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3731 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evas/canvas/evas_canvas3d_node.eo')
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_node.eo b/src/lib/evas/canvas/evas_canvas3d_node.eo
index 2ae271ad20..bded3241fe 100644
--- a/src/lib/evas/canvas/evas_canvas3d_node.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_node.eo
@@ -368,6 +368,19 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object, Evas.Common_Interface)
or $null if there're none.]]
+ @property lod_enable {
+ set {
+ [[Enable behavior of node like LOD object.]]
+ }
+ get {
+ [[Get(check) status of node does node is LOD object.
+ See also @Evas.Canvas3D.Node.lod_enable.set.]]
+ }
+ values {
+ enable: bool; [[status property (true/false)]]
+ }
+ }
implements {