Hello Carsten,

the 8 light sources form a chain. Unfortunately I don't have a debug version of 
OpenSG here. For your information I have exported my whole test scene to an osb 
file, which is attached to this mail. Hope this helps to find the problem. The 
test scene looks like this:

Node (Transform)
 Node (PointLight)
  Node (PointLight)
   Node (PointLight)
    Node (PointLight)
     Node (PointLight)
      Node (PointLight)
       Node (PointLight)
        Node (PointLight)
         Node (Transform)
          Node (Transform)
           Node (Group)
            Node (MaterialGroup)
             Node (Geometry)
          Node (Transform)
          Node (Transform)
          Node (Transform)
          Node (Transform)
          Node (Transform)
          Node (Transform)
          Node (Transform)
          Node (Transform)

- The first node is our root
- Followed by all 8 light sources
- Below the light source comes our test object, a simple cube
- The last 8 transform nodes are used as light source beacons

If you wish I can try to copy the relevant source code parts from our 
application.

regards,
Michael



-------- Original-Nachricht --------
> Datum: Sun, 07 Mar 2010 16:51:20 -0600
> Von: Carsten Neumann <carsten_neum...@gmx.net>
> An: opensg-users@lists.sourceforge.net
> Betreff: Re: [Opensg-users] MultiDisplayWindow Problem (1.8)

>       Hello Michael,
> 
> Michael Raab wrote:
> > 1.) we get 4 lights in both windows
> > 2.) the lights are below the root of the graph
> 
> are they siblings of each other or do they form a chain, i.e. they are 
> children of each other?
> If they are siblings at which at which child index is the scene, i.e. is 
> it possible that children 0-5 are lights, child 6 is the scene root and 
> then children 7,8 are the last two lights?
> 
> > 3.) We have tested both the same renderaction and a similar copy of it.
> Which solution would you advise for using renderactions with the 2 windows?
> 
> using one should be fine, I was just hoping to find something that gives 
> a hint at the cause of the problem.
> 
> > 4.) I did a test with glintercept this morning. In my scenario are 8
> lights. In 'double window mode' the last two are missing. As far as I can see
> when using the second window there are only lights 0-5 enabled. I'm
> attaching the logs of the single window run and the double window logs for 
> client
> and server app.
> > Hope you have any idea..
> 
> hm, for some reason only the first six lights seem to have their state 
> activated. Can you run the program under a debugger, place a breakpoint 
> on osg::Light::renderEnter and osg::RenderAction::dropLight and make 
> sure that they both get called 8 times per frame?
> Is it possible for you to send the code you used to get the glIntercept 
> logs?
> 
>       Cheers,
>               Carsten
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

Attachment: scene.osb
Description: Binary data

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to