Creating a proxy scene graph
Posted: Thu 24. Nov 2011, 11:24
I have two different applications in which I need to take a scene graph and process it to create a second scene graph which is identical except that the geometry of the first has undergone a transformation of some kind. In the first case, I want to dualize a scene graph in the sense of projective geometry; in the second I want to convert the projective model of hyperboklic geometry to the conformal model. Appearances and transformations may also have to be adjusted in the process.
I've written my own SceneGraphVisitor to do this (proof of concept) but it's not instrumented to respond to changes in the original scene graph, i. e., it doesn't stay up-to-date. I have the idea that the classes in the package de.jreality.scene.proxy might be what I need but am not sure how to proceed. Anyone have any pointers?
I've written my own SceneGraphVisitor to do this (proof of concept) but it's not instrumented to respond to changes in the original scene graph, i. e., it doesn't stay up-to-date. I have the idea that the classes in the package de.jreality.scene.proxy might be what I need but am not sure how to proceed. Anyone have any pointers?