Re: [Opensg-users] MultipassMaterial and PolygonForeground

2011-02-14 Thread Michael Raab
urceforge.net > Betreff: Re: [Opensg-users] MultipassMaterial and PolygonForeground > Hello Michael, > > On 02/10/2011 02:07 AM, Michael Raab wrote: > > MPM > > - ChunkMaterial_1 > > -- MaterialChunk > > --- Lit = True > > --- ColorMate

Re: [Opensg-users] MultipassMaterial and PolygonForeground

2011-02-12 Thread Carsten Neumann
Hello Michael, On 02/10/2011 02:07 AM, Michael Raab wrote: > MPM > - ChunkMaterial_1 > -- MaterialChunk > --- Lit = True > --- ColorMaterial = GL_AMBIENT_AND_DIFFUSE > --- BackColorMaterial = GL_AMBIENT_AND_DIFFUSE > - ChunkMaterial_2 > -- MaterialChunk > --- Diffuse (0.3;0.4;1.0) > --- Li

Re: [Opensg-users] MultipassMaterial and PolygonForeground

2011-02-10 Thread Michael Raab
forge.net > Betreff: Re: [Opensg-users] MultipassMaterial and PolygonForeground > Hello Josef, > > On 02/09/2011 06:09 AM, Josef Grunig wrote: > > yes, it works fine for me. I said I'm not used to OpenSG coding... ;-) > > ok, thanks for testing. &

Re: [Opensg-users] MultipassMaterial and PolygonForeground

2011-02-09 Thread Carsten Neumann
Hello Josef, On 02/09/2011 06:09 AM, Josef Grunig wrote: > yes, it works fine for me. I said I'm not used to OpenSG coding... ;-) ok, thanks for testing. > Anyway my code comes from the basis of the > RenderAction::getMaterialStates() method; probably there might be some > possible refac

Re: [Opensg-users] MultipassMaterial and PolygonForeground

2011-02-09 Thread Josef Grunig
Hi Carsten, yes, it works fine for me. I said I'm not used to OpenSG coding... ;-) Anyway my code comes from the basis of the RenderAction::getMaterialStates() method; probably there might be some possible refactoring too. You may have noticed I've added a GLMatrixMode(GL_PROJECTION) before the s

Re: [Opensg-users] MultipassMaterial and PolygonForeground

2011-02-08 Thread Carsten Neumann
Hello Josef, On 02/08/2011 03:42 AM, Josef Grunig wrote: I've noticed that Multipass Materials weren't correctly handled by OpenSG 1.8 when added to a PolygonForeground: http://www.mail-archive.com/opensg-users@lists.sourceforge.net/msg07826.html Here I attach the whole cpp I modified s

[Opensg-users] MultipassMaterial and PolygonForeground

2011-02-08 Thread Josef Grunig
Dear OpenSG users, I've noticed that Multipass Materials weren't correctly handled by OpenSG 1.8 when added to a PolygonForeground: http://www.mail-archive.com/opensg-users@lists.sourceforge.net/msg07826.html Here I attach the whole cpp I modified starting from a quite old revision of OpenSG. Sor