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
Message from discussion Help:why does renderbin affect the display of textures ?
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
 
wang shuiying  
View profile  
 More options Oct 8 2012, 4:14 am
From: wang shuiying <shuiying.w...@fu-berlin.de>
Date: Mon, 08 Oct 2012 10:26:41 +0200
Local: Mon, Oct 8 2012 4:26 am
Subject: Re: [osg-users] Help:why does renderbin affect the display of textures ?
Is nobody interested in this question?:-(

Hello,

I have two drawable nodes A and B under the same main group node. I
mapped two different textures on the drawables respectively. Those two
drawables do not have any overlappings in terms of pixels on the screen.
Drawable A is described using open scene graph library while drawable B
is described using openGL terms. Depth test is disabled by Drawable A
and enabled by drawable B. Texture display on A uses a shader while B
does not.

When the renderbin of drawable A is set to be -1 and that of drawable B
is 1, the two textures cannot show at the same time. That is to say,
when I toggle on both drawable A and drawable B and make them both seen
on the screen, the texture on drawable B doesn't show, but the color of
B is correct. Under such circumstance, when I manipulate the view in a
way such that drawable A is out of sight, then the texture on drawable B
will appear.

If I reverse the renderbins of those two drawables, then the textures
can show at the same time.

I just cannot figure out why this happens.

  If it is due to depth test, why should such conflicts happen, since
they have no overlapped pixels on the screen? Even it is due to depth
test, why is the color  correct?

Would someone please be so kind enough as to explain that to me?

Thanks millions in advance!

Best regards
Shuiying

_______________________________________________
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.