Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Robert, Just as you said, I did a test for changing DrawElementsUShort to DrawElementsUInt in function 'void BuildShapeGeometryVisitor::End()', everything looks good now. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70589#70589 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Robert, osgShape does work when use the default columns and rows, but I the number of columns and rows is getting bigger, like (380x390) the rendering result is getting wrong, like the attached picture. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70584#70584 Attachments: http://forum.openscenegraph.org//files/heightfield_117.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Robert, When I create a heightfield (640x320) the generated mesh distorted, please take a look at the attached picture. ... heightfield->allocate(640, 320); heightfield->setXInterval(1.0f); heightfield->setYInterval(1.0f); heightfield->setSkirtHeight(1.0f); ... ENV: Win10 + VS2015 Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70581#70581 Attachments: http://forum.openscenegraph.org//files/heightfield_176.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Robert, I've tested the newest code, it looks like the SHADER problem has been solved. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70559#70559 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Robert, Sorry for bothering, I found the cause of the warning "ObjectWrapperManager::addWrapper(): 'osg::TextureBuffer' already exists. ". Because osgEarth already has the osg::TextureBuffer serializer in TextureBufferSerializer.cpp file, so when use osg and osgEarth together, the warning message printed out. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70552#70552 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi robert, Maybe this is a bug, osg::TextBuffer serializer wrapper was called two times. This is the warning message printed out in console window: ObjectWrapperManager::addWrapper(): 'osg::TextureBuffer' already exists. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70551#70551 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Robert, The following line is still not working. #define SHADERS_GL2 (!defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) && !defined(OSG_GL3_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)) #if SHADERS_GL2 // <== still return true (this is wrong) and besides StateSet.cpp and Font.cpp, I found StatesHandler.cpp has the same problem too. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70549#70549 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Osfield, I make a series of tests, and maybe the cause of the problem is this: In a c++ program: #define OSG_GL_FIXED_FUNCTION_AVAILABLE #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE)// <== this line returns true but if you write like the following lines: #define OSG_GL_FIXED_FUNCTION_AVAILABLE #define FIXED_FUNCTION defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) #if !FIXED_FUNCTION // <== this line returns true (wrong) so, I think '#if defined(...)' or ''#if !defined(...)'' must be used in one line (must be used together), as least MSVC++ is doing so. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70547#70547 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Robert, Please take a look at the attached include/osg/GL file. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70541#70541 Attachments: http://forum.openscenegraph.org//files/5405_1490383185._135. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Robert, Just as you said, I comment out #if SHADERS_GL3 AND #elif SHADERS_GL2 's codes, recompiling and rerunning, everything looks fine now. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70539#70539 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi Robert, >> What CMake build options did you select when building? I'm using the default OPENGL and OSG options, please see the attached file. >> What type of hardware and drivers are you using? Display Driver: Intel HD 530 and Nvidia GTX 970m, and I got the same results. I simply run: osgViewer.exe cow.osg >> Do any of the OSG examples work? Does stats work? Stats work fine. Other examples can normally startup, but the result pictures are same as the previous post. >> Do previous versions of the OSG work OK? Last week's version(master branch) works fine. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70536#70536 Attachments: http://forum.openscenegraph.org//files/cmake_138.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release
Hi, Please see the attached pictures. ENV: Visual Studio 2015 Windows 10 32bit Compile Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70534#70534 Attachments: http://forum.openscenegraph.org//files/cow_853.png http://forum.openscenegraph.org//files/cessna_436.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] StateSet::compileGLObjects miss typing
Hi, In StateSet::compileGLObjects method: if (checkForGLErrors && state.checkGLErrors("before StateSet::compileGLObejcts()")) need to be changed like the following line? if (checkForGLErrors) state.checkGLErrors("before StateSet::compileGLObejcts()"); Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69501#69501 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] class osg::Callback and class osg::StateSet::Callback have the same Meta info
Hi robert, Class osg::Callback has the meta-info: META_Object(osg, Callback), and class osg::StateSet::Callback has the same meta-info. I don't know why, is this OK? Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69009#69009 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] OSG v3.5.6 missing copy ShapeDrawable Color Property?
Hi everyone, Before v3.5.6, osg::ShapeDrawable's Constructor copy '_color' property's value to a new instance, but from v3.5.6 this line is missing, is this correct? like this: Before v3.5.6: ... _color(pg._color), << this line is missing at v3.5.6 ... Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69007#69007 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] bug: new OpenSceneGraph-3.5.5 threading...
Hi, I tested the newest code, it works perfectly, thank you very much. Just another problem: Under the windows 10 OS (may be other OS has the same result), when screen's TEXT SIZE isn't 100% (my computer's setting is 150%), the osgViewer.exe's full screen mode works a little odd. It just like some of the screen content is cutted, please see the attached screenshot picture. Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68915#68915 Attachments: http://forum.openscenegraph.org//files/screenshot_970.jpg ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] bug: new OpenSceneGraph-3.5.5 threading...
Hi, I just tested standard osgviewer, all things seems good, not errors happed. CompositeViewer Crash Stack Trace Here: ot20-OpenThreadsd.dll!OpenThreads::Thread::setProcessorAffinity(const OpenThreads::Affinity & affinity) Row 617 C++ osg145-osgd.dll!osg::Camera::setCameraThread(osg::OperationThread * gt) Row 553 C++ osg145-osgViewerd.dll!osgViewer::ViewerBase::stopThreading() Row 336 C++ osg145-osgViewerd.dll!osgViewer::CompositeViewer::~CompositeViewer() Row 106 C++ [...] osgsidebysided.exe!main(int argc, char * * argv) Row 261C++ Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68913#68913 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] bug: new OpenSceneGraph-3.5.5 threading...
Hi, Running the attached source, when press 'ESC' key on a window to quit the program, then the program crash down. Error In Win32Thread.cpp : setProcessorAffinity function Environment: Windows 10 / Visual Studio 2015 Thank you! Cheers, Li -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68909#68909 Attachments: http://forum.openscenegraph.org//files/test_108.cpp ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org