<div dir="ltr"><div>I can confirm the bug also exists on 3.6.5-rc3 branch.  I don't know if it pre-existed that.<br></div><div><br></div><div>I have too many dependencies to be able to share a model.  Simplistic models do not seem to exhibit the same behavior.</div><div><br></div><div>I'll keep trying to debug.  When is applyGlobalDefaultAttribute supposed to be called?  What sets these defaults?<br></div><div><br></div><div>In building rc3 I found some other issues:</div><div><br></div><div>There is a regression on rc3 where the install lib prefix is not set to 64.  This is on CentOS 8 with cmake 3.11.4.  I had to set LIB_POSTFIX=64 on the cmake command line to install to the normal /usr/lib64.</div><div><br></div><div>There is also a pre-existing oddity in the sdl examples cmake, where SDLMAIN_LIBRARY is not found.  Shouldn't this be requiring SDL_LIBRARY instead?</div><div><br></div><div>Thanks,</div><div>Rob</div><div><br></div>On Thursday, January 30, 2020 at 12:09:39 AM UTC-8, OpenSceneGraph Users wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Rob,<div><br></div><div><div>Have you tried the 3.6 branch?  Is the issue a regression?</div><div></div></div><div><br></div><div>Could you provide a test model and screenshot of the results your are getting vs expecting if possible.  </div><div><br></div><div>Cheers,</div><div>Robert.</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 29 Jan 2020 at 19:41, OpenSceneGraph Users <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="G6n6HY7mAQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">osg-...@lists.<wbr>openscenegraph.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
I have been testing with trunk and have only come across one problem so <br>
far (this might not be a new issue).<br>
<br>
I have a simple viewer set up with two nodes.  The first is loaded from <br>
an osgb.  Internally it sets the glBlendFunci(0, GL_MAX) via <br>
osg::BlendFunci.<br>
<br>
The second node also sets glBlendFunci(0, GL_MAX).  This is a geode with <br>
a geometry node under it.  I am setting the blend attributes on the <br>
geometry state set.<br>
<br>
At runtime the attribute on node two is set correctly but then <br>
immediately changed again by State::<wbr>ApplyGlobalDefaultAttribute to <br>
GL_FUNC_ADD.  The blend equation is also stepped on in a similar way.  I <br>
am using apitrace to see the GL calls.<br>
<br>
GL_FUNC_ADD is not part of either node that I can see.  However, this <br>
problem does not occur with, for example, axes.osgt used as node one.<br>
<br>
I could use some advice on tracking down where this default value is <br>
coming from, and why it is overriding a specific node attribute like this.<br>
<br>
Thanks,<br>
<br>
Rob<br>
<br>
</blockquote></div>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/2e65f641-820e-41f6-b1ca-f67df29c278b%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/2e65f641-820e-41f6-b1ca-f67df29c278b%40googlegroups.com</a>.<br />