Robert Osfield
9478d27263
Changed Program::apply() to Program::compileGLObjects() to avoid the Program::apply() setting of setLastAppliedProgramObjects for affect current state.
2016-12-21 11:02:29 +00:00
Robert Osfield
ff8b5536a5
Added StateSet::setGlobalDefaults() to fix bug when osgViewer has stats on but no scene graph assigned
2016-12-21 09:10:50 +00:00
Robert Osfield
38c515a600
Fixed handling of #define's that are used as functions
2016-12-16 16:16:50 +00:00
OpenSceneGraph git repository
ca6578026a
Merge pull request #174 from etlapale/obj_plugin_improvements
...
Improvements for the OBJ writer plugin
2016-12-13 11:42:57 +00:00
Émilien Tlapale
34fb582074
Uncommenting missing argument.
2016-12-13 11:56:06 +01:00
Robert Osfield
d57a67e31c
Added header
2016-12-13 10:47:12 +00:00
Émilien Tlapale
d0fb365e25
Adding configurable precision for OBJ output.
2016-12-13 10:58:46 +01:00
Émilien Tlapale
f16853c7bb
Support for stateset in groups for OBJ.
2016-12-13 10:57:42 +01:00
Robert Osfield
d6c245a2f3
Added create angle of 20 degrees to SmoothingVisitor to improve visual quality.
...
Added geometry.setUseVertexBufferObjects(true) to geometry set up for improved performance.
Refactored the color set up so that by default it assigns just a single color to the geometry to improve performance.
2016-12-12 10:23:50 +00:00
Robert Osfield
3432f02d5f
Renamed the iges plugin to OpenCASCADE to make it clearer what the plugin is, and added file extension aliases for stp, step, igs and iges to the OpenCASCADE plugin to enable automatic loading.
2016-12-09 17:52:17 +00:00
Robert Osfield
61462dcf97
Added support for reading from STEP (.stp) files.
2016-12-09 17:29:55 +00:00
Robert Osfield
5f0f7b88cf
Refined the list of libraries to link
2016-12-09 17:29:20 +00:00
Robert Osfield
2b1477234e
Converted to unix line endings
2016-12-09 17:27:17 +00:00
OpenSceneGraph git repository
811ad9c8bc
Merge pull request #172 from blobfish/manipSlop
...
osgManiputor: TranslateInLineCommand wants Vec3d instead of Vec3
2016-12-08 17:52:46 +00:00
blobfish
a41f498e1f
osgManiputor: TranslateInLineCommand wants Vec3d instead of Vec3
2016-12-08 10:12:17 -05:00
OpenSceneGraph git repository
bb36fe7d3c
Merge pull request #170 from crubel/PThreadPullRequest
...
Fixed compile time errors that occur when you have ALLOW_PRIORITY_SCHEDULING defined
2016-12-05 10:33:23 +00:00
Curtis Rubel
98827b1d49
Missed the printf define at the top of this file.
...
Put back this:
#ifdef DEBUG
# define DPRINTF(arg) printf arg
#else
# define DPRINTF(arg)
#endif
I think that should do it now...
2016-12-02 08:07:15 -05:00
Curtis Rubel
c829ecf08f
Removed all OSGNOTIFY messages and put back all printf output as requested.
...
Sorry about this mixup, I was not aware that this particular directory was to be considered a separate project and must not rely on any dependencies from the rest of the OSG project. All OSGNOTIFY messages have been removed and the previous printf statements have been put back.
2016-12-02 08:05:30 -05:00
OpenSceneGraph git repository
98f6984018
Merge pull request #171 from aluaces/iges_fix
...
Several tweaks for compiling OpenCascade plugin:
2016-12-02 08:04:10 +00:00
Alberto Luaces
b637d080d5
Several tweaks for compiling OpenCascade plugin:
...
* Remove unneeded XSDRAW.hxx header inclusion.
* Define WNT only on windows, because it is used for choosing between
win threads or pthreads.
2016-12-01 23:39:56 +01:00
Curtis Rubel
fab6bff310
Fixed compile time errors that occur when you have ALLOW_PRIORITY_SCHEDULING
...
defined. I also replaced all printf's with OSGNOTIFY to get this
more inline with the rest of OSG CGR
2016-12-01 16:36:20 -05:00
Robert Osfield
43b051b984
Teaking FindOpenCascade to help with linking of iges plugin
2016-11-30 20:10:22 +00:00
Robert Osfield
a9bc508dc4
From Abhishek Bansal, with ammendemts by Robet Osfield to get working with recent OpenCascade and usng CMake.
2016-11-30 19:11:15 +00:00
Robert Osfield
d4a4993285
Added GL_EXT_texture_border_clamp support for GLES
2016-11-30 17:18:33 +00:00
OpenSceneGraph git repository
5a96c1313b
Merge pull request #169 from scrawl/stateset-fix
...
Fix flow control issue in StateSet::compileGLObjects
2016-11-26 11:45:07 +00:00
scrawl
1fffafb13a
Fix typo in StateSet::compileGLObjects, causing compilation of attributes to not be executed unless checkForGLErrors is true.
2016-11-26 01:09:45 +01:00
Robert Osfield
b04271f93e
Fixed crash in handling of an osg::Callback attached to a Drawable as update callback.
...
Added handling of osg::Callback when attavhed to a Drawable as a cull callback.
2016-11-23 18:19:59 +00:00
Robert Osfield
e89885a076
Added guards against division by zero
2016-11-15 17:36:21 +00:00
Robert Osfield
55f4778731
Added usage of GLExtensions::debugObjectLabel() to GLBufferObject::compile()
2016-11-15 14:52:59 +00:00
Robert Osfield
1abd99f084
Added support for glObjectLabel debugging
2016-11-15 14:35:47 +00:00
Robert Osfield
4ecf541cb6
Merge branch 'fredowski-master'
2016-11-15 11:16:53 +00:00
Robert Osfield
2f570ca3a9
Improved the indentation and case to make the code more consistent and readable
2016-11-15 11:16:03 +00:00
Robert Osfield
5aa897b5fd
Merge branch 'master' of https://github.com/fredowski/OpenSceneGraph into fredowski-master
2016-11-15 11:13:37 +00:00
Robert Osfield
137b596943
Enabled sharing of main threads processor affinity to the next required thread for CullDrawThreadPerCamera and CullThreadPerCameraDrawThreadPerContext
2016-11-15 11:01:41 +00:00
OpenSceneGraph git repository
5ff6048db0
Merge pull request #156 from LaurensVoerman/Affinity2
...
unlock cpu's 32-63 on 64 bit windows
2016-11-15 10:41:12 +00:00
Robert Osfield
ddbb1cb064
Removed todo that is not required
2016-11-15 09:47:48 +00:00
Robert Osfield
c560e9a1ef
Reduced public documentation generation to just the public headers
2016-11-15 09:29:09 +00:00
OpenSceneGraph git repository
33e28b0971
Merge pull request #164 from CodeDocs/codedocs
...
Use CodeDocs for Doxygen documentation
2016-11-15 09:28:25 +00:00
Robert Osfield
87a3648e68
To avoid noise in documentation replaced nested namespaced enum with enum with FILE_COPY_ wording prefixed into enum values.
2016-11-15 08:57:24 +00:00
Robert Osfield
80f75bcbdd
Fixed doxygen warnings
2016-11-15 08:37:05 +00:00
Robert Osfield
36b2ddac2d
Added usage of osg::ConfigureBufferObjectsVisitor to correct for incoherent buffer oject set up due to the adhoc way that the OpenFlight plugin sets up osg::Geometry.
2016-11-14 18:01:22 +00:00
Robert Osfield
5b375124cc
Added osg::Geometry::configureBufferObjects() and ConfigureBufferObjectsVisitor visitor to help with setting up buffer objects in a coherent fashion.
2016-11-14 17:59:25 +00:00
Robert Osfield
99cb8ebacf
Added more flexibility into the State::checkGLErrors() method, allowing calling code to pass in two strings.
...
Improved the StateSet::compileGLObjects() usage of checkGLErrors() to make the warning reports more meaningful.
2016-11-14 11:59:47 +00:00
Robert Osfield
e6052ef4b4
Added Dragger::applyAppropriateFrontFace(StateSet*) to make it easy to handle inverted matrices by toggling the FrontFace to sure the correct face is visible.
2016-11-11 17:18:13 +00:00
Robert Osfield
d16ca33f38
Fixed handling of Locator's with negative extents
2016-11-11 14:01:40 +00:00
Paul Novotny
1234619a48
Use CodeDocs for Doxygen documentation
...
Adds a configuration file (.codedocs) for building the Doxygen
documentation using CodeDocs.xyz. Also, adds a badge to the README.md
to link to the documentation.
2016-11-02 20:56:04 -04:00
Friedrich Beckmann
e506bb3075
added alternative to middle-mouse button in manipulator
...
I added CTRL + RIGHT-MOUSE-CLICK to the standard manipulator as
an alternative to MIDDLE-MOUSE-CLICK because a 3 Button Mouse
not always available, e.g. on MacOS. I tested this with the
osgAtlasSimbicon example.
2016-10-24 19:54:43 +02:00
Robert Osfield
b5c071eed9
Moved shader file loading to a help function
2016-10-20 09:59:26 +01:00
Robert Osfield
c32e6c01ed
Fixed shader filename
2016-10-20 09:46:47 +01:00
Robert Osfield
fda7c838a1
Added osgshaderpipeline example that will server as a testbed for automatically mapping fixed function pipeline to shaders
2016-10-19 20:26:26 +01:00