Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
osgPPU::Processor and other root's children traversing order
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peterakos  
View profile  
 More options Oct 3 2012, 3:24 pm
From: Peterakos <hay...@gmail.com>
Date: Wed, 3 Oct 2012 22:15:05 +0300
Local: Wed, Oct 3 2012 3:15 pm
Subject: [osg-users] osgPPU::Processor and other root's children traversing order

Hello.

I am working on osgPPU but there are some things i haven't completely
understood yet.
I add 2 children in root's group.

A cow model and the osgPPU::Processor.
In processor i have added 1 child which outputs the depth buffer and under
that child i have added 1 child which outputs to frame buffer.

I have noticed that the order of
root->addChild(loadedModel);
root->addChild(ppu);
doesnt matter and i am wondering why.

UnitCameraAttachmentBypass needs the depth buffer which is taken from
camera. But if ppu is rendered first (as first child) there will be no
depth buffer to output
to frame buffer (through UnitCameraAttachmentBypass's child, which is
UnitOut).

Why is this happening ? do i miss something?

The scene graph is the following

root
   ppu
       UnitCameraAttachmentBypass (outputs Depth)
          UnitOut
   loadedModel

Thank you for your time.

_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sergey Polischuk  
View profile  
 More options Oct 3 2012, 4:22 pm
From: Sergey Polischuk <pol...@yandex.ru>
Date: Thu, 04 Oct 2012 00:22:16 +0400
Local: Wed, Oct 3 2012 4:22 pm
Subject: Re: [osg-users] osgPPU::Processor and other root's children traversing order

Hi
iirc ppu stuff does it things at a renderbin 100.
 
Cheers.
 
03.10.2012, 23:42, "Peterakos" <hayah3@gmail.com>:
Hello.
I am working on osgPPU but there are some things i haven't completely understood yet.
I add 2 children in root's group.
A cow model and the osgPPU::Processor.
In processor i have added 1 child which outputs the depth buffer and under that child i have added 1 child which outputs to frame buffer.
I have noticed that the order of 
root->addChild(loadedModel);
root->addChild(ppu);
doesnt matter and i am wondering why.
UnitCameraAttachmentBypass needs the depth buffer which is taken from camera. But if ppu is rendered first (as first child) there will be no depth buffer to output 
to frame buffer (through UnitCameraAttachmentBypass's child, which is UnitOut).
Why is this happening ? do i miss something?
The scene graph is the following
root
   ppu
       UnitCameraAttachmentBypass (outputs Depth)
          UnitOut
   loadedModel
Thank you for your time.
,

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-us...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »