[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/doc/pegboard/vobscene_recursion--tjl peg...
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] libvob/doc/pegboard/vobscene_recursion--tjl peg... |
Date: |
Wed, 06 Aug 2003 12:27:43 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Branch:
Changes by: Tuomas J. Lukka <address@hidden> 03/08/06 12:27:43
Modified files:
doc/pegboard/vobscene_recursion--tjl: peg.rst
Log message:
Thinking about recursion still
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/doc/pegboard/vobscene_recursion--tjl/peg.rst.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: libvob/doc/pegboard/vobscene_recursion--tjl/peg.rst
diff -u libvob/doc/pegboard/vobscene_recursion--tjl/peg.rst:1.6
libvob/doc/pegboard/vobscene_recursion--tjl/peg.rst:1.7
--- libvob/doc/pegboard/vobscene_recursion--tjl/peg.rst:1.6 Tue Aug 5
08:04:33 2003
+++ libvob/doc/pegboard/vobscene_recursion--tjl/peg.rst Wed Aug 6 12:27:43 2003
@@ -3,8 +3,8 @@
=============================================================
:Author: Tuomas J. Lukka
-:Last-Modified: $Date: 2003/08/05 12:04:33 $
-:Revision: $Revision: 1.6 $
+:Last-Modified: $Date: 2003/08/06 16:27:43 $
+:Revision: $Revision: 1.7 $
:Status: Current
Performance problems in PP show that we should soon make a big
@@ -40,12 +40,12 @@
life a bit more difficult internally (can't just copy a list) but
should be well worth it e.g. for FenPDF.
-- How do we map between coordinate systems?
+- How do we map between coordinate systems of the parent and child vobscenes?
RESOLVED: By explicitly creating a coordinate system in the parent
corresponding to a coordinate system in the child by a special method.
-- Modifications to child vobscenes?
+- Are modifications to child vobscenes allowed?
RESOLVED: Using a vobscene after a child that was placed into it
has been altered in any way **except** coordinate system parameter
@@ -71,6 +71,9 @@
the initial coordinate systems will be numbered -- an extra parameter
to createVobScene (reserveCS).
+ It is recommended that a class with constants is created to
+ number the initial coordinate systems, for ease of access.
+
- Should the child vobscene define the number of coordsys
in the beginning to replace with coordsys from the parent?
@@ -113,7 +116,8 @@
- Is a normal VobScene usable as a child vobscene? Or do we need special
operations?
- RESOLVED: No. Too much overhead and difficulties. The correct way
+ RESOLVED: No, it should not be usable. Too much overhead and difficulties.
+ The correct way
is to create a VobScene by the
``GraphicsAPI.RenderingSurface.createChildVobScene(int reserveCS)``
call.
@@ -164,5 +168,17 @@
The unit box of CS 1 is set to screen size, while the unit box
of CS 0 is (1,1).
+
+OpenGL implementation
+---------------------
+
+In OpenGL, the recursion is implemented by a special coordinate system type
+and a special Vob.
+
+The special coordinate system type causes the Coorder to call a method
+to get the child coorder through an interface given to it, giving itself
+as the parent parameter.
+
+