Re: [osg-users] osg es : store/restore states

2008-02-20 Thread Robert Osfield
Hi Andi,

On Feb 20, 2008 1:23 PM, Kremser, Andreas (Praktikant)
[EMAIL PROTECTED] wrote:
 hi,

 is there a possibilty to store/restore the current server/clientstates
 besides glgetIntegerv() and glPushClient/ServerAttrib?
 opengl es does not provide these functions.

osg::State is used to track OpenGL state including the client state,
so you can use this.

 if for example a normal array is set in a function - and another
 function called after this is not using normal arrays - then these
 should be disabled after their use.

 Or will osgES always have to keep track off the current states by
 itself?

It might be that more state tracking needs to be put into osg::State
to help out with the OpenGL ES, but not being really familiar with
OpenGL ES yet, and not knowing what precise problems you are hitting
up against I can't really say beyond point you in the direction of
osg::State as the object for tracking a graphics contexts current
state.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osg es : store/restore states

2008-02-20 Thread Kremser, Andreas (Praktikant)
hi,

is there a possibilty to store/restore the current server/clientstates
besides glgetIntegerv() and glPushClient/ServerAttrib?
opengl es does not provide these functions.

if for example a normal array is set in a function - and another
function called after this is not using normal arrays - then these
should be disabled after their use.

Or will osgES always have to keep track off the current states by
itself?

thanks,

andi 
 
***
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe 
dieser Mail ist nicht gestattet.
 
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
***
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osg es : store/restore states

2008-02-20 Thread Kremser, Andreas (Praktikant)
thanks - i completely overlooked that :)
 

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Im Auftrag 
von Robert Osfield
Gesendet: Mittwoch, 20. Februar 2008 14:42
An: OpenSceneGraph Users
Betreff: Re: [osg-users] osg es : store/restore states

Hi Andi,

On Feb 20, 2008 1:23 PM, Kremser, Andreas (Praktikant) 
[EMAIL PROTECTED] wrote:
 hi,

 is there a possibilty to store/restore the current 
server/clientstates 
 besides glgetIntegerv() and glPushClient/ServerAttrib?
 opengl es does not provide these functions.

osg::State is used to track OpenGL state including the client 
state, so you can use this.

 if for example a normal array is set in a function - and another 
 function called after this is not using normal arrays - then these 
 should be disabled after their use.

 Or will osgES always have to keep track off the current states by 
 itself?

It might be that more state tracking needs to be put into 
osg::State to help out with the OpenGL ES, but not being 
really familiar with OpenGL ES yet, and not knowing what 
precise problems you are hitting up against I can't really say 
beyond point you in the direction of osg::State as the object 
for tracking a graphics contexts current state.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen
egraph.org

 
 
***
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe 
dieser Mail ist nicht gestattet.
 
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
***
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org