Skip to main content
This revision made May 02, 2011 16:14, by Ken

J3D Scene Graph Update Study

A test program that is useful in understanding the following 2 tables is kept in Issue 286.

Textures

The following describe image-based, scene graph update delays with respect to the rendering cycle:

0 = Synchronized with other standard scene graph updates, such as transform change. 1 = The update is one frame ahead of other standard scene graph updates. ( See also : Issue 284.) X = The update toggle between two frames ahead and synchronized with standard scene graph updates. ( See also : Issue 286. )

  1. Texture2D by reference (new OR triple buffer) =0
  2. Texture2D by reference (double buffer) =X
  3. Texture2D by copy: 'always 0'
  4. ImageComponent2D: 'same as Texture2D'
  5. BufferedImage: 'always 1'
  6. DataBuffer via updateDate: 'always 1'

Geometry

The following describe geometry-based, scene graph update delays with respect to the rendering cycle:

0 = Synchronized with other standard scene graph updates, such as transform change. 1 = The update is one frame ahead of other standard scene graph updates. ( See also : Issue 285.)

  1. setGeometry by ref=1
  2. setGeometry by copy=0
  3. setCoordinate by copy/ref/updateData=1
Difference compared to previous revision
<span> ==Textures== The following describe image-based, scene graph update delays with respect to the rendering cycle:<span style="text-decoration:line-through;color:red">* </span>0 = Synchronized with other standard scene graph updates, such as transform change. <span style="text-decoration:line-through;color:red">* </span>1 = The update is one frame ahead of other standard scene graph updates. ( See also : Issue 284.) <span style="text-decoration:line-through;color:red">* </span>X = The update toggle between two frames ahead and synchronized with standard scene graph updates. ( See also : Issue 286. ) #Texture2D by reference<span style="text-decoration:line-through;color:red"> *</span> <span style="text-decoration:line-through;color:red">N</span>=J3D Scene Graph Update Study= A test program that is useful in understanding the following 2 tables is kept in Issue 286. ... 1 = The update is one frame ahead of other standard scene graph updates. ( See also : Issue 284.) X = The update toggle between two frames ahead and synchronized with standard scene graph updates. ( See also : Issue 286. ) #Texture2D by reference <span style="text-decoration:underline;color:green">(n</span>ew<span style="text-decoration:line-through;color:red">=0 *</span> <span style="text-decoration:line-through;color:red">Doub</span>ew <span style="text-decoration:underline;color:green">OR trip</span>le <span style="text-decoration:line-through;color:red">B</span><span style="text-decoration:underline;color:green">b</span>uffer<span style="text-decoration:underline;color:green">) </span>uffer=<span style="text-decoration:line-through;color:red">X</span>=<span style="text-decoration:underline;color:green">0</span> <span style="text-decoration:line-through;color:red">*</span><span style="text-decoration:underline;color:green">#</span>T<span style="text-decoration:underline;color:green">extu</span>Tr<span style="text-decoration:line-through;color:red">ip</span>r<span style="text-decoration:underline;color:green">e2D by reference (doub</span>le <span style="text-decoration:line-through;color:red">B</span><span style="text-decoration:underline;color:green">b</span>uffer<span style="text-decoration:underline;color:green">) </span>uffer=<span style="text-decoration:line-through;color:red">0</span>=<span style="text-decoration:underline;color:green">X</span> <span style="text-decoration:line-through;color:red"> </span>#Texture2D by copy: 'always 0' #ImageComponent2D: 'same as Texture2D' #BufferedImage: 'always 1' #DataBuffer via updateDate: 'always 1' ... ==Geometry== The following describe geometry-based, scene graph update delays with respect to the rendering cycle:<span style="text-decoration:line-through;color:red">* </span>0 = Synchronized with other standard scene graph updates, such as transform change. <span style="text-decoration:line-through;color:red">* </span>1 = The update is one frame ahead of other standard scene graph updates. ( See also : Issue 285.) #setGeometry by ref=1 #setGeometry by copy=0 #setCoordinate by copy/ref/updateData=1 <span>
 
 
Close
loading
Please Confirm
Close