Commit Graph

4678 Commits

Author SHA1 Message Date
Robert Osfield
4ca3a4fd45 Changed the linux implement of getGLExtensionFuncPtr to querry for glXGetProcAddressARB
and then use this if its available, otherwise fallback to the original dlsym usage.
2005-11-23 15:25:56 +00:00
Robert Osfield
74830f9ce1 Added multi-buffering of the CameraNode::_renderingCache to help cope with multiple graphis context usages. 2005-11-23 13:44:27 +00:00
Robert Osfield
b4fb878e1e Fixed mistmatch of ReadFileCallback type. 2005-11-23 12:16:22 +00:00
Robert Osfield
a91b8fa40a Moved getGLExtensionFuncPtr implementation into the .cpp to make it easier to
change it implementation without forcing a complete recompile.
2005-11-23 10:16:25 +00:00
Robert Osfield
42e79f93d2 From Marco Jez, typo fix if GL extension name. 2005-11-23 10:15:11 +00:00
Robert Osfield
f78a37be9c Simplified the TangentSpaceGenerator so that is automatically converts any models
with indices to one without indices and then runs the tangent space generation code on the result.
2005-11-22 21:14:26 +00:00
Robert Osfield
48a8f14ae7 From Markus Trenkwalder, fixed placment of libs in mingw build. 2005-11-22 14:35:12 +00:00
Robert Osfield
33f4494830 Added missing dirtyDisplayList call into osg::Geometry::set calls. 2005-11-22 13:56:50 +00:00
Robert Osfield
f77b38ae9c Added DatabasePager::s/getDrawablePolicy() to allow the way that the display list/VBO settings
are applied to loaded databases.
2005-11-22 13:14:00 +00:00
Robert Osfield
85b3c4b179 Added check against LODScale being zero, and fixed the search for the maximum
LOD range in the pixel size range fallback.
2005-11-22 10:26:27 +00:00
Robert Osfield
611e49b736 From Chris Hanson, add LODScale support to pixel based LOD range selection. 2005-11-22 10:08:00 +00:00
Robert Osfield
26e77fc92f From Jason Daly, (with small tweak by Robert Osfield) fix for Prorgram::removeShader(Shader*)
so that it properly remove the shader and its entry in the _shaderList.
2005-11-22 09:57:32 +00:00
Robert Osfield
a44f0cf25a From Eric Wing, warning fixes for gcc4.0/OSX. 2005-11-22 09:51:02 +00:00
Robert Osfield
14f943cc32 From Marco Jez, fix for wchar_t being redefined. 2005-11-22 09:47:18 +00:00
Robert Osfield
7e2967c392 Updated NEWS 2005-11-21 16:29:47 +00:00
Robert Osfield
c47cee1429 Updated ChangeLog and authors file. 2005-11-21 16:15:48 +00:00
Robert Osfield
8289eecb7e From Roger James, reworked the export of std::vector<> on standard types to prevent
problems with .lib being built for all targets under VS7.x
2005-11-21 13:51:24 +00:00
Robert Osfield
8dd631f4ec Replaced asserts with notification of error. 2005-11-20 22:07:43 +00:00
Robert Osfield
cb40a7361f From Donn Mielcarek, added support Materials being declared globally. 2005-11-20 22:06:16 +00:00
Robert Osfield
f5b83f4b58 Updated ChangeLog, osgversion and AUTHORS file. 2005-11-19 12:18:51 +00:00
Robert Osfield
d0c9ef1e14 Added the ability for osgParticle::ParticleEffect to switch off the automatic setup.
Normally the automatic setup is useful, but in the case of the .osg support this automatic
update was forcing premature loading of imagery that wasn't necessarily, and can lead to
reports of looking for files that arn't present.
2005-11-18 17:04:55 +00:00
Robert Osfield
b0869a6f60 Added s/getCenter and s/getRotation methods, and updated wrapper. 2005-11-18 15:00:34 +00:00
Robert Osfield
38a9dc51f8 From Toshiyuki Takeahei, addition of s/getDistance() methods 2005-11-18 14:49:05 +00:00
Robert Osfield
65244321b4 The OpenFlight plugin was crashing with pre 15.6 .flt files that contained
light points.  This was due to the mismatch is size and fiels in the LightPointRecord
before 15.6 and after it, the OSG's flt plugin was assuming just 15.6 record
structure.  As a temporary solution I have disabled the processing of light point
records on .flt file version before 15.6, this allows these files to be loaded
safely, but without light points.
2005-11-18 14:46:38 +00:00
Robert Osfield
7b117ada29 From Andrew Reyonolds : changed the endian conversion code to work on a temporary
rather then on a flt structure to prevent repeated conversion of the same value,
something that led to eroneously large light point string sizes.
2005-11-18 10:03:11 +00:00
Robert Osfield
9c93332c03 From Rodger James, changed the Win32 static library compilation support to use
OSG_LIBRARY_STATIC to avoid problems with building libs when not required.
2005-11-18 09:52:24 +00:00
Robert Osfield
91855e7c50 Replaced tabs with spaces in examples. 2005-11-17 20:22:55 +00:00
Robert Osfield
39db6b28b3 Updated wrappers. 2005-11-17 17:45:04 +00:00
Robert Osfield
35fcaf7bde Convert tabs to spaces. 2005-11-17 17:44:48 +00:00
Robert Osfield
f391b0ff2c From Toshiyuki Takahei, added #pragam to avoid build problem with special characters.
From Robert Osfield, added #if _MSC_VER to restrict pragma usage to just VisualStudio,
and added comment explaining all the extra parsing code in osgversion.
2005-11-17 15:18:48 +00:00
Robert Osfield
d3541b96ed Replaced tabs with spaces. 2005-11-17 15:03:51 +00:00
Robert Osfield
0e16b64665 Coverted tabs to space in core libraries. 2005-11-17 13:35:53 +00:00
Robert Osfield
168225ebaf From Toshiyuki Takahei, fixed order intialiation problem in Viewer::selectCameraManipulator(..). 2005-11-17 11:27:25 +00:00
Robert Osfield
74f90ed9a4 From Mike Weiblen, "fix for another one of those GLSL syntax errors that slip thru the nvidia compiler.
gl_TexCoord[] is an array of vec4, and must be reduced to a vec2 for use with texture2D()"
2005-11-17 11:22:09 +00:00
Robert Osfield
3c03e3c24c From Eric Sokolosky, for Cygwin and Minw sections changed definition of INST_SHARE
so that it is based on INST_LOCATION, providing the same default as before but
also allow it to be override by env vars when required.
2005-11-17 11:13:36 +00:00
Robert Osfield
9bd24bcc79 From Eric Sokolosky, made spacing more consistent. 2005-11-17 11:09:22 +00:00
Robert Osfield
b15b677cc3 From Mikkel Gjøl, addition of paramter set/get methods to osgGA::*Manipulators,
change of ' ' to GUIEventAdapter::KEY_Space, fix to url in Matrix_implementation.cpp.
Syntax fixes by Robert Osfield to above submission fix inconsistencies with normal
OSG coding style.
2005-11-17 11:03:20 +00:00
Robert Osfield
d91f2c631d Improved handling of core OSG being compile with float Matrices. 2005-11-17 09:57:40 +00:00
Robert Osfield
19c1863432 Added (_data || rhs._data) extra qualify to Image::compare is data equal test. 2005-11-17 09:20:58 +00:00
Robert Osfield
7f19c7833e Removed redundent copyop. 2005-11-16 21:08:16 +00:00
Robert Osfield
6bedddf146 Ran dos2unix on makefile. 2005-11-16 20:27:28 +00:00
Robert Osfield
e1fc9d1875 Started experimenting with sections and table of contents. 2005-11-16 16:35:56 +00:00
Robert Osfield
9415f669e8 Converted remaining osg::Matrix usage to osg::Matrixd. 2005-11-16 16:30:51 +00:00
Robert Osfield
4a26f10226 Updated changelog and authors file. 2005-11-16 12:14:18 +00:00
Robert Osfield
265b0465ce Fixed typo entry. 2005-11-16 12:07:21 +00:00
Robert Osfield
2d33e6f2ad From Mike Weiblen, support for ARB_texture_rectangle extension name. 2005-11-16 09:28:09 +00:00
Robert Osfield
10b5d505a2 From Joakim Simonsson/Robert Osfield. Fixed line endings. 2005-11-15 22:18:29 +00:00
Robert Osfield
5cd39a3119 Did a unix2dos and trimmed end of file of rendundent newlines. 2005-11-15 22:14:50 +00:00
Robert Osfield
4eb5b0d715 Added proper descriptions of examples in place of the copy and paste description. 2005-11-15 22:07:54 +00:00
Robert Osfield
47fcfa4cc5 From Eric Wing, compile fixes. 2005-11-15 21:47:24 +00:00