Commit Graph

2925 Commits

Author SHA1 Message Date
Robert Osfield
ab2b817e61 Made improvements to the handling of small rotations in Quat and
TerrainManipulator
2004-05-20 23:25:26 +00:00
Robert Osfield
48d148601b Added HUD scalar bar. 2004-05-20 22:20:39 +00:00
Robert Osfield
fee33001fd Fixed warnigs on VS. 2004-05-20 13:54:53 +00:00
Robert Osfield
f8daf206ab Improved support for new double Vec* classes 2004-05-20 12:57:06 +00:00
Robert Osfield
eba53406d4 Fixed typo of Vec3f to Vec2f 2004-05-20 10:42:05 +00:00
Robert Osfield
f02c75f5ea Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to
Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f.
2004-05-20 10:15:48 +00:00
Robert Osfield
17214df1fc Added GL_SCALE_NORMAL define to get round compilation against GL1.1 headers 2004-05-19 09:17:36 +00:00
Robert Osfield
9ff7933d96 Added GL_RESCALE_NORMAL to allow compilation with GL1.1 headers 2004-05-19 09:12:52 +00:00
Robert Osfield
2cd4bd513a Changed how the rotation and panning are managed, therby improving the
handling of the center point going over a pole.
2004-05-17 22:22:24 +00:00
Robert Osfield
a62699b015 Improved the panning support, and added s/getRotationMode(..) to allow
users flip between a trackball rotation style and an azim,elevation style.
2004-05-17 15:50:44 +00:00
Robert Osfield
867a1ae105 From Bob Kuehne, more general checks for existance of extensions. 2004-05-17 13:20:41 +00:00
Robert Osfield
01b504bc2f Improved the pan controls on the terrain manipulator 2004-05-17 12:08:52 +00:00
Robert Osfield
71150e96dc From Ruben, fix for gcc 3.4 build 2004-05-17 10:21:30 +00:00
Don BURNS
edc9e498d7 Added an optional argument for doing model orientations in osgconv using
degrees and axis rather than two vectors.
2004-05-17 02:48:53 +00:00
Robert Osfield
849299686c From Mike Weiblen, further updates to add relative paths to
OpenThreads/Producer.
2004-05-15 08:42:06 +00:00
Robert Osfield
cbd19eeeee Fixed error of headers having ..\..\src\ path instaead of ..\..\include\ 2004-05-14 14:43:41 +00:00
Robert Osfield
ae5aefac0e Added the beginings of new osgParticle Explosion, Fire and SmokeEffects.
Added support for generation explosion, fire and smoke effects in osgsimulation
2004-05-13 22:09:23 +00:00
Robert Osfield
45998cfdf7 Revert the computeNearFar mode to using bounding volumes as default. 2004-05-13 22:06:20 +00:00
Robert Osfield
58b7737933 From Mike Weiblen, added hardwired include and lib paths to OpenThreads
and Priducer directories that are assumed to site alongside the OpenSceneGraph
library being built.
2004-05-13 22:04:08 +00:00
Robert Osfield
642253b731 From Bruce Clay, cross platform implemention of fileType(..) 2004-05-13 13:37:55 +00:00
Robert Osfield
f4a290cdff From Donny Cipperly, completed Windows support for fileType() 2004-05-13 08:11:31 +00:00
Robert Osfield
90579a0e17 Fixes for FreeBSD 2004-05-12 20:31:58 +00:00
Robert Osfield
5eafee1b83 From Frank Lindeman, compile fix for VS to get round limitation is VS when
handling templated methods.
2004-05-12 14:22:01 +00:00
Robert Osfield
82562e5bdd From Eric Sokolowsky, fixed problems in PNG plugin for handling
paletted images which contain alpha values.
2004-05-12 10:45:36 +00:00
Robert Osfield
f66599e00c From Eric Sokolosky, with further additions from Robert, added support
for RGBA TIFF files
2004-05-11 20:44:31 +00:00
Robert Osfield
7742794eec From Bruce Clay, modify template copy method to avoid VS6.0 compile errors. 2004-05-10 20:01:13 +00:00
Robert Osfield
3fc447af89 Changed &D to use define to keep things compiling under VS6.0 2004-05-10 16:17:46 +00:00
Robert Osfield
b5d583ae76 Made GDAL_INSTALLED default to no 2004-05-10 14:53:33 +00:00
Robert Osfield
4ab330de96 Removed eroneous return statement. 2004-05-10 13:56:05 +00:00
Robert Osfield
6f34ef29f8 From Joran Jessurun, "I needed to be able to set the quality of the saved jpeg images. I could
not find a way to do this in OSG. Therefore I implemented this by adding
an option called: JPEG_QUALITY <quality> to the JPEG reader/writer.

