Browse Source

Same as before

Panagiotis Christopoulos Charitos 14 years ago
parent
commit
35f84d711e
1 changed files with 10 additions and 11 deletions
  1. 10 11
      docs/drafts/scene-abstraction.txt

+ 10 - 11
docs/drafts/scene-abstraction.txt

@@ -37,25 +37,25 @@ Every scene node has a few properties that are actually interfaces. This interfa
 
 
 
 
 - VisibleCheckable
 - VisibleCheckable
-	- getCollisionShape (virtual)
+	- getCollisionShape [virtual]
 	- getVisible
 	- getVisible
 	- setVisible
 	- setVisible
 	- getVisibilityGroup
 	- getVisibilityGroup
 	
 	
 - Renderable
 - Renderable
-	- material (virtual)
-	- getVao(level, passType) (virtual)
+	- material [virtual]
+	- getVao(level, passType) [virtual]
 	
 	
 - IsRenderable
 - IsRenderable
-	- getMaterialRuntime (virtual)
-	- getVao() (virtual)
+	- getMaterialRuntime [virtual]
+	- getVao() [virtual]
 	
 	
 - VisiblesContainable
 - VisiblesContainable
-	- N * VisibilityGroups with VisibleCheckable
+	- N * M sceneNodes where N is 4 (renderables and lights) and M is the number of the scene nodes
 	- testFrustum(VisibleCheckable)
 	- testFrustum(VisibleCheckable)
 	
 	
 - RenderablesContainable
 - RenderablesContainable
-	- N * renderables
+	- N * SceneNode
 	- nodesInheritCollisionShape
 	- nodesInheritCollisionShape
 
 
 
 
@@ -102,10 +102,9 @@ In visibility testing we gather the visible renderables of MS and BS and the lig
 
 
 Real flow:
 Real flow:
 
 
-	- Set all nodes to not visible
-	- Gather all renderables and lights 
-	- For every light that casts shadow get renderables
-
+	function test(cam)
+		for 
+	endfunction
 
 
 ::
 ::