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 

UnitOut trunk and image readback


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU]
View previous topic :: View next topic  
Author Message
Luciano Pica
Guest





PostPosted: Tue Jul 05, 2011 12:34 pm    Post subject:
UnitOut trunk and image readback
Reply with quote

Hi,

I am using osgPPU (0.4.0) in a distributed environment and thus rely on
the image readback functionality through camera attachments to be able
to send rendered/postprocessed images over the network. Since OSG 3.0
seems to require the osgPPU trunk version and i could also use the new
resize functionality of osgPPU i tried to migrate to the newer version.
Unfortunately since the update i only get clear color read back instead
of the UnitOut output. The updated API doc says that UnitOut disables
the FBO which i am using, but switching the camera implementation from
FBO to simple FB leads to the same results. Are there any other changes
in that regard i need to be aware of? And what is the correct way to use
UnitOut now if i want to use camera attachments?

Debug output looks ok, the only thing differing between 0.4.0 and trunk
is the additional line "output: 0". According to the source this line
was caught by an if-phrase before and thus omitted. PipelineResult is a
UnitOut, color is a UnitTexture for input and BlurX an instance of
UnitInOut:

BEGIN FRAME EffectNode osgPPU::Processor
color run in thread 0
vp 0x21300f0 (ref 0): 0 0 512 512
program: 0x212d4a0
input: 0:0x1f1c690-attr (512x512)
output: 0x1f1c690 (512x512 )
BlurX run in thread 0
vp 0x3f4fbe0 (ref 0): 0 0 512 512
program: 0x7fa474019f10
radius : 15
sigma : 15
input: 0:0x1f1c690-attr (512x512)
output: 0x3f50370 (512x512 )
PipelineResult run in thread 0
vp 0x3f51160 (ref 0): 0 0 512 512
program: 0x2130c80
input: 0:0x3f50370-attr (512x512)
output: 0
END EffectNode osgPPU::Processor



Regards,
Luciano


------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU] 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 Read Image from RTT romulogcerqueira General 6 Thu Sep 27, 2018 7:06 pm View latest post
No new posts Image containing floats ivar General 2 Thu Sep 20, 2018 9:18 am View latest post
No new posts minor change: move assumeSizedInterna... mp3butcher General 9 Wed Aug 15, 2018 10:07 pm View latest post
No new posts Drawing a partially transparent image... Jose Pedro Canilho General 6 Mon Jul 02, 2018 9:28 am View latest post
No new posts Strange behaviour on GBufferCamera wi... wernerM General 5 Wed Jun 27, 2018 12:53 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