To parse the options string I use the same method as used in the LWO
reader/writer. "
2004-05-09 07:06:32 +00:00
Robert Osfield
35c6632cfd From Mike Weiblen, Fixes for Win32 build 2004-05-09 06:29:54 +00:00
Robert Osfield
86d323752d From Corbin Holtz, "I have completed my mods to the OpenFlight loader (modified files are
attached):
   * Light point strings using the REPLICATE opcode should now be supported
(>=15.6?)

   * Directional lights should now work as in Performer using a viewing
frustrum defined by a direction vector, horizontal angular width, vertical
angular width, and roll angle about the direction vector.  The current
directional light implementation had some bad assumptions which caused
problems with direction vectors not on the XY plane.

   * IVE and OSG reader/writers were updated as appropriate"
2004-05-08 22:18:38 +00:00
Robert Osfield
b6c1c44bd0 From Paul Martz,
"Changes to provide rudimentary support for OF 15.8 light point
animation palettes. This change also includes light point palette override
support for external references. This is the last of my code changes to
support OF 15.8 in the flt loader. Barring bugs, of course, knock on wood.

The gist of the animation palette code is to create ref_ptr'd
osgSim::BlinkSequence objects for each palette entry, and then pass them on
to osgSim::LightPoint for any OpenFlight light points that reference that
palette entry. This should be conservative of memory (not that I expect the
animation palette to be extremely large)."
2004-05-08 21:33:25 +00:00
Don BURNS
4ebb2ddd5a Ooops... previous fix didn't work, corrected. 2004-05-08 18:41:18 +00:00
Don BURNS
3b92e02f29 Fixed a define for __sgi. Irix does not allow dlsym(0L, ...) without
calling dlopen() first, just like __sun
2004-05-08 18:37:26 +00:00
Robert Osfield
3d3199017e From Ken Sewel, added osgDB::fileType(filename) method and usage of this
new function in osgdem to automatcally handle directories as part of the
regular -d and -t options.
2004-05-08 06:35:32 +00:00
Robert Osfield
f35cafb778 Did a unix2dos and checked in trans.dsp 2004-05-08 06:13:16 +00:00
Robert Osfield
a5c9cc1552 Changed scale.dsp etc instance to rot.dsp etc. 2004-05-07 21:08:06 +00:00
Robert Osfield
3a8e5fc6b4 From Yefei Hi, replaced windows specific function with sprintf to afford
better cross platform portability.
2004-05-07 19:58:56 +00:00
Robert Osfield
26f80f1341 From Marco Jez, replacement of local mutex lock/unlock with ScopedLock. 2004-05-07 19:55:12 +00:00
Robert Osfield
bdeb391a00 From Mike Weiblen, added new rot, scale and trans pseudo loaders. 2004-05-07 15:18:59 +00:00
Robert Osfield
a196ea1d5d From Yefei Hi,fix to MultiSwitch set up, and adding of parsing of description
fields (which is presently #if 0'd out while a compile problem is resolved.)
2004-05-07 14:51:33 +00:00
Robert Osfield
bc3c6c2edf Fixed tabbing to be all four spaced tabs 2004-05-07 14:44:58 +00:00
Robert Osfield
9978c02b7f From Julian, fix to handling of multi-textures 2004-05-07 14:33:15 +00:00
Robert Osfield
aec98259a8 Added support for osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE 2004-05-07 13:43:41 +00:00
Robert Osfield
1c46e8c4f2 From Bob Kuehne, addition of support for toggling on and off GL_TEXTURE_1D, 3D, CUBE_MAP
and GL_TEXTURE_RECTANGLE (small addition from R.O)
2004-05-07 12:41:49 +00:00
Robert Osfield
0307463746 Added GL_TEXTURE_RECTANGLE define 2004-05-07 12:40:21 +00:00
Robert Osfield
48dad727b1 From Bob Kuehne, added getting of the max number of texture units in
the Texture::Extension object
2004-05-07 11:28:55 +00:00
Robert Osfield
2c352ceb7c Changed debug info level 2004-05-07 11:18:18 +00:00
Robert Osfield
1666037f42 Changed notify level of debuggin message from NOTICE to INFO 2004-05-07 11:10:05 +00:00