OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Is it possible to use multiple sequential computes?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgCompute [osgCompute]
View previous topic :: View next topic  
Author Message
sholmes
User


Joined: 05 Sep 2011
Posts: 62

PostPosted: Mon Jul 07, 2014 7:51 pm    Post subject:
Is it possible to use multiple sequential computes?
Reply with quote

Hi,

Is it possible to use multiple sequential computes?

What I want to do is...

1. render to multiple/N textures, similiar to what the osgRTTDemo does, then
2. use a compute to process these N textures into a single composite texture, then
3. use a second compute to take the composite texture, along with additional input textures and generate a final texture.

Steps 1 and 2 appear to be working, but once I pass the composite textures and additional input textures to the second compute, the textures appear empty, and the size, is 0.

I noticed that in the particle demo there appears to be an emit and move kernel launched using an osg::operation... Is it necessary for me to do someting like this?

CD

...


Thank you!

Cheers,
Conan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgCompute [osgCompute] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Multiple render passes and multithrea... SMesserschmidt General 2 Wed May 03, 2017 3:53 pm View latest post
No new posts Recommended way to render a scene fro... Hannes Naude General 6 Tue Apr 11, 2017 11:12 am View latest post
No new posts Multiple cameras sharing multisample fbo ravidavi General 1 Sat Mar 11, 2017 8:17 am View latest post
No new posts How to improve frame rate when loadin... vinothrajendran4 General 9 Wed Feb 22, 2017 2:01 pm View latest post
No new posts multiple input with osgwidgets Meldryt General 6 Fri Aug 12, 2016 6:49 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP