]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen
Northcott
Sent: Thursday, January 31, 2008 12:04 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osg clearnode
Hi Vincent,
I used to use a clearnode a while back..
All I do now with my mixed OpenGL and OSG is the following at setup..
All I do
:[EMAIL PROTECTED] On Behalf Of
Stephen
Northcott
Sent: Thursday, January 31, 2008 12:04 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osg clearnode
Hi Vincent,
I used to use a clearnode a while back..
All I do now with my mixed OpenGL and OSG is the following at setup..
All I
Hello
Still trying to get a shader program running in an .osg mesh file
Doing the
Program {
Shader{
Type FRAGMENT
Code {
void main (void);
{
gl_FragColor = vec4 (1.0, 0.0, 0.0, 1.0);
}
Trying to get shader code to be called from file replacing code with
File
I thought I was able to do this years ago and had it work alright, so I
think I'm forgetting something...hopefully someone can help.
I need to have my clearcolor and clear masks set outside of osg
glClear(...). If I set OSG;s viewport smaller than my main viewport, I
can still see my scene
Hi Vincent,
I used to use a clearnode a while back..
All I do now with my mixed OpenGL and OSG is the following at setup..
All I do is the following..
sceneViewer-getCamera()-setClearMask(0);
You can put various GL_DEPTH_BUFFER_BIT, and colour buffer bits and so
on in the setClearMask to get
5 matches
Mail list logo