Thanks, Robert,
Well, I am happy with this simple example. I don't think I want change much
here. Of course I will modify VirtualProgram to use State::getAttributeVec()
directly. I will also replace all "effect" words to "virtualProgram"
(VirtualProgram started as Effect class it was later refactored to
VirtualProgram). I am sure you may want to add some formal modifications as
well.
I thought about creating more elaborate example but maybe we could do both.
We may start with this one and later this week I will post more advanced one
?
What do you think ?
Wojtek
----- Original Message -----
From: "Robert Osfield" <[email protected]>
To: "OpenSceneGraph Users" <[email protected]>
Sent: Tuesday, May 12, 2009 8:12 AM
Subject: Re: [osg-users] VirtualProgram - making programmable
pipelinelessfixed
Hi Wojtek,
On Mon, May 11, 2009 at 10:06 PM, Wojciech Lewandowski
<[email protected]> wrote:
Thanks for Warm welcome. If nothing interrupts me I will try tomorrow to
add
changes that Robert made and maybe will create more advanced example.
I've made more changes this morning :-)
First up I've moved the State::getAttributeVec() into the public
section along with the associated typedefs. This is now checked into
svn/trunk. Just in case you want to compile against other versions of
OSG, the version numbers are also updated in svn/trunk so now read
2.9.5 in prep for the next dev release.
Changed file is attached.
Once you are happy with this example how do you feel about it being
included as an OSG example? It could then live on as a test bed for
this type of functionality in prep for introducing something similar
for doing shader composite into the core OSG later down the line.
Robert.
--------------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org