06e8ee3646Changed the CameraNode read/write code to use Transform as its parent.
Robert Osfield
2005-11-03 19:20:04 +00:00
e7ac09153aRemoved debugging message
Robert Osfield
2005-11-03 17:12:49 +00:00
40ef0bbdffFurther work on osg::CameraNode support.
Robert Osfield
2005-11-03 17:08:40 +00:00
fb2d3ae108Further work on added IO support from CameraNode.
Robert Osfield
2005-11-03 15:59:17 +00:00
9d9d6c5a12Completed osg::CameraView support in .osg and .ive formats.
Robert Osfield
2005-11-03 12:25:25 +00:00
7c612fb1d9Added env var docs on OSG_MAX_TEXTURE_SIZE
Robert Osfield
2005-11-03 10:59:22 +00:00
bd68294ed6Added --help-env option.
Robert Osfield
2005-11-03 10:57:10 +00:00
e183c79f08Updated wrappers
Robert Osfield
2005-11-03 10:18:19 +00:00
6562aa4f5fAdded initial CameraNode and CameraView stups for the .ive loader
Robert Osfield
2005-11-03 10:16:38 +00:00
eb28f9f587From Eric Sokolowsky, added writeEnvironmentSettings to help report what OSG centric environment variables are used.
Robert Osfield
2005-11-03 10:01:09 +00:00
4c13328d98Added CameraNode.cpp and CameraView.cpp
Robert Osfield
2005-11-03 09:03:46 +00:00
5dee96c14fInital work on adding .osg support for CameraNode and CameraView.
Robert Osfield
2005-11-02 19:52:58 +00:00
511dda8525Updated wrappers.
Robert Osfield
2005-11-02 19:35:35 +00:00
35b0dbc505Added request for accumulator buffer.
Robert Osfield
2005-11-02 19:15:41 +00:00
f3cfe97da9Added support in DisplaySettings and OscCameraGroup for requesting accumulator buffer.
Robert Osfield
2005-11-02 19:15:18 +00:00
df2299cb50From Alan Ott, added support for palletted imagery.
Robert Osfield
2005-11-02 16:20:55 +00:00
366aaf72e8From Brede Johnasen, changed wrap mode to CLAMP_TO_EDGE to avoid edges being seen when zoomed into the reflectio map.
Robert Osfield
2005-11-02 15:56:29 +00:00
b0df518d11Added handling of CameraNode into PickVisitor in src/osgProducer/Viewer.cpp. This is unlikely to be the final solution, but does at least fix part of the problem of handling picking HUD's underneath CameraNodes.
Robert Osfield
2005-11-02 15:23:54 +00:00
7e858b15f1From Marco Jez, added Image/ path to image files to help find them from the OpenSceneGraph-Data directory.
Robert Osfield
2005-11-02 14:24:29 +00:00
682b867e4fFrom Marco Jez, moved the rear view camera's viewport to the bottom left of window to accomdate a greater range of display sizes. From Robert Osfield, made the background colour of the intersted camera a scaled down verson of the main background colour to make it more obvious.
Robert Osfield
2005-11-02 14:22:31 +00:00
6c31d05172Added a setSupportsDisplayList(false) to constructor to prevent end users enabling display lists, something that can break the osgText's managment of state.
Robert Osfield
2005-11-02 12:22:12 +00:00
3402a5087cFixed setCameraRequiresSetUp so it properly uses the bool passed to it.
Robert Osfield
2005-11-02 11:55:02 +00:00
a86df172f9Added doc comment and removed redundent inline keyword
Robert Osfield
2005-11-02 11:33:10 +00:00
b0d19b0b66From Farshid Lashkari, "I need the ability to check for a font file without actually loading the font object. I've modified font.h/cpp of osgText so that it exports the findFontFile function."
Robert Osfield
2005-11-02 10:57:42 +00:00
ddd609e37bFrom Marco Jez, commented out debuggin message.
Robert Osfield
2005-11-02 10:55:20 +00:00
8748e21e61Added static orthoNormal function to match equivilant in Matrixd
Robert Osfield
2005-11-02 10:49:38 +00:00
4c1110858aFrom Colin McDonald, "Fix for missing class name qualifier on the orthoNormal function."
Robert Osfield
2005-11-02 10:45:56 +00:00
781f6d3cecFrom Colin McDonald, "Fixes for some duplicate global symbol definitions in the plugins, which cause errors when creating a statically linked executable."
Robert Osfield
2005-11-02 10:29:38 +00:00
21c5a129ffFixed compile warning
Robert Osfield
2005-11-02 10:29:13 +00:00
44d0e90f92Changed the error number reporting to be reported as hex.
Robert Osfield
2005-11-01 20:16:31 +00:00
5319e1d650Added an image negation callback to the render to image. Added commandline docs for the new --image and --texture-rectangle options.
Robert Osfield
2005-11-01 19:32:26 +00:00
2584d43393Removed the double call to the camera post draw callback.
Robert Osfield
2005-11-01 19:31:30 +00:00
12bd1f7d4bAdded usage of image copy and modification.
Robert Osfield
2005-11-01 17:07:55 +00:00
e23176c3b6Set the draw and read buffer to GL_NONE when using FBO's, thereby avoid invalid enumrates being generated.
Robert Osfield
2005-11-01 15:39:26 +00:00
4509232792Improved handling of osg::Image copying.
Robert Osfield
2005-11-01 15:23:03 +00:00
a4275fb8d7From Brad Colbert, Added checking for a NULL return string rom gluErrorString (with slight reformating of this by Robert Osfield.)
Robert Osfield
2005-11-01 11:18:40 +00:00
e47d56ba88Updated wrappers
Robert Osfield
2005-11-01 11:00:07 +00:00
a742cb682eAdded RenderTargetFallback option into osg::CameraNode.
Robert Osfield
2005-11-01 10:42:54 +00:00
030fe7d9eaFrom Steve Lunsford, "Attached is a copy of TXPNode.cpp with the repaired computeBounds call. I discovered that TXPNodes were being culled out prematurely because the loaded sub-tiles resulted in a computed bounds that was smaller than the extents indicated in the archive. I think this fix should be fine. I can't think of any reason why we would want to use anything other than the archive extents."
Robert Osfield
2005-10-31 16:40:23 +00:00
b704045e6cAdded default setting of _threading_model to ThreadPerCamera when multiple cameras are present, and SingleThreaded when a single camera is being used.
Robert Osfield
2005-10-31 14:48:11 +00:00
b61a8a6603From Brede Johansen, "some tweaks to the osgSim lightpoints.
Robert Osfield
2005-10-31 11:43:54 +00:00
c4ae277893Updated wrappers.
Robert Osfield
2005-10-29 11:29:58 +00:00
79a7f8c729Added catch for NULL return from glGetString( GL_VERSION );
Robert Osfield
2005-10-29 10:04:35 +00:00
d1de669f03Updated wrappers.
Robert Osfield
2005-10-29 09:52:56 +00:00
0956f3cdb4From Marco Jez, Fix for the class name lookup in osgDB::Registry::writeObject(), which can silently fail when a NodeKit's class (for example osgNVCg::Program) has the same name as that of an OSG's class (for example osg::Program).
Robert Osfield
2005-10-28 18:39:14 +00:00
578530d0b4Fixed env var docs for sharing graphics contexts.
Robert Osfield
2005-10-28 18:37:15 +00:00
37aa7f55a6Added warning message for when no file is loaded.
Robert Osfield
2005-10-28 14:02:37 +00:00
fa5ab64c94From Ravi Mathur, "Here is an update to BlendEquation that adds checking for the SGIX_blend_alpha_minmax and EXT_blend_logic_op extensions. It is tested with the osgblendequation example. If the extensions are not supported, a WARN level notification is generated."
Robert Osfield
2005-10-28 13:18:09 +00:00
ab1bd48511Moved SceneView across to use an osg::CameraNode to store the projection and view matrices, the viewport, the clear colour and the subgraph needing rendered. This is done transparently so all existing functionality will behave as before. What it does add is the ability to set a SceneView directly by a single osg::CameraNode when required.
Robert Osfield
2005-10-28 13:11:56 +00:00
3e3d16a99dChanged debug message from NOTICE to INFO level of notification
Robert Osfield
2005-10-28 10:33:11 +00:00
9c94bf2fdcAdded command line option --overlay to turn on the use of an OverlayNode.
Robert Osfield
2005-10-28 10:11:12 +00:00
669bd46d97Updated wrappers.
Robert Osfield
2005-10-28 09:20:21 +00:00
839f2058ccFrom Mike Weiblen, added check to make sure that vertex texture was supported in the OpenGL driver.
Robert Osfield
2005-10-28 08:35:55 +00:00
52b7ce608eAdded option to osgdepthpartion for loading the model specified on the commandline.
Robert Osfield
2005-10-27 13:53:55 +00:00
af1b539132Added documentation line about 32 being the maximum permitted number of line segmenets
Robert Osfield
2005-10-27 11:15:25 +00:00
96a88f968aAdded error message to report when too many line segments are added to an IntersectVisitor.
Robert Osfield
2005-10-27 11:11:02 +00:00
d2487e73e5Added support for tracking the directory of the output file whilst still maintaining local file references within this directory.
Robert Osfield
2005-10-27 10:48:44 +00:00
601ac461a2From Ravi Mathur, "New functionality is the ability to automatically determine the maximum traversal depth necessary to obtain an accurate estimate of the minimum number of required cameras. In addition, the user can specify an absolute maximum traversal depth that will not be exceeded."
Robert Osfield
2005-10-27 09:38:06 +00:00
0906851eebFrom Geoff Michel, update to osgdelaunday.
Robert Osfield
2005-10-27 09:37:38 +00:00
9bbba5a052From Don Tidrow, bug fix to setOutputTextureFiles(bool).
Robert Osfield
2005-10-26 20:30:15 +00:00
05703a9273Added friend declarations of nested classes to prevent compile problems under VS6.0
Robert Osfield
2005-10-26 20:22:59 +00:00
e66fd1dc70Changed the minimum tile image size to be 4x4 to avoid problems in mipmap generation that was occuring at sizes of 2x2, seemingly somewhere in the OpenGL driver.
Robert Osfield
2005-10-26 20:00:10 +00:00
026fba54b4From Bob Kuehne, "changed two set methods (setFocalLength,setFieldOfView) to perform assignment."
Robert Osfield
2005-10-26 16:02:24 +00:00
be07f48884From Geoff Michel, compile fixes for VS6.0
Robert Osfield
2005-10-26 09:22:13 +00:00
9c51a3db8dUpdated wrappers
Robert Osfield
2005-10-25 18:34:46 +00:00
1b26232f71Added command line support for the interlaced stereo modes.
Robert Osfield
2005-10-25 15:49:48 +00:00
f46044084aFrom Farshid Lashkari & Robert Osfield: Added support for VERTICAL_INTERLACE and HORIZONTAL_INTERLACE stereo modes use the stencil buffer.
Robert Osfield
2005-10-25 15:43:04 +00:00
e14262df85Updated wrappers.
Robert Osfield
2005-10-25 14:01:50 +00:00
598dda59f5From Geoff Michel, added support for constrain delaunay triangultion, and osgdelaunay example.
Robert Osfield
2005-10-25 13:28:48 +00:00
2b2ca82b5aAdded check against glGetString(GL_VERSION) returning NULL.
Robert Osfield
2005-10-25 13:24:39 +00:00
b02df25771Added missing projects
Robert Osfield
2005-10-25 10:30:32 +00:00
c378f8ac67Added osgcatch project
Robert Osfield
2005-10-25 10:29:11 +00:00
d46c827570Added missing projects.
Robert Osfield
2005-10-25 10:12:18 +00:00
032b7484d4From Markus Trenkwalder, added meanigful return types in Registry::read(const ReadFunctor& readFunctor) for ERROR_IN_READING_FILE and FILE_NOT_FOUND cases.
Robert Osfield
2005-10-25 09:54:15 +00:00
d0ec2ea08fAdded protected destructors.
Robert Osfield
2005-10-25 09:49:53 +00:00
280f50b3d9From Don Tidrow, removed unncessary includes.
Robert Osfield
2005-10-25 09:43:37 +00:00
285418d6f8From Brede Johansen, changed osg_InverseViewMatrix to osg_ViewMatrixInverse to bring into line with OpenGL shader languague conventions.
Robert Osfield
2005-10-25 09:23:21 +00:00
758ee8ed80Changes to fix divide by 0 warning under VS.
Robert Osfield
2005-10-24 18:51:36 +00:00
51f74bd37aUpdated wrappers.
Robert Osfield
2005-10-24 13:49:19 +00:00
fe1536ebd6Fixed compile warnings.
Robert Osfield
2005-10-24 13:46:31 +00:00
5374ddaccbFrom Mike Weiblen, "some fixes for OSG_OPTIMIZER envar parsing and help display"
Robert Osfield
2005-10-24 11:46:51 +00:00
9eff1ebd60From Marco Jez, added missing example project files.
Robert Osfield
2005-10-24 11:44:07 +00:00
a76ae5e830From Tony Horrobin:
Robert Osfield
2005-10-24 11:37:03 +00:00
f7bd1fc456From Don Tidrow, "I discovered that externally-referenced models in the TXP format didn't get positioned correctly when the TXP database was built using the 'tile-offset' mode. I've included a tarball with what I believe are the needed changes - they work for the sample databases I have available, but not all conditions have been tested. I've set things up such that these changes shouldn't affect 'normal' txp databases."
Robert Osfield
2005-10-24 11:34:12 +00:00
b5085b7799Warning fixes for Win32 build.
Robert Osfield
2005-10-24 11:25:20 +00:00
7b1b3b6aceAdded copyright notices.
Robert Osfield
2005-10-24 10:53:01 +00:00
f2f6e6bb45Added beginnings of Programming Guide, and NodeTrackerCallback.
Robert Osfield
2005-10-24 10:51:50 +00:00
89f6753492From Farshid Lashkari, compile fix for VS 2002.
Robert Osfield
2005-10-14 21:40:03 +00:00
a312b0451eFrom Farshid Laskari, changed the compute of the text bounding box to include the spaces.
Robert Osfield
2005-10-14 09:29:13 +00:00
fb524952b6Renamed osgUtil::RenderGraph to osgUtil::StateGraph
Robert Osfield
2005-10-13 12:51:00 +00:00
5d1b46d25fChanged the "Cessna" text so that it is sized according to OBJECT_COORDS rather than SCREEN_COORDS as the later was causing problems with the pixel size based LOD selection.
Robert Osfield
2005-10-13 10:29:40 +00:00
5f3ec7dbcbUpdated wrappers.
Robert Osfield
2005-10-13 08:18:12 +00:00
d2dbb7cf50Added Producer.lib to osgdepthpartion project file
Robert Osfield
2005-10-13 08:07:36 +00:00
5765b4bf85Added PRODUCER_INSTALLED=yes make options to the unix build system, not defining PRODUCER_INSTALLED=yes or setting it to another value than yes (i.e no) will result in the osgProducer library, OSG applications and demos not being built.
Robert Osfield
2005-10-13 08:05:46 +00:00
1e508d432bAdded SmokeTrailEffect which renders created particles as single quad or line strip, in the case of the quad strip the strip is aligned to the be orthogonal with the eye point.
Robert Osfield
2005-10-12 18:42:36 +00:00
540e676daeAdded new shell of new class ConnectedParticleSystem, which will be used for managing connect particle system for the purpose of doing missile trails etc.
Robert Osfield
2005-10-11 09:47:28 +00:00
b7fd3bfdc4From Ravi Mathur, osgdepthpartition example program.
Robert Osfield
2005-10-10 10:10:44 +00:00
290e0b6eedFrom Alberto Jaspe, added double precision interpolation method
Robert Osfield
2005-10-10 09:17:22 +00:00
34dd065d66Added into CVS missing PolgonMode files.
Robert Osfield
2005-10-07 07:46:48 +00:00