e68e474c90Updated wrappers
Robert Osfield
2008-05-28 11:58:46 +00:00
8677c4d6d6From Michael Platings, "On nvidia cards mipmap generation for non-power-of-two textures with GL_GENERATE_MIPMAP_SGIS is very slow (over half a second for a 720*576 texture). However, glGenerateMipmapEXT() performs well (16ms for the same texture), so I have modified the attached files to use Texture::generateMipmap() if glGenerateMipmapEXT is supported, instead of enabling & disabling GL_GENERATE_MIPMAP_SGIS."
Robert Osfield
2008-05-28 11:19:41 +00:00
20f3e74643From Brad Anderegg, "This submission fixes two bugs and helps some performance problems we have been having with txp databases.
Robert Osfield
2008-05-27 20:53:43 +00:00
6877a814fbFrom Cedric Pinson, "By default it's the normal behaviour, it means it's "d" extension for debug library and executable. But if you want to change that you can. The reason is if you want to build an application that use a library that use openscenegraph you have to build the full chain in debug or in release. On windows you have no choice, but on linux you can link with both version without rebuilding everything ...
Robert Osfield
2008-05-27 17:42:56 +00:00
e427d50d9aFrom Lars Nilson, bug fix to Sector::computeMatrix()
Robert Osfield
2008-05-27 17:32:26 +00:00
7ab1219ea3Added handling of \ within srings by using \\
Robert Osfield
2008-05-27 16:32:17 +00:00
526f8cd8dcUpdated wrappers
Robert Osfield
2008-05-27 15:42:40 +00:00
4d60d73ecaReorginized the TerrainTile/TerrainTechnique dirty mechanism so that TerrainTile now holds the dirty flag and enables/disables event traversal in response dirty being set/unset. This allows terrain to be automatically updated in response to Terrain scale and sample ratio changes.
Robert Osfield
2008-05-27 15:30:20 +00:00
aee0e8dc37Introduced a TerrainHandler that adjust the sameple ratio and vertical scale of terrain interactively using the 'r','R' and 'v','V' keys respecitvely.
Robert Osfield
2008-05-27 15:28:39 +00:00
1519d0d546From John Vidar Larring, "Added vertical scale as a property of osgTerrain::Terrain. Lets you configure vertical scale when initializing the terrain model. E.g:
Robert Osfield
2008-05-27 13:11:47 +00:00
b41404546eUpdated version numbers in prep for 2.5.1 release
Robert Osfield
2008-05-27 12:07:58 +00:00
169b1a02adFrom Gino van den Bergen, "I've refactored the single ReadedWriterVRML2.cpp into multiple files. The reason for doing this was to break up the horribly long function
Robert Osfield
2008-05-27 12:06:50 +00:00
7230d54011From Mathias Froehlich, "Included a fix for my past pbuffer change. The version test fo 'need at least glx 1.1' was broken, even if no implementation had yet a chance to trigger that :)
Robert Osfield
2008-05-27 11:13:16 +00:00
dd6d04e088From Andrew Bettison, "Problem: the LineStipple pattern when read from an OSG node file is always 0xFFFF, even though specified otherwise in the OSG file.
Robert Osfield
2008-05-27 11:07:52 +00:00
3c6b6e4d97From Stephane Lamoliatte, "Here is a patch that fix the strange bug describe on the osg-user group. Finally it seems to not come from the empty geode. The origin of the problem seems to be the uniform initialization during the building of the program which call a glUseProgram. If your scene never display the node that contains the shader and if there is no other shader on the scene, this "glUseProgram" is the only one that is called during your simulation. So, this shader is applied on all the scene.
Robert Osfield
2008-05-27 11:04:52 +00:00
66a1996a5aFrom Wang Rui, "I have just done some changes on the classic osgdb_gif plugin (based on OSG 2.5.0). I wish our developers may use the newly written GIF reading plugin to attach animate GIF files as textures now! In my opinion, a GIF is much smaller than AVI and MOVs, and much more efficient sometimes.
Robert Osfield
2008-05-27 10:50:26 +00:00
476cb5373eFrom Philip Lowman, post 1:
Robert Osfield
2008-05-26 22:36:58 +00:00
51dd9676dbFrom Paul Martz, "When exporting a DrawArrays PrimitiveSet, the DAE plugin computes an incorrect nbVerticesPerPoly if the first index is not zero. The issue can be reproduced easily with: osgconv cessna.osg cessna.dae
Robert Osfield
2008-05-26 22:34:06 +00:00
804c91c8c1From Art Tevs, "I've attached a patch for the Texture2DArray which solves problems of loading image data into the texture array. So here are a small description:
Robert Osfield
2008-05-26 21:53:57 +00:00
1f8ff7916cFixed copyright notice typo
Robert Osfield
2008-05-26 21:44:14 +00:00
4c81aa0aa7From Paul Martz, "The attached code changes StateSet::merge() so that it copies RenderBin data such as the rendering hint and RenderBin details from rhs into "this", only if "this" has RenderBin mode set to INHERIT.
Robert Osfield
2008-05-26 21:33:41 +00:00
8f6ca1dc6cFrom Gino, "According to the 1.4.1 COLLADA spec (2nd ed) the standard behavior for fx_sampler_wrap_common is as follows
Robert Osfield
2008-05-26 21:32:05 +00:00
ee6f055bc5From Philip Lowman, "I changed the test name to be a little easier to understand and defaulted Linux & Windows builds to false and to skip the compile check as you desired. "
Robert Osfield
2008-05-26 21:18:41 +00:00
3d163c3412Updated wrappers
Robert Osfield
2008-05-26 21:10:10 +00:00
ae303e38e9From Paul Melis, "Here is an update to the osgviewerWX example. Keyboard events were not always received because the GraphicsWindowWX wasn't receiving focus. It now receives focus when the mouse enters the window. * I split the mouse handling from a monolithic method to separate ones, slightly cleaner than a whole bunch of if()'s, especially with another case of the mouse entering the canvas. * I changed the EVT_KEY_DOWN handler to an EVT_CHAR handler, although that now makes the up and down handler assymetric. The new down-handler returns translated key codes, so when you press the S key (without anything else), it actually returns 's' and not 'S' as the EVT_KEY_DOWN did. This means that statistics can be called up in the viewer window, while the example previously only printed a "Stats output:" line to the console. I'm not truly happy that the up handler returns _untranslated_ key codes. But solving this completely would probably mean adding some table that translated from wxWidgets' untranslated key codes to OSG's internal ones. This might be interesting to add, as anyone using OSG + wxWidgets in any serious manner would also have to add this. * I commented out the evt.Skip()'s in the keyboard handlers as these would only be necessary if there were some key events that are not handled. But currently all key events are simply forwarded. * I changed the handling of a mouse drag to a more general mouse move"
Robert Osfield
2008-05-26 21:09:54 +00:00
189049f9bdFrom Colin McDonald, "I had to tighten a declaration in OpenFlight/FltWriteResult.h, as the Solaris SunStudio 11 compiler was being picky and wouldn't compile."
Robert Osfield
2008-05-26 21:04:47 +00:00
55e98d390eAdded debug block to output the location of the master camera for each View in a Viewer.
Robert Osfield
2008-05-26 20:46:21 +00:00
cac6e2facbAdded continuous recording of the animation path to the RecordAnimationPathHandler
Robert Osfield
2008-05-26 17:30:43 +00:00
7592e50cdeIntroduce --pbuffer-only width height option, and added fps reporting to stats output
Robert Osfield
2008-05-26 16:25:31 +00:00
57ce3f820eAdded basic --pbuffer width height support
Robert Osfield
2008-05-26 15:41:54 +00:00
7aac7ef381Added better stats reporting
Robert Osfield
2008-05-26 14:30:48 +00:00
bb1f6ff7c1Added feedback of pixel format chosen for read back
Robert Osfield
2008-05-26 12:01:24 +00:00
8ed9b303f1Added automatic selection of the pixel type according to the window type
Robert Osfield
2008-05-26 11:59:25 +00:00
d2afe3e956Added option for doing triple buffering, and set the default read format to GL_RGBA
Robert Osfield
2008-05-26 11:53:51 +00:00
dc7db11e63Switch to using an inital draw callback when use --start-frame
Robert Osfield
2008-05-25 22:06:41 +00:00
5664c51cf0Added option for setting whether the front or back buffer should be read using --front and --back command line options.
Robert Osfield
2008-05-25 21:52:32 +00:00
28fd4b07c9Added option for controlling whether the front buffer is read at the start of the frame or the back buffer at the end of the frame.
Robert Osfield
2008-05-25 21:35:39 +00:00
c1f7c766efAdded check for pkg-config so that build only use related package checks when it's supported
Robert Osfield
2008-05-25 11:21:40 +00:00
a88567a852Added #define's for PixelBufferObject extensions.
Robert Osfield
2008-05-24 11:05:10 +00:00
9623731185Added RenderStage::setClear*() methods from Camera::getClear*() sources
Robert Osfield
2008-05-24 09:24:37 +00:00
cc07d064bfChanged default format to GL_BGR
Robert Osfield
2008-05-24 08:13:55 +00:00
90308d22aaAdded single buffered and double buffered PBO support, and --no-pbo, --single-pbo and --double-pbo command line parameters
Robert Osfield
2008-05-23 16:26:03 +00:00
f9f1aab67dAdded basic glReadPixels code
Robert Osfield
2008-05-22 17:50:22 +00:00
fd76054eacAdded camera final callback attachment code.
Robert Osfield
2008-05-22 15:43:01 +00:00
0a3737eb2cFixed name of source file
Robert Osfield
2008-05-22 13:11:23 +00:00
29d067639cAdded new osgscreencapture example folder, implementation to follow
Robert Osfield
2008-05-22 13:10:40 +00:00
6a16cbfca4Reorginaized the DatabaseQueue's to avoid warnings under Windows
Robert Osfield
2008-05-22 12:38:36 +00:00
e6e4074143Fixed warning by adding in missing return
Robert Osfield
2008-05-22 11:21:04 +00:00
58f5ebab19Checking in missed header
Robert Osfield
2008-05-22 08:31:56 +00:00
7b003b24eaRefactored DatabasePager and related classes to introduce support for multi-threaded paging, where the Pager manages threads of reading local and http files via seperate threads. This makes it possible to smoothly browse large databases where parts of the data are locally cached while others are on a remote server. Previously with this type of dataset the pager would stall all paging while http requests were being served, even when parts of the models are still loadable virtue of being in the local cache.
Robert Osfield
2008-05-21 21:09:45 +00:00
100cc12ecbMoved the compile to after the updateSceneView
Robert Osfield
2008-05-20 09:28:44 +00:00
24fec21002Updated wrappers
Robert Osfield
2008-05-14 20:22:01 +00:00
646fc43747Introduced preliminary support for asynchronous file read requests,
Robert Osfield
2008-05-14 17:03:57 +00:00
d7c4e6f26eMoved the cache file writing into StreamObject so that the cache file is only created once data is being read.
Robert Osfield
2008-05-14 14:59:50 +00:00
6be1928447Introduced a thread safe map which manages a single EasyCurl object per thread.
Robert Osfield
2008-05-14 13:16:36 +00:00
094dcd9bfdRefactor curl usage so that a new EasyCurl class wraps up the curl handle and reading from curl.
Robert Osfield
2008-05-14 12:47:26 +00:00
5f443e75a9Fixed lat/long ordering
Robert Osfield
2008-05-13 18:28:26 +00:00
e28ae8c7f3Added support for -e level minX minY maxX maxY extents controls
Robert Osfield
2008-05-13 17:27:29 +00:00
83f6f13914Added --file-cache directoryname command line option support to readNodeFiles(ArgumentParser&) to make it easier to specify a local file cache, in place of the default OSG_FILE_CACHE env var.
Robert Osfield
2008-05-13 14:08:32 +00:00
0ed71961d4Further work on computing of lat/long range of PagedLOD subgraphs
Robert Osfield
2008-05-13 12:36:39 +00:00
f3d36055efFrom Steven Thomas, "Subject: Collada fix There was a problem converting a file to Collada by using osgconv like this:
Robert Osfield
2008-05-13 10:56:10 +00:00
c81b02bca4Added signal handling code, and prelimary lat/long computation
Robert Osfield
2008-05-12 16:59:04 +00:00
61f630e163Added missing getBound() method
Robert Osfield
2008-05-12 15:42:20 +00:00
7e8e7587beUpdate ChangeLog and wrappers for 2.5.0 dev release
Robert Osfield
2008-05-12 12:16:58 +00:00
d2c5142eccUpdated AUTHORS for 2.5.0 release
Robert Osfield
2008-05-12 12:16:14 +00:00
7a074acd49From Mathias Froehlich, Fixed FrameBufferObject attachement code to handle cases where no texture or image is attached
Robert Osfield
2008-05-12 11:39:02 +00:00
1d2bd834a4Updated version number for 2.5.0 dev release
Robert Osfield
2008-05-12 11:01:54 +00:00
965c72f5bdFrom Eric Sokolowski and Robert Osfield, moved command line option usage setup from osgviewer example into osg::ArgumentParser and osgViewer::Viewer to make them more universally available.
Robert Osfield
2008-05-12 10:55:55 +00:00
61cb0833b9From Bob Kuehne, "* add easy multiple texture targets support for obj by refactoring texture load into it's own method.
Robert Osfield
2008-05-12 10:18:41 +00:00
db2cf75b23From Mathias Froehlich, fixed typo
Robert Osfield
2008-05-12 10:16:40 +00:00
a7e5972f82Added CARIO_FOUND into svg plugins checks
Robert Osfield
2008-05-11 14:26:27 +00:00
13acf6420fFrom Miguel Escriva, Here you will find a SVG Image Reader. It renders a SVG file as an osg::Image using cairo and rsvg.
Robert Osfield
2008-05-11 14:23:19 +00:00
412717c151From Paul Martz, "This change adds support for osg::Billboards to the OpenFlight exporter.
Robert Osfield
2008-05-10 17:25:42 +00:00
e9589ebb49From Paul Martz, "Another round of plugin enhancements.
Robert Osfield
2008-05-10 17:23:12 +00:00
4d7b2edd4cMoved compile setup from osgViewer::ViewerBase into osgViewer::Renderer to avoid threading issues associated with compile running in a parallel with update/cull on the first frame.
Robert Osfield
2008-05-10 17:04:02 +00:00
0dfba5dbe5Added --file-cache command line option to compliment -c
Robert Osfield
2008-05-09 17:22:49 +00:00
b12069e14cInitial cut of file cache population app
Robert Osfield
2008-05-09 17:08:31 +00:00
ebf653369aFrom Art Trevs, set the _geometryVerticesOut to default to 1 as a workaround for OpenGL driver bug that incorrectly reports a warning when value is 0.
Robert Osfield
2008-05-09 11:54:24 +00:00
61e3285ffcFrom Paul Martz, "Attached are some minor plugin fixes. PNM, RGB, and JPEG would all crash if attempting to read an empty file, and FLT would go into an infinite loop. All are fixed with this change.
Robert Osfield
2008-05-09 11:27:03 +00:00
01f58ffbb2From Jeremy Moles, fixed window resize problem
Robert Osfield
2008-05-09 10:27:59 +00:00
f733bf17e9Added missing check against handling invalid bounding sphere's
Robert Osfield
2008-05-08 17:02:08 +00:00
59653bcc08From Eric Sokolowsky, "I found one compilation error in OSG 2.4 in the Inventor plugin, where one node (SoTextureCoordinate3) was assumed to be available in all versions of Inventor but is actually only available in Coin. The use of the node is now protected by #ifdef __COIN__ constructs. The attachment is based on OSG 2.4, not SVN."
Robert Osfield
2008-05-08 16:48:49 +00:00
9e6c3a7628From Melchior Franz, "In KDE I switch desktops with Super-Tab, and occasionally I get an excess Tab key report when switching back to an OSG application (usually FlightGear :-). Although KDE has consumed the Tab, it's sometimes still in the XKeymapEvent's key_vector, and followed by a Tab KeyRelease event.
Robert Osfield
2008-05-08 16:45:59 +00:00
4345382316From Jeremy Moles, osgviewerGTK example
Robert Osfield
2008-05-08 16:39:10 +00:00
ebf3804c84From Sebastien Messerschmidt, "attached you'll find a patch for the shp-plugin. I've spotted huge memory leaks int ShapeParser and fixed them. Also, there was a missing destructor (PolygonM) and a missing member initialization (PolygonZ) Would be nice if someone could test the changes.
Robert Osfield
2008-05-08 15:17:53 +00:00
dc0355fc84Updated ChangeLog and osgversion to catch Raymond de Vries name correctly
Robert Osfield
2008-05-08 15:14:13 +00:00
b9359048d6From Raymond de Vries, "This fix tests the right variable before it is allocated. Fortunately, until now it tested another variable (_particleSizeUniform, which is, at that moment, not allocated as well) and everything went ok. So it does not fix a crash or so, it is a matter of correct code.
Robert Osfield
2008-05-08 14:00:00 +00:00
6d61e554b4From Paul Martz, "As I discovered prior to the 2.4 release, the FLT export geometry backend was using some old turn-on code, originally written just to enable other development but not intended for actual release. Sadly, my OSG training commitments prevented me from fixing this prior to 2.4.
Robert Osfield
2008-05-08 13:56:28 +00:00
0df8d414f4Updated wrappers
Robert Osfield
2008-05-08 13:46:58 +00:00
dd1a2bcaecFrom Roland Smeenk, "Small typo and implementation fix for setInitialDrawCallback."
Robert Osfield
2008-05-08 13:22:52 +00:00
47814e50a4From Philip Lowman, "Attached is a patch to the toplevel CMakeLists.txt which adds an automated test for OSG_GLU_TESS_CALLBACK_TRIPLEDOT. This should help ease initial configuration on OS X systems."
Robert Osfield
2008-05-08 12:55:01 +00:00
973f104704From Garrett Potts and Robert Osfield, changes to build against Collada DOM 2.x
Robert Osfield
2008-05-08 12:36:07 +00:00
38133f8772Updated the doxygen docs to explain the deprecated status of SceneView
Robert Osfield
2008-05-08 09:16:24 +00:00
5fbb582856Commented out checking of DISPLAY env var
Robert Osfield
2008-05-07 17:06:36 +00:00
fd6a812dd0Updated wrappers
Robert Osfield
2008-05-07 14:32:39 +00:00
22c7699fa1From Bob Kuehne, Added doxygen docs clarification of ReadResult enum values
Robert Osfield
2008-05-07 14:30:58 +00:00
01f58e2b76From Donald Cipperly, "This is a fix to eliminate >> errors in VS 7.1"
Robert Osfield
2008-05-07 14:24:14 +00:00
96f2062115From Miguel Escriva, "Attached to this mail you will find some files to work with the Philips WOWvx displays.
Robert Osfield
2008-05-07 14:17:15 +00:00
7c94ff2b6dFrom Terry Welsh, fixed typo of getEnd()
Robert Osfield
2008-05-07 13:49:32 +00:00
4f881b9a09From Jeremy Moles,"Here's a small example I us to test text rendering in osgWidget; I figured it might be helpful to folks in OSG who need to do the same. "
Robert Osfield
2008-05-07 13:46:24 +00:00