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 Executing subtree multiple times / re... antiro42 General 2 Thu Sep 14, 2017 10:10 am View latest post
No new posts Problem blending multiple render passes antiro42 General 5 Sat Sep 09, 2017 9:44 am View latest post
No new posts Multiple pointlights deferred renderi... antiro42 General 0 Fri Sep 08, 2017 2:39 pm View latest post
No new posts multiple window pick incorrect robertosfield General 1 Fri Aug 11, 2017 6:45 am View latest post
No new posts Multiple definitions of MixInVector d... Bruno Oliveira General 0 Tue Jun 06, 2017 1:58 pm 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