Hi Guys,

I have found some issue with my code that causes me to rethink some of 
VirtualProgram internals. Basically I have encountered a situation where 
attribute stack does not contain all preceeding VirtualPrograms so building 
merged Program fails. I will have to investigate what is the cause but it may 
suggest that the code does not always work (and its the flaw of the design 
which may be really hard to fix ;-(). Please hold on with inclusion of this 
example.

Thanks,
Wojtek

----- Original Message ----- 
  From: Wojciech Lewandowski 
  To: OpenSceneGraph Submissions 
  Sent: Thursday, May 14, 2009 5:29 PM
  Subject: [osg-submissions] VirtualProgram example


  Hi Robert,

  Attached is the modified VirtualProgram example. Few really small 
modifications. Renamed osgExt namespace to osgCandidate (feel free to change or 
remove itcompletely). Swapped colors of cows. Lower right one is drawn with 
grid pattern. This hopefully shows that virtual program can do bit more than 
uniforms. Feel free to change anything. I am anxious to see it as osg example.

  I have not aproached more complicated example yet. Apparently I am having 
problems with controlling my time. Similar situation to yours - traditional flu 
has sent our nanny on sick-leave and I have to take more care of my daughters. 
I will try to do advanced example some day next week.

  Cheers,
  Wojtek


------------------------------------------------------------------------------


  _______________________________________________
  osg-submissions mailing list
  [email protected]
  
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to