[osg-users] How can I hide this white geometry without using the color transparency method and intersect?

mirr...@gmail.com mirro187 at gmail.com
Mon Feb 22 00:12:57 PST 2021


Thank you for your question and answer. The problem has been solved.I work 
in a closed environment.Cannot provide code.

I would like to ask how to solve the problem that after OSG thread 
rendering, when the UI thread display will cause thread lag.

void osgQOpenGLWidget::paintGL()

{

OpenThreads::ScopedReadLock locker(_osgMutex);

if (_isFirstFrame) {

_isFirstFrame = false;

m_renderer->getCamera()->getGraphicsContext()->setDefaultFboId(defaultFramebufferObject());

}

m_renderer->frame();

}

在2021年2月8日星期一 UTC+8 下午9:30:15<robert.... at gmail.com> 写道:

> On Mon, 8 Feb 2021 at 13:21, mirr... at gmail.com <mirr... at gmail.com> wrote:
>
>> system win10&osg3.6.4
>>
>> //Modifying the depth test sequence doesn't seem to work
>> setRenderBinDetails(1001,"DepthSorteBin");
>>
>
> There isn't any specific advice we can provide as you've provided no 
> specific information about the problem bit of your scene graph, all we have 
> is a screen shot with a random white quad circled.  
>
> The best I can suggest is to look at your database in a modelling tool and 
> remove the offending bit of geometry/triangles.  That assumes the problem 
> is with some geometry in your scene.
>
> However, you don't provide any information that we can use so my 
> suggestion is just a random guess as to what might be wrong.  You really 
> have to try and provide a clear explanation of what is your scene graph and 
> where the problem might be in this scene graph.
>

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/56d8068f-35a7-4aa2-bf59-c7cf6ce47f82n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210222/86a6af80/attachment.html>


More information about the osg-users mailing list