Hi Gerrit,

the "editFieldPtr" are currently not necessary but they were there
with both versions of OpenSG.
I will try the current OpenSG version again,
but need to recompile it first.

In the conversion into a cluster application I would like to use
the ClusterServer object without a window.
Using it with a GLUT window works fine!
server = new OSG::ClusterServer(win,
                      name,
                      connectionType,
                      address,
                      servicePort,
                      serviceGroup);
Using it with win=NULL and "server->doSync(true);" instead of 
"server->render(ract);" seems not to be sufficient.
So what is necessary to make it work with a minimal window class
(without any rendering)?

Thanks,
Christoph


On 28.01.2012 03:37, Gerrit Voß wrote:
>
> Hi,
>
> On Thu, 2012-01-26 at 08:25 +0100, Christoph Fünfzig wrote:
>> Hi Gerrit,
>>
>> Yes exactly, the code you have still available :-)
>> I tried a branch from before the fix, and one from tuesday.
>>
>> > 
>> > the code is very slow (20 fps with 4 threads, now 1 fps).
>> > Perhaps we can find a solution which does not require any locks?
>> > For obvious reasons, I prefer the previous speed.
>>
>> that sounds weird. As I changed this I could not tell much of a 
>> difference.
>> Let me roughly measure things and see if it is really that bad. 
>> You are still referencing your sample program were nothing except a
>> few transformations are changing per frame ?
>
> hmm, interesting. Results so far, the baseline (complex scene manager
> with 4 windows, normal + position anims) the sync times go down slightly
> without the global lock. 
>
> The two curious things I still try to track down, in general the sync
> is a factor of four slower in your test program. But the big impact you
> see comes from
>
>  GeoUInt32Property::StoredFieldType* l = lens->editFieldPtr();
>
> in the FastFollower::intersectGrid.
>
> If I change this to 
>
> const GeoUInt32Property::StoredFieldType* l = lens->getFieldPtr();
>
> the sync times are down to the normal level. I'll try to understand
> where this is coming from. As my test case also modifies the geometry
> something weird seems to be triggered here. I'll get back once I know
> more.
>
> kind regards
>   gerrit
>
>
>

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to