/[libvob]/libvob/doc/pegboard/vobscene_recursion--tjl/peg.rst
ViewVC logotype

Diff of /libvob/doc/pegboard/vobscene_recursion--tjl/peg.rst

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by tjl, Tue Aug 5 12:04:33 2003 UTC revision 1.7 by tjl, Wed Aug 6 16:27:43 2003 UTC
# Line 40  Issues Line 40  Issues
40      life a bit more difficult internally (can't just copy a list) but      life a bit more difficult internally (can't just copy a list) but
41      should be well worth it e.g. for FenPDF.      should be well worth it e.g. for FenPDF.
42    
43  - How do we map between coordinate systems?  - How do we map between coordinate systems of the parent and child vobscenes?
44    
45      RESOLVED: By explicitly creating a coordinate system in the parent      RESOLVED: By explicitly creating a coordinate system in the parent
46      corresponding to a coordinate system in the child by a special method.      corresponding to a coordinate system in the child by a special method.
47    
48  - Modifications to child vobscenes?  - Are modifications to child vobscenes allowed?
49    
50      RESOLVED: Using a vobscene after a child that was placed into it      RESOLVED: Using a vobscene after a child that was placed into it
51      has been altered in any way **except** coordinate system parameter      has been altered in any way **except** coordinate system parameter
# Line 71  Issues Line 71  Issues
71      the initial coordinate systems will be numbered -- an extra parameter      the initial coordinate systems will be numbered -- an extra parameter
72      to createVobScene (reserveCS).      to createVobScene (reserveCS).
73    
74        It is recommended that a class with constants is created to
75        number the initial coordinate systems, for ease of access.
76    
77  - Should the child vobscene define the number of coordsys  - Should the child vobscene define the number of coordsys
78    in the beginning to replace with coordsys from the parent?    in the beginning to replace with coordsys from the parent?
79    
# Line 113  Issues Line 116  Issues
116  - Is a normal VobScene usable as a child vobscene? Or do we need special  - Is a normal VobScene usable as a child vobscene? Or do we need special
117    operations?    operations?
118    
119      RESOLVED: No. Too much overhead and difficulties. The correct way      RESOLVED: No, it should not be usable. Too much overhead and difficulties.
120        The correct way
121      is to create a VobScene by the      is to create a VobScene by the
122      ``GraphicsAPI.RenderingSurface.createChildVobScene(int reserveCS)``      ``GraphicsAPI.RenderingSurface.createChildVobScene(int reserveCS)``
123      call.        call.  
# Line 165  an identity transformation). Line 169  an identity transformation).
169  The unit box of CS 1 is set to screen size, while the unit box  The unit box of CS 1 is set to screen size, while the unit box
170  of CS 0 is (1,1).  of CS 0 is (1,1).
171    
172    OpenGL implementation
173    ---------------------
174    
175    In OpenGL, the recursion is implemented by a special coordinate system type
176    and a special Vob.
177    
178    The special coordinate system type causes the Coorder to call a method
179    to get the child coorder through an interface given to it, giving itself
180    as the parent parameter.
181    
182    
183    
184    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26