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 

How to access/configure the rendered frame ??


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Erwan Bigorgne
Guest





PostPosted: Mon Dec 01, 2008 4:29 pm    Post subject:
How to access/configure the rendered frame ??
Reply with quote

hello,
I'm a newcomer in osg... and a little bit lost.
Anyway here is my problem : Aiming at test some computer vision algorithms, I intent to code a simple Image server. I have already installed osg libs, coded and run some simple graphes... But despite the tutorials (thanks) and documentation (again) at my disposal, I just can't figure out how to do a simple thing i.e. how to define an adhoc camera(?), viewer(?), producer(?) and access to its (if it exists) framebuffer or rendered frame. ( I'm using opencv... lets say a 512x512 uchar table Smile

Thanks by advance.
Erwan

------------------
Post generated by Mail2Forum
Back to top
Robert Osfield
Guest





PostPosted: Mon Dec 01, 2008 4:33 pm    Post subject:
How to access/configure the rendered frame ??
Reply with quote

Hi Erwan,

Have a look at the osgcamera and osgprerender examples. To get
imagery out you can attach an osg::Image to the viewers camera and on
each frame it'll be automatically copied, or just use a camera
post/final draw callback.

FYI, Producer/osgProducer is required for the OSG-1.x version of the
OSG, but no OSG-2.x as we now have a native windowing/camera/threading
implementation in osgViewer.

Robert.

On Mon, Dec 1, 2008 at 4:29 PM, Erwan Bigorgne <> wrote:
Quote:
hello,
I'm a newcomer in osg... and a little bit lost.
Anyway here is my problem : Aiming at test some computer vision algorithms,
I intent to code a simple Image server. I have already installed osg libs,
coded and run some simple graphes... But despite the tutorials (thanks) and
documentation (again) at my disposal, I just can't figure out how to do a
simple thing i.e. how to define an adhoc camera(?), viewer(?), producer(?)
and access to its (if it exists) framebuffer or rendered frame. ( I'm using
opencv... lets say a 512x512 uchar table Smile

Thanks by advance.
Erwan








------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General 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 How to reset osgAnimation (put the an... GiacomoB General 1 Fri Jul 26, 2019 12:11 pm View latest post
No new posts Frame Drop xdfanfan General 0 Tue Jul 02, 2019 4:03 pm View latest post
No new posts I need any ideas on how to wait for a... christoph General 2 Wed Feb 27, 2019 12:24 pm View latest post
No new posts Happy New Year to all OSG Users Chris Hanson General 0 Mon Jan 07, 2019 10:17 am View latest post
No new posts osg-users Digest, Vol 138, Issue 27 Zachary1234 General 0 Tue Jan 01, 2019 1:16 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