Hi everybody,
I'm working on a simple clustered application, where the Server has a
user-defined RenderAction and the Client has the pieces of information
about the initial state of the geometry to be sent to the Servers
(including transformations such as translations).
Here is what my application does:
Client side:
- Create a Cube
- Create a Torus
- Create a Cone
- Apply a translation to the Cube
- Apply a translation to the Torus
- Apply a translation to the Sphere
- Pass the scene to the Server
Server Side:
- Define a custom RenderAction
- For every node in the graph containing a Geometry Core:
- Get the previous translation matrix from the current node's
parent's Transform Core
- Define a new rotation matrix
- Multiply the two previously obtained matrices
- Apply the result matrix to the current node's parent's
Transform Core
I found out that the Server loses the initial translation data for every
node, since it gets overwritten during the last described step and the
Client sends it only once in the very beginning.
So my questions are:
1 - Is there a way for the Server to render the scene applying further
transformations to it without losing the initial state of the scene (the
transformation matrices) passed by the client ?
2 - Does the Server-side data modifying interfere in any way with the
Client ?
Regards,
Carlo
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users