[eq-dev] Propagating non-static size input data through ConfigEvents
cpapadopoulo at cs.sunysb.edu
Wed Mar 17 22:30:23 CET 2010
I am currently working on integrating Equalizer with Ogre3D (doing a
complete rewrite of the old eqOgre project). I have a prototype up and
running already and I am ramping up to making a .scene file loader.
I want to be able to trigger a scene load at the render clients from my
server. Initially, I figured I would do that in a way similar to how I do my
input handling, just "subclass" ConfigEvent, add a field with the filename
of the scene I wish to load and send it to the nodes with
config->sendEvent() (right now my input handling is dealt with by sending
out config events with the camera data).
However, this does not work obviously (ConfigEvent struct sizes are
calculated statically which messes up with the transmission of the packet
and causes weird memory corruption errors left and right).
I am sort of stuck as to what is the optimal way to get such information
from my head node to my render clients in my application.
Any input is greatly appreaciated!
Thank you :D.
View this message in context: http://n2.nabble.com/Propagating-non-static-size-input-data-through-ConfigEvents-tp4753149p4753149.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
More information about the eq-dev