Commit Graph

1066 Commits

Author SHA1 Message Date
Robert Osfield
839fb12098 Refined the default settings for rain and snow to achieve better framerates. 2006-04-14 14:24:12 +00:00
Robert Osfield
fd838f5787 Added fog parameters settings. 2006-04-14 11:04:11 +00:00
Robert Osfield
f1b52fbd0a Added --numberOfParticles, --numberOfCellsX, --numberOfCellsY, --numberOfCellsZ, --boundingBox, --fogEnd and --fogDensity controls 2006-04-13 20:21:55 +00:00
Robert Osfield
264ae12770 Added command line options and various speed improvements. 2006-04-13 19:05:26 +00:00
Robert Osfield
7747971b6a Implement positioning of cells via vertex attribute. 2006-04-12 11:59:07 +00:00
Robert Osfield
19a1d83f33 Moved common uniforms to top of precipitation subgraph.
Added a run of the SpatializeGroupVisitor to create a balanced subgraph.

Changed the quad to particle transistion distance from 100 to 50m.
2006-04-12 09:42:25 +00:00
Robert Osfield
3be10b5a2a Added support for LOD's with transistion between quads and point rendering. 2006-04-11 19:56:53 +00:00
Robert Osfield
9faf5f9496 Added support for point sprite particle effects. 2006-04-11 13:22:59 +00:00
Robert Osfield
e15c67b9cd Added point and line paths. 2006-04-11 10:53:46 +00:00
Robert Osfield
abfda5e38a Added mipmap generation. 2006-04-07 19:54:44 +00:00
Robert Osfield
5335b45146 Added quad based rain effect 2006-04-07 18:24:52 +00:00
Robert Osfield
051f2a5eb9 Added beginings osgprecipitation example. 2006-04-05 15:13:17 +00:00
Robert Osfield
1c2deb253a Build fixes to cope with changes to Producer/osgProducer. 2006-03-30 10:20:11 +00:00
Robert Osfield
f17faa80b3 From Keith Steffen, changed instance of sun to sun_geode to avoid Solaris10 build issue with it defining "sun"?#! 2006-03-17 22:22:57 +00:00
Robert Osfield
5fe7595478 Added moving sphere segment intersections. 2006-03-15 12:26:10 +00:00
Robert Osfield
dbbabf87c6 Converted osgGA::GUIEventAdapter into a concrete class capable of respresenting
keyboard and mouse events.

Added osgGA::EventQueue class to support a thread safe event queue and adaption
of keyboard and mouse events.

Removed osgProducer::EventAdapter as GUIEventAdapter replaces it.

Adapted osgProducer and examples to work with the new changes to osgGA.
2006-03-08 14:09:47 +00:00
Robert Osfield
71b7a6be7b Compile fix. 2006-02-28 20:10:25 +00:00
Robert Osfield
93f514109f Further clean up of RefNodePath references. 2006-02-28 19:36:18 +00:00
Robert Osfield
a028f59ea0 Added debugging code to help pick out instablilities in osgParticle. Debugging
code now commented out.
2006-02-24 13:57:47 +00:00
Robert Osfield
943be478f4 Fixed function name call. 2006-02-23 12:39:31 +00:00
Robert Osfield
7d5c81bf5e From Ulrich Hertlein, spelling corrections and a few Doxgen comments. 2006-02-20 21:05:23 +00:00
Robert Osfield
3936bcde9e Added support for up sampling by dividing longest edges. 2006-02-06 17:12:35 +00:00
Robert Osfield
e4e95a1d60 Added support for tracking mouse movement and computing the intersection of the mouse position
into texture coords.
2006-01-12 22:43:36 +00:00
Robert Osfield
3235f4fa22 Added ability to write out the selected parts of the scene graph. 2006-01-03 16:52:06 +00:00
Robert Osfield
6fe4be23e6 Ported picking across to using PickVisitor. 2005-12-23 10:59:31 +00:00
Robert Osfield
061976f4d4 Fixed typo in text string. 2005-12-16 14:53:51 +00:00
Robert Osfield
c41d027e6b Fixed the text to match the implementation. 2005-12-09 19:54:31 +00:00
Robert Osfield
be850746e4 From Eric Wing, fixed typo induced bug. 2005-12-07 11:38:39 +00:00
Robert Osfield
2d14519946 Enabled thread safe counting by default. 2005-12-07 09:48:28 +00:00
Robert Osfield
a865ea7773 Removed osgdemeter example from distribution because it no longer compiles,
and Demeter itself nolonger compiles, osgdemeter has now been moved to the community
section of openscenegraph.org.
2005-12-06 12:07:34 +00:00
Robert Osfield
e1454d22a7 Attempt at build fixes for IRIX. 2005-12-05 10:24:02 +00:00
Robert Osfield
edf4598838 From Geoff Michel, Fix to prevent Producer::Trackball being set up with a negative
radius.
2005-12-05 10:08:52 +00:00
Robert Osfield
b1f9e1dfd7 Added comments. 2005-12-01 16:43:40 +00:00
Robert Osfield
1c9f1b8eb1 Added TestSupportCallback to properly handle querry of OpenGL support of
vertex texturing in GLSL.
2005-12-01 14:09:38 +00:00
Robert Osfield
2ce7718a66 From Eric Wing, fixes for "warning: converting of negative value '-0x00000000000000001' to 'unsigned int'" 2005-11-29 11:39:07 +00:00
Robert Osfield
caaecc9f2a Switched off the VBO usage in osgparametric as it was tripping up ATI and 3DLabs drivers. 2005-11-29 08:59:30 +00:00
Robert Osfield
0514427c0a Fixed warning. 2005-11-28 10:58:09 +00:00
Robert Osfield
81435a28b9 From Gideon May, port to OSX of GLUT examples. 2005-11-28 09:15:46 +00:00
Robert Osfield
3881a55564 From Geoff Michel, fix for the scaling of the random number generation. 2005-11-27 15:32:57 +00:00
Robert Osfield
0663c3b653 From John Donovan, typo fixes. 2005-11-25 19:18:12 +00:00
Robert Osfield
13cd57eafc Lightened by the ambientBias term. 2005-11-24 19:53:20 +00:00
Robert Osfield
b5a5cd7901 Changed the default value of Texture::_resizeNonPowerOfTwoHint to true, to
improve the backwards compatibility of peformance on systems that have OpenGL2.0
drivers but without hardware that can't handle non power of two textures.
2005-11-24 10:28:09 +00:00
Robert Osfield
b4fb878e1e Fixed mistmatch of ReadFileCallback type. 2005-11-23 12:16:22 +00:00
Robert Osfield
91855e7c50 Replaced tabs with spaces in examples. 2005-11-17 20:22:55 +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
d91f2c631d Improved handling of core OSG being compile with float Matrices. 2005-11-17 09:57:40 +00:00
Robert Osfield
6bedddf146 Ran dos2unix on makefile. 2005-11-16 20:27:28 +00:00
Robert Osfield
10b5d505a2 From Joakim Simonsson/Robert Osfield. Fixed line endings. 2005-11-15 22:18:29 +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
dd622d7a9a From Mike Weiblen, switched off lighting of points to make them clearer 2005-11-15 08:56:05 +00:00
Robert Osfield
91f5b9b04e Fixes for VS6.0 build. 2005-11-11 12:45:59 +00:00
Robert Osfield
6fb7ff83d7 Fixes for VS6.0 2005-11-10 20:04:16 +00:00
Robert Osfield
435e4b828c Fixes for dumb VS6.0 compiler 2005-11-10 19:32:37 +00:00
Robert Osfield
06117353df Fixes for VS6.0 2005-11-10 19:16:01 +00:00
Robert Osfield
cee8424c0f Compile fixes for VS6.0. 2005-11-10 17:24:41 +00:00
Robert Osfield
c2f1527fe0 Added better control for cancel GraphicsThreads. 2005-11-10 15:25:06 +00:00
Robert Osfield
20d9c3c3c4 Compile fixes for VS7.1 2005-11-10 09:42:34 +00:00
Robert Osfield
2bd868cd1c Added release and flush of OpenGL objects after build of the terrain database to prevent
the build graphics context state leaking into the viewers graphics context set.
2005-11-09 20:26:34 +00:00
Robert Osfield
1c73f6af2b Moved the blink sequence light points down so they are visible in the default
camera position.
2005-11-09 17:08:50 +00:00
Robert Osfield
38103c588b Changed the NO_ROTATION label so it is aligned with the XZ plane to make it easier to see. 2005-11-09 17:06:12 +00:00
Robert Osfield
83d492162e Added the support in AnimationPathCallback for taking a pivot, axis and rotation rate
paramters in its constructor to allow it to be used to create rotations around a point.
This provides the same interface and functionality as osgUtil::TransformCallback but
has the advantage and AnimationPathCallback is fully supported by the .osg and .ive file formats.
2005-11-09 15:11:22 +00:00
Robert Osfield
4d42be705d Reduced the size of the "oversized" cessna.osg 2005-11-09 13:39:08 +00:00
Robert Osfield
6c3c5554b6 Update texture file names to reflect new files in OpenSceneGraph-Data distribution. 2005-11-09 13:18:46 +00:00
Robert Osfield
6c70812928 Fixed warnings. 2005-11-09 10:41:52 +00:00
Robert Osfield
28d939e617 Fixed compile warning. 2005-11-09 10:37:10 +00:00
Robert Osfield
53e075f78b From Brad Colbert/Robert Osfield: added s/getSourceFormat and s/getSourceType to osg::Texture
along with support for this Texture1D, 2D, 3D, TextureCubeMap and TextureRectangle.  The
new SourceFormat and SourceType parameters are only used when no osg::Image is assigned to
an osg::Texture, and main use is for render to texture effects.

Added support for --hdr option in osgprerender, which utilises the new Texture::setSourceFormat/Type() methods.
2005-11-08 15:52:21 +00:00
Robert Osfield
416f908f29 From Ruben (with a few addition/changes from Robert), fixed the commandline of the osgsimplifier example. It now reads
--ratio and --max-error.

---------------------------------------------------
2005-11-07 10:29:24 +00:00
Robert Osfield
6562aa4f5f Added initial CameraNode and CameraView stups for the .ive loader 2005-11-03 10:16:38 +00:00
Robert Osfield
35b0dbc505 Added request for accumulator buffer. 2005-11-02 19:15:41 +00:00
Robert Osfield
366aaf72e8 From Brede Johnasen, changed wrap mode to CLAMP_TO_EDGE to avoid edges being
seen when zoomed into the reflectio map.
2005-11-02 15:56:29 +00:00
Robert Osfield
b0df518d11 Added 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.
2005-11-02 15:23:54 +00:00
Robert Osfield
7e858b15f1 From Marco Jez, added Image/ path to image files to help find them from the OpenSceneGraph-Data directory. 2005-11-02 14:24:29 +00:00
Robert Osfield
682b867e4f From 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.
2005-11-02 14:22:31 +00:00
Robert Osfield
5319e1d650 Added an image negation callback to the render to image. Added commandline docs
for the new --image and --texture-rectangle options.
2005-11-01 19:32:26 +00:00
Robert Osfield
12bd1f7d4b Added usage of image copy and modification. 2005-11-01 17:07:55 +00:00
Robert Osfield
37aa7f55a6 Added warning message for when no file is loaded. 2005-10-28 14:02:37 +00:00
Robert Osfield
ab1bd48511 Moved 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.
2005-10-28 13:11:56 +00:00
Robert Osfield
9c94bf2fdc Added command line option --overlay to turn on the use of an OverlayNode. 2005-10-28 10:11:12 +00:00
Robert Osfield
839f2058cc From Mike Weiblen, added check to make sure that vertex texture was
supported in the OpenGL driver.
2005-10-28 08:35:55 +00:00
Robert Osfield
52b7ce608e Added option to osgdepthpartion for loading the model specified on the commandline. 2005-10-27 13:53:55 +00:00
Robert Osfield
601ac461a2 From 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."
2005-10-27 09:38:06 +00:00
Robert Osfield
0906851eeb From Geoff Michel, update to osgdelaunday. 2005-10-27 09:37:38 +00:00
Robert Osfield
598dda59f5 From Geoff Michel, added support for constrain delaunay triangultion, and osgdelaunay example. 2005-10-25 13:28:48 +00:00
Robert Osfield
fe1536ebd6 Fixed compile warnings. 2005-10-24 13:46:31 +00:00
Robert Osfield
5d1b46d25f Changed 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.
2005-10-13 10:29:40 +00:00
Robert Osfield
1e508d432b Added 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.
2005-10-12 18:42:36 +00:00
Robert Osfield
b7fd3bfdc4 From Ravi Mathur, osgdepthpartition example program. 2005-10-10 10:10:44 +00:00
Robert Osfield
18d680d01f Improved the UpdateCameraAndTexGenCallback so it properly handles rotation and
translations within the reflector nodepath.
2005-10-06 20:02:18 +00:00
Robert Osfield
cf2974329f Added code paths for PBuffer RTT support. 2005-10-04 18:50:00 +00:00
Robert Osfield
c401e31bd8 Added test cases for SphereSegment intersection code. 2005-10-01 19:28:34 +00:00
Robert Osfield
d82d598115 Fixed typo of CameraNode::setRenderTargetImplementation(..) 2005-09-29 09:36:51 +00:00
Robert Osfield
b38f491c12 From Volker Walkiewicz (with tweaks from Robert Osfield):
Fix to the update of the error metrics on the edges in the simplification mesh that are affected by an edge collapse.

Addition of 'n' and 'p' keyboard control in osgsimplifier example to allow users to control the sample ratio manually.
2005-09-28 16:05:35 +00:00
Robert Osfield
07d7d39eb5 Added TexEnv DECAL mode. 2005-09-26 11:24:14 +00:00
Robert Osfield
30478f0fef From Mike Weiblen: support for OSGHANGGLIDE_REVERSE_CONTROLS env which reverses
the pitch and roll control to account from Mike's "unique" way of flying hang gliders :-)
2005-09-19 15:33:25 +00:00
Robert Osfield
d1108ea862 Added support for "-O OutputTextureFiles" options string in .osg plugin to
allow texture files to be written out when writing out a .osg file.
2005-09-19 14:07:44 +00:00
Robert Osfield
d2f98ef56e Added line connectivity code. 2005-09-15 20:03:37 +00:00
Robert Osfield
e2361865fc From Sondra Iverson, "The options to rewind/restart and to toggle looping in the osgmovie
example have been implemented. "
2005-09-11 19:05:30 +00:00
Robert Osfield
745834c329 Added triangle index functor to src/osgUtil/SphereSegment.cpp for computing
the intersection between an indivual geometry and the sphere segment.

Converted the terrain in osgspheresegment to be an osg::Geometry based
drawable rather than a osg::ShapeDrawable/osg::HeightField one to make it
more practicle to use as a test for the new SphereSegment intersection code.
2005-09-09 11:13:40 +00:00
Robert Osfield
559219f519 Added initial interface for computing intersections between sphere segments
and terrain.
2005-09-08 13:10:04 +00:00
Robert Osfield
765db1998c Added support for cullable state, that uses a polytope to define the extents
of objects that will be influenced by it.
2005-09-07 16:18:43 +00:00
Robert Osfield
58112d9591 Added a grid of lines into the OverlaySubgraph to demonstate use the
OverlayNode for applying general drawing onto terrain.
2005-09-06 20:28:53 +00:00
Robert Osfield
4e6a8cfcd5 Added s/getContinousUpdate(bool) method to OverlayNode. 2005-09-06 19:54:29 +00:00
Robert Osfield
5283c11f8a Added osgSim::OverlayNode to osganimate and osgspheresegment examples, and
added support for setting texture size hint and coping with scene graphs
with CoordinateSystemNode in them.
2005-09-06 15:48:18 +00:00
Robert Osfield
db24ea247c Changed #if 2005-09-05 13:27:48 +00:00
Robert Osfield
4795fb88e6 Added checking of EventVisitor type 2005-09-05 13:26:50 +00:00
Robert Osfield
b8d7a3bf44 Added event handler to shader code so that alphaCuttOff, transparency and
sampleDensity are controlled via 'a', 't' and 'd' respectively.
2005-09-05 13:19:20 +00:00
Robert Osfield
efc4f2436f Integrated shaders into source. 2005-09-05 10:40:04 +00:00
Robert Osfield
ab879525ef Added all sides of the shader cube 2005-09-05 09:14:30 +00:00
Robert Osfield
7ed8bab8d4 Added preliminary GLSL shader path for volume rendering. 2005-09-05 07:48:55 +00:00
Robert Osfield
d58487c763 Changed red()/green()/blue()/alpha() to r()/g()/b()/a() for greater consistency
across Vec* classes and with OpenGL Shander Lanaguage.
2005-09-03 20:56:25 +00:00
Robert Osfield
2ea5d71d82 Added commandline arguments for controlling number of cameras through to the windowing library to use. 2005-09-02 20:06:11 +00:00
Robert Osfield
4167a3f980 Added clean up class to help improve the exit of GraphicsThread 2005-09-02 13:10:46 +00:00
Robert Osfield
727e55a63a Removed circular reference of osg::CameraNode, fixing memory leak. Added
a auto exit after a maximum number of frames are completed.
2005-08-31 20:39:05 +00:00
Robert Osfield
a420782199 Added osgSim::OverlayNode setup in osgsimulation, and added preliminary test
code to the osgSim::OverlayNode to test osgsimulation/the architecture.
2005-08-31 15:04:27 +00:00
Robert Osfield
af7eba1a7f Set number of cameras to 3. 2005-08-31 13:43:29 +00:00
Robert Osfield
8686ed3136 Disable the glFinishBarrierOp usage as glFinish was spin locking the CPU :-| 2005-08-31 12:49:23 +00:00
Robert Osfield
c1ebc87c2c Seperated out the cull and draw traversals into their own operations,
and added a glFinishBarrierOp which can be placed between the cull and the
draw or after swap.
2005-08-31 10:55:58 +00:00
Robert Osfield
3b065bc163 Add comments explain how example works. 2005-08-31 09:21:34 +00:00
Robert Osfield
c02e91c1b4 Added support for GrapicsOpeations that are reused each frame, cleaned up
osgcamera example.
2005-08-30 22:28:30 +00:00
Robert Osfield
f9bcde3cf0 Added name and keep member variables to osg::GraphicsThread::Operation to allow
the names of the operations to be logged for stats purposes, or used when
do searches of the operation list.  The keep member variable tells the graphics
thread run loop wether to remove the entry from the list once its been called.
2005-08-30 19:03:02 +00:00
Robert Osfield
aba3b4fa67 Clean up and fixes to GraphicThread class, and osgcamera example. 2005-08-30 14:41:08 +00:00
Robert Osfield
ceadd41ef1 Fixed reading and writng of data. 2005-08-29 20:38:46 +00:00
Robert Osfield
492956d73e Added scratch pad reset. 2005-08-29 20:16:15 +00:00
Robert Osfield
6e39f9f475 Implement a scratch pad for writing and read data to, to solve issue between
running a master and slave on a mix of 32bit and 64bit.
2005-08-29 19:57:02 +00:00
Robert Osfield
9f740f7397 Improved support for keyboard/mouse events in osgcluster. 2005-08-29 14:05:30 +00:00
Robert Osfield
2e84f10b21 Added extra debug info. 2005-08-29 12:25:16 +00:00
Robert Osfield
ffb06a8c49 Added extra access methods on osgProducer::KeyboardMouseCallback, and added
support for reading and writing keyboard/mouse events in osgcluster.
2005-08-29 12:05:17 +00:00
Robert Osfield
ee4d2128da Added --num-components <num> option. 2005-08-26 13:26:02 +00:00
Robert Osfield
be285c62c0 Added support for rapid movement of the emitter, with particle now seeding between
the position of the emitter in the previous frame and the new position in the new
frame, the number of particles added also scales up to compensate for this movement.
2005-08-25 14:12:08 +00:00
Robert Osfield
2fa2041655 From Joseph Winston, "Corrected displayed comment about the text size
to match the actual text size."
2005-08-22 13:45:15 +00:00
Robert Osfield
ac07e07705 Further work on GraphicsContext/GraphicsThread 2005-08-20 08:59:03 +00:00
Robert Osfield
db3fe3fd3b Implemented more SceneView operations in main as a move to try and replace SceneView usage in this example. 2005-08-18 08:37:01 +00:00
Robert Osfield
e98102219b Replaced osgUtil::SceneView usage by osg::CameraNode 2005-08-17 16:13:06 +00:00
Robert Osfield
e8fc5248fa Added realize() and isRealized() methods to osg::GraphicsContext.
Added osgcamera example that uses osg::GraphicsContext to create the required
window for rendering too, will eventually use osg::CameraNode to replace usage
of osgUtil::SceneView.
2005-08-16 13:29:07 +00:00
Robert Osfield
75987a045d Added osgshaderterrain example. 2005-08-15 13:54:25 +00:00
Robert Osfield
5959362e5c Added base texture support. 2005-08-09 14:13:24 +00:00
Robert Osfield
7cb6bbdfea Added GLSL shader pathway into osgforest. 2005-08-09 09:11:15 +00:00
Robert Osfield
81dab87154 Added blend shadow fragment shader 2005-08-06 04:33:56 +00:00
Robert Osfield
3c23a42f17 Added support for TextureCubeMap into osgUtil::RenderToTextureStage. 2005-07-25 13:05:57 +00:00
Robert Osfield
302c58fc93 Implemented the beginings of the osgProducer::GraphicsContexImplementation.
Added options into osgprerender for controlling how to do the pre rendering i.e.
--fbo, --pbuffer, --fb --window, and also added the option for controlling the
window size with --width and --height.
2005-07-21 19:27:19 +00:00
Robert Osfield
b9e651baf1 Added new osg::GraphicsContext base class 2005-07-20 15:55:07 +00:00
Robert Osfield
8dd013171c Ported all the render to texture examples across to using the new osg::CameraNode.
Added support for texture cube maps in FBO + CameraNode.
2005-07-19 16:30:55 +00:00
Robert Osfield
71a7078d79 Added return 1. 2005-07-15 19:24:46 +00:00
Robert Osfield
1c88914e5f From Yuri Vilmanis, improved multi-line justifaction support and new alignment modes 2005-07-15 16:22:53 +00:00
Robert Osfield
d35ea68f3e Renamed Byte2,3,4 and Short2,3,4 and UByte4 to use the Vec*b, Vec*s and Vec4ub form 2005-07-15 14:41:19 +00:00
Robert Osfield
ec5463c10d Cleaned up osghud and osgprerender examples 2005-07-15 08:31:02 +00:00
Robert Osfield
247327ef31 Updates 2005-07-14 21:04:40 +00:00
Robert Osfield
d4a8bc0f03 Changed osgpagedlod example to convert LOD nodes into PagedLOD ones. 2005-07-14 10:18:05 +00:00
Robert Osfield
4175def6be Ported osgshadow across to using new osg::CameraNode 2005-07-10 14:50:52 +00:00
Robert Osfield
94ad07af5e Ported osgdistortion example across to using osg::CameraNode. 2005-07-09 14:35:35 +00:00
Robert Osfield
68cb69ee82 Added support for point sprites 2005-07-01 09:10:37 +00:00
Robert Osfield
64cfa2773d Added tri sripping and support for outputing files. 2005-06-30 09:08:31 +00:00
Robert Osfield
92d15adf76 Added / and * controls of the distance attentuations of the point size extension 2005-06-27 14:28:29 +00:00
Robert Osfield
0a021cf04f From Mike Weiblen, fixes to shaders to correct modification of varying types 2005-06-22 11:26:56 +00:00
Robert Osfield
8bc1910767 Added experimental OpenGL shader path for positioning of trees (doens't work yet though..) 2005-06-22 11:01:22 +00:00
Robert Osfield
708b6f5530 Added option for terrain texturing. 2005-06-21 16:10:04 +00:00
Robert Osfield
91106262e8 Added matrix and simple vertex shader paths. 2005-06-21 15:24:23 +00:00
Robert Osfield
88f65c2c24 Combined uniforms. 2005-06-21 15:13:42 +00:00
Robert Osfield
1103911277 Tweaked the vertex program. 2005-06-21 12:12:50 +00:00
Robert Osfield
900739bd7e Added very simply osgparametric example which uses an OpenGL shader program
to create an animated parametric surface.
2005-06-20 21:10:32 +00:00
Robert Osfield
c5cad6982e Further FBO support work. 2005-06-16 14:01:38 +00:00
Robert Osfield
d702fed0ef Moved FBO support from osgfbo example into core osg. 2005-06-16 11:42:59 +00:00
Robert Osfield
77a4cef9d6 Futher work on FBO support 2005-06-15 20:06:10 +00:00
Robert Osfield
dfaed083ea Added osgmultiplecameras example and support for pre/post multiplaction. 2005-06-15 10:59:10 +00:00
Robert Osfield
71122ff38f Work on the RenderToTexture usage of the new osg::CameraNode. Both osghud
and osgprerender now ported across to osg::CameraNode.
2005-06-14 20:51:35 +00:00
Robert Osfield
a7b343237b Fixed makefiles 2005-06-09 11:53:23 +00:00
Robert Osfield
5c86ecebe4 From Marco Jez, added example that uses FBO extension to do prerendering. 2005-06-09 11:08:37 +00:00
Robert Osfield
96eb0b71c6 Added \n to end of a couple shader source lines. 2005-06-09 09:27:43 +00:00
Robert Osfield
119b528711 Added texture2D shader source 2005-06-09 08:29:22 +00:00
Robert Osfield
ac02c37718 Added experiment GLSL fragment shader to clip out dark areas of videos. 2005-06-08 15:57:05 +00:00
Robert Osfield
69cd27e37f Added sizeof(std::string) test to osgunittests 2005-06-08 10:39:43 +00:00
Robert Osfield
24849f3c70 Renamed ExplosionDebriEffect to ExplosionDebrisEffect 2005-05-25 16:42:36 +00:00
Robert Osfield
3ac091bb25 Changed .png files to .jpg to help save space in OpenSceneGraph-Data. 2005-05-22 20:30:30 +00:00
Robert Osfield
f1ef59b757 Added scoring, welcome page, you've lost and you've won pages. 2005-05-22 20:19:26 +00:00
Robert Osfield
a76e9c83c4 Added support for multiple levels, and exit on lose of all lives or on finishng
the highest level.
2005-05-21 21:19:11 +00:00
Robert Osfield
3d4e2fa4f3 Updates to osgcatch game to allow different types of falling objects 2005-05-21 12:57:28 +00:00
Robert Osfield
ea9cfaf11e Maded debugging output write out at INFO level 2005-05-21 09:55:43 +00:00
Don BURNS
0f164c9f7f PBuffer example revamped to use a normal CameraConfig for setting up the
PBuffer and main cameras, and a PBufferTexture2D for the texture, rather
than a subload callback
2005-05-18 21:34:55 +00:00
Robert Osfield
9717fcd3a5 Added destructor to fix Cygwin build problem. 2005-05-17 13:24:34 +00:00
Robert Osfield
bf4d63f6ea Added new Node/Drawable::s/getInitialBound and Node/Drawable::s/getComputeBoundCallback
methods and reimplement computeBound so that it passes back a bounding volume rather
than modifying the local one.
2005-05-12 14:03:22 +00:00
Robert Osfield
460c77b7f0 From Nathan Monteleone, rewrote the osgpbuffer example so that it uses
Producer xplatform support for pbuffer instead of Win32 specific pathways
    as support before. (with a few code tweaks to simplfy the code, by Robert Osfield).
2005-05-11 19:14:36 +00:00
Robert Osfield
538ced579e Removed deprecated API in preparation for 0.9.9 release. 2005-05-09 13:09:07 +00:00
Robert Osfield
d1a1b1d95c Added more comprehensive releaseGLObjects(State*=0) throughout Nodes,
Drawables,StateSet, and osgDB::Registry.

Added cleanup_frame() from to osgProducer::OsgCamerGroup to help with proper
clean of OpenGL objects before exit, and modified osgviewer, osghangglider,
osgwindows examples to do the extra frame call to cleanup_frame() before exit.
2005-05-07 20:47:09 +00:00
Robert Osfield
e025ba39f0 From Bob Kuehne, OSX 10.4 fix. 2005-05-03 16:34:54 +00:00
Robert Osfield
0b291e60bb From Mike Weiblen, added \n newlines to inline shader program strings.
From Robert Osfield, changed tabs to spaces.
2005-05-02 09:34:27 +00:00
Robert Osfield
03232ec667 Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core feature. 2005-05-01 19:48:49 +00:00
Robert Osfield
81f60233a9 From Geoff Michel :
ac3d loader - better sharing of states between objects and Roger James' bug fix for missing normals.

  Tesselator.cpp - faster processing of polygon tesselation for single triangles (which dont need to be tesselated)

  osgtesselate.cpp - added wrap for texture so that appearance is as originally. Default texture behaviour has changed to clamp."
2005-04-30 13:54:21 +00:00
Robert Osfield
6b5238c294 Moved osgParticle across to standard OSG coding style. 2005-04-29 09:47:57 +00:00
Robert Osfield
98126f1706 Moved to standard OSG coding style. 2005-04-29 06:32:13 +00:00
Robert Osfield
a753748a1a From Marco Jez, converted line endings to unix. 2005-04-28 05:12:54 +00:00
Robert Osfield
e24cfa0370 Futher work on supporting update and event callbacks in StateSet, Uniform and StateAttribute 2005-04-25 13:37:12 +00:00
Robert Osfield
6b8a50375b Removed the use of the post swap callback 2005-04-23 10:45:38 +00:00
Robert Osfield
c7fb7e8b5f From Brede Johansen, tweaked refraction and fresnel coefficients for a better
visual effect.
2005-04-22 20:56:03 +00:00
Robert Osfield
505db98c47 Improved handling of unsupported formats 2005-04-22 15:44:21 +00:00
Robert Osfield
8d1c407a9a Small tweaks 2005-04-20 19:53:07 +00:00
Robert Osfield
6ff535441b Removed the enabling of the point smooth mode. 2005-04-20 14:51:13 +00:00
Robert Osfield
3953190dfe Fixed typo in testLookAt debug info. 2005-04-17 19:14:32 +00:00
Robert Osfield
1525a00e1f From Mike Weiblen,added debug info to osg::Program and changed shader uniform names to
avoid conflict with built in functions
2005-04-16 10:11:18 +00:00
Robert Osfield
16c55531da Preparation for moving osgGL2 out of the core OSG into its own seperate distribution. 2005-04-14 11:28:23 +00:00
Robert Osfield
22c695cdef From Mike Weiblen, fixed copy and paste error in new osgshaders.cpp example. 2005-04-14 08:00:25 +00:00
Robert Osfield
789cb7dea7 Added applying of all parents uniforms 2005-04-13 14:31:25 +00:00
Robert Osfield
0015a31de8 Added basic support for applying uniforms to programs, non lazy state updating
is yet applied though.
2005-04-13 14:12:06 +00:00
Robert Osfield
67ba3c94c9 Added #if block for swith between imagery 2005-04-12 19:28:37 +00:00
Robert Osfield
493bcdd694 Fixed bug 2005-04-12 19:17:01 +00:00
Robert Osfield
3bdfbbe70f Further work on kiddies game. 2005-04-10 21:25:37 +00:00
Robert Osfield
a54a3b2bfb From Mike Weiblen, osgGLUTsimple and osgGLUTkeyboardmouse examples 2005-04-08 19:40:16 +00:00
Robert Osfield
bd31479740 From Marco Jez, updates to reflect new osgIntrospection API 2005-04-08 19:29:12 +00:00
Robert Osfield
394708bb2c Added #include <osg/io_utils> 2005-04-08 10:32:10 +00:00
Robert Osfield
52f192f53f Reverted back to not test version of osgsimulation 2005-04-08 09:55:52 +00:00
Robert Osfield
21ea5a55a8 Added #include <osg/io_utils> 2005-04-08 09:51:56 +00:00
Robert Osfield
4de8199011 Added #include <osg/io_utils> 2005-04-08 09:45:06 +00:00
Robert Osfield
c8a3198129 From Mike Weiblen, ported osgshaders example from osgGL2 to core osg based. 2005-04-07 20:20:09 +00:00
Robert Osfield
4c362f5447 Introduced a flight path that goes around the earth going into the north and sound
hemisphere's with heading and roll adjustment.
2005-04-07 13:49:54 +00:00
Robert Osfield
b82f0376b7 Beginnings of litte kiddies game example, written in collaboration with my
5 year old daughter who is the game designer and artist on this little task :)
2005-04-06 20:54:36 +00:00
Robert Osfield
63e665a131 Added missing makefiles 2005-04-04 11:42:43 +00:00
Robert Osfield
9c5567d3e5 Added osgparticleeffects example 2005-04-04 08:47:21 +00:00
Robert Osfield
9e54b00205 From Randall Hopper, with small order tweak from Robert and addition to GNUmakefile.inst,
added $(GDAL_LIBS) to fix build under FreeBSD.
2005-03-23 20:48:50 +00:00
Robert Osfield
aee1e88f15 Added extra controls for ParticleEffects. 2005-03-23 17:05:21 +00:00
Robert Osfield
a61a99251f Removed multiple inheritance from TechniqueEventHandler. 2005-03-23 10:41:51 +00:00
Robert Osfield
0b2ac40fe8 Moved ParticleSystemUpdater into ParticleEffect nodes to simplify usage
of nodes.
2005-03-22 20:26:45 +00:00
Robert Osfield
1c808e4959 Fixed the double transform of ParticleEffects 2005-03-22 17:00:41 +00:00
Robert Osfield
8e9f14a374 Updated sphere segment example to use original osgsimulation source, adding
in terrain, moving models and particle effects.
2005-03-22 12:11:03 +00:00
Robert Osfield
1791f7c6b9 Corrected orientation of aeroplane and direction of rotation around earth. 2005-03-22 12:04:03 +00:00
Robert Osfield
329876c493 Removed the redundent subclassing from osg::NodeVisitor in examples event handlers 2005-03-18 10:45:18 +00:00
Don BURNS
a2f5c8563e Randal Hopper fix to GNUmakefile for osgsimulation. 2005-03-18 01:51:13 +00:00
Don BURNS
a06ca64061 Removed redundant examples, that have been moved to the applications directory 2005-03-17 18:29:56 +00:00
Robert Osfield
8545fa5198 Added if (image ..) check to prevent seg fault on imcomplete models 2005-03-17 08:54:23 +00:00
Robert Osfield
d7ddecbb40 Removed applications from examples list 2005-03-16 14:09:03 +00:00
Robert Osfield
3005f34cc4 Fixed old handle(..) method call parameters 2005-03-11 20:19:16 +00:00
Robert Osfield
d155caf2a4 First steps to adding support for multiple texture layers. 2005-03-07 22:02:44 +00:00
Robert Osfield
0f61af08bd Added support for new event visitor type into osgGA and osgProducer::Viewer,
and event callback into Drawable.
2005-02-25 14:02:48 +00:00
Robert Osfield
e2f6dc5bf4 Removed the default play() in the MPEG, QuickTime and Xine plugins, moving
it into the osgmovie application, and into readNodeFile method where
--movie is now available for detecting movie code.
2005-02-22 20:56:56 +00:00
Robert Osfield
8176434fc6 Added size of Mutex. 2005-02-22 14:42:14 +00:00
Robert Osfield
ce8321a082 Added --prune-StateSet option into osgconv for bottleneck testing. 2005-02-11 20:43:50 +00:00
Robert Osfield
8f90f57cc0 Added support for fixing transprency on objects that should have been
placed in the opaque bin.
2005-02-11 16:43:54 +00:00
Robert Osfield
3ce382fd45 Changed the mpeg plugin to read movies the original way up rather than the
OpenGL way up to keep them consistent with the xine and quicktime movie codes
2005-02-09 16:18:44 +00:00
Robert Osfield
50a370dc56 Added vertical offset to multiple movies instances 2005-02-09 11:30:42 +00:00
Robert Osfield
117c791a3b Added osg::BufferObject and a made a number associated to accomodate this
new class. osg::BufferObject wraps up OpenGL pixel and array buffer objects.
Currently implementation is work in progress.
2005-02-09 10:39:45 +00:00
Robert Osfield
b5f1d50377 Turned off lighting. 2005-02-04 20:36:50 +00:00
Robert Osfield
7b6a48b053 Change unsigned long to unsigned int to avoid 64/32 bit problems. 2005-02-03 13:10:03 +00:00
Robert Osfield
ae0f93010f Added support for modulating alpha values 2005-02-01 22:36:05 +00:00
Robert Osfield
c9520e5d5f Removed debugging messages. 2005-02-01 15:03:14 +00:00
Robert Osfield
1cc89ba4fe Added conversion of dataType to GL_UNSIGNED in raw data reading path. 2005-02-01 09:38:07 +00:00
Robert Osfield
a927d924e1 Added code for rescaling images. 2005-02-01 09:02:01 +00:00
Robert Osfield
a7d0155915 Added support for raw image formats 2005-01-31 20:09:24 +00:00
Robert Osfield
9a3deb38a7 Removed include of Producer/RenderSurface 2005-01-28 17:24:47 +00:00
Robert Osfield
355650ac1d From Nicolas Brodu, new faster osg::Quat::makeRotate(Vec3d,Vec3d) implmentation.
From Robert Osfield, modes to osg::Quat to keep the original implmentation around
as makeRotate_original(,) and added tests into osgunittest to test the new
methods provide equivilant results to the original implemementation.  The
orignal implementation will be removed once the new method is more widely tested.
2005-01-27 14:39:58 +00:00
Robert Osfield
4664920b65 Change dhte CullSettings to be correct to new changes in osgProducer 2005-01-21 19:28:50 +00:00
Robert Osfield
50a88aa6d4 From Rainer Oder, with additions from Robert. osgslice example which
generates a 3d volume from a source geometry model.
2005-01-12 15:37:02 +00:00
Robert Osfield
e2132cc62a Cleaned up the types. 2005-01-05 17:14:38 +00:00
Robert Osfield
2d6b610865 From Fredric Mammond, addid osgblendequation and osglogicop examples. 2005-01-03 16:42:27 +00:00
Robert Osfield
a0ba625cb0 Property API clean to smooth the task of generating wrappers. 2004-12-17 01:06:33 +00:00
Robert Osfield
28d31c96b6 Added Marco Jez's osgIntrospection + osgWrapper libs with osgintrospection
example
2004-12-09 05:28:20 +00:00
Don BURNS
ede7117f83 fixed CameraPacket to allocate on the heap instead of the stack, which
was causing crashes.
2004-12-02 21:28:40 +00:00
Don BURNS
61d374b726 Added pragma to shut VS 6 up. 2004-11-29 18:59:36 +00:00
Don BURNS
c7e8386707 Fixes for IRIX build 2004-11-29 01:12:25 +00:00
Robert Osfield
38f938619e from Mike Weiblen, added wrap mode to planet texture to avoid black seam, and
add option of specifying the texture to use in osgshape.
2004-11-24 19:10:44 +00:00
Robert Osfield
84d9994324 Fixed recursive call 2004-11-23 23:45:41 +00:00
Robert Osfield
d9b9a6f1f8 Made read/write methods in ReaderWriter all const to facilate multi-threading 2004-11-23 15:29:52 +00:00
Robert Osfield
ffcd95b004 Tripped out experiemental threadSafe_ methods in ReaderWriter 2004-11-23 12:57:00 +00:00
Robert Osfield
a6369da4f4 Moved Registry::CacheHintOptions into ReaderWriter::Options 2004-11-22 14:10:12 +00:00
Robert Osfield
1ac452df69 From Rainer Oder, improvements to planet motions 2004-11-22 13:58:57 +00:00
Robert Osfield
9c6e909323 Added std:: infront of getline calls 2004-11-19 08:47:14 +00:00
Robert Osfield
4f6478ceb6 Changed debugging info to use osg::notify 2004-11-18 16:20:48 +00:00
Robert Osfield
9dc4fb1a34 Added write to file and use of clearnode 2004-11-18 15:10:24 +00:00
Robert Osfield
138c1ddd05 Increased accuracy of animation path, moved main to end. 2004-11-18 15:01:41 +00:00
Robert Osfield
6edf15e371 Changed Solarsystem to SolarSystem. 2004-11-18 14:43:07 +00:00
Robert Osfield
51c43cb12d Added a search for the config file, and defaulting to osg.conf 2004-11-18 13:46:13 +00:00
Robert Osfield
ced404fa4f Changed path to imagery from Images/SolarSystem to SolarSystem. 2004-11-18 13:34:31 +00:00
Robert Osfield
595dda6fe4 From Vivek Rajan, fixes to Solaris build. 2004-11-18 10:08:29 +00:00
Robert Osfield
f234a7eec5 From Rainer Oder, updates to osglauncher. 2004-11-17 20:01:51 +00:00
Robert Osfield
1594bbe1d9 Attempted fix for VS6.0 compile problems 2004-11-16 14:35:29 +00:00
Robert Osfield
2b310c6926 Added support for serialization of calls to ReaderWriter plugins. 2004-11-15 19:46:10 +00:00
Robert Osfield
a2c3d0335c From osgplaents, updates to more of the solar systems planets. 2004-11-15 19:44:35 +00:00
Robert Osfield
76c970da5d From Ulrich Hertlien, improved osgsequence example 2004-11-15 12:03:33 +00:00
Robert Osfield
a0fc9632b8 Fixed warnings. 2004-11-13 21:42:45 +00:00
Robert Osfield
ddb0d6bd4f Added prelimarny support for reading archives via the .net plugin 2004-11-13 16:21:48 +00:00
Robert Osfield
6f0a2c4cb1 Added --image and --dem documentation to command line parameters 2004-11-12 16:36:53 +00:00
Robert Osfield
21e6c87fef Rotated scene to face the viewer 2004-11-12 15:39:18 +00:00
Robert Osfield
9d8e24a4a3 Fixed file extraction. 2004-11-11 16:05:30 +00:00
Robert Osfield
6f96cf4ad2 Moved the .osga implementation into the src/osgPlugins/osga plugin and made
osgDB::Archive a pure virtual base class.
2004-11-11 13:22:55 +00:00
Robert Osfield
d397b5b90b Added sizeof tests of istream::pos_type and off_type to osgunittests.
Added debuggin messages to endian handling code in Archive::open().
2004-11-10 21:28:06 +00:00
Robert Osfield
4e19c03de1 Added support for master file and clean up Archive API. 2004-11-10 13:03:52 +00:00
Robert Osfield
1772c9daa5 Removed the explicit setting for convert to geocentric when setting
--bluemarlbe-west, --bluemarble-east and --whole-globe.
2004-11-10 10:57:03 +00:00
Robert Osfield
a383330ae4 From Mike Weiblen, fix to the state leakage. 2004-11-10 09:56:03 +00:00
Robert Osfield
f1129dde16 Added rainer's changes for adding billboard glow around sun. 2004-11-09 15:01:39 +00:00
Robert Osfield
564869487a Added support of archiving into osgTerrain::DataSet and osgdem. 2004-11-09 14:18:29 +00:00
Robert Osfield
d26c8460dc Updates to osgDB::Archive support, and refactoring of implementation of
reading files in Registry to faciliate the new archiving support.
2004-11-08 16:11:07 +00:00
Robert Osfield
f44ecb1f65 Fixed insertion of files into an existing archive 2004-11-07 12:13:56 +00:00
Robert Osfield
1e0af60669 Removed un-needed setCullActive(false) 2004-11-06 21:21:29 +00:00
Robert Osfield
8d6aa8b405 Further work on osgDB::Archive 2004-11-06 21:18:19 +00:00
Robert Osfield
20958de1ea Disabled culling on the aboslute transform to fix bug culling of hud. 2004-11-04 21:11:12 +00:00
Robert Osfield
f85d2c7c9e From Morné Pistorius, fixes for VisualStudio7.0 2004-11-04 15:32:03 +00:00
Robert Osfield
ffca165611 Added prelimanary prox stream buffer to fake the ending of file. 2004-11-02 17:05:15 +00:00
Robert Osfield
2718058173 Removed the font cache from the FreeType plugin, moving the support across to
osgDB::Registry.
2004-11-02 11:10:44 +00:00
Robert Osfield
de9f5c82d0 Commented out settings of TexEnvCombine alpha values 2004-11-01 16:16:31 +00:00
Robert Osfield
4065c551ef Added useage of TexEnvCombine 2004-10-29 18:24:26 +00:00
Robert Osfield
8dc722e2a7 Added multi-textured city illumination 2004-10-29 15:42:51 +00:00
Robert Osfield
12793c0580 Fixed support for NodeTrackerManipulator. 2004-10-28 19:09:32 +00:00
Robert Osfield
2b8140e125 Added support for listing contents of archive 2004-10-28 14:27:41 +00:00
Robert Osfield
e97364899b Updates for Rainer, and with a few changes by Robert. 2004-10-28 09:38:03 +00:00
Robert Osfield
ce73909033 Removed direct dependency on GDAL 2004-10-28 08:57:23 +00:00
Robert Osfield
2d4f7d7be0 Added setCullingActive false to the absolute transform. 2004-10-27 08:39:18 +00:00
Robert Osfield
2c933fb920 Fixed make files. 2004-10-26 18:36:47 +00:00
Robert Osfield
e79feb1004 Removed GDAL reference 2004-10-26 18:20:52 +00:00
Robert Osfield
d8340148a6 Made the className() const 2004-10-26 10:31:52 +00:00
Robert Osfield
fca5f2c2c9 Updates to the osgarchive application 2004-10-26 10:27:00 +00:00
Robert Osfield
66836ef3d0 Added new osgDB::Archive class, and osgarchive example. These are both
very early beginnings so do not function yet.
2004-10-25 19:16:38 +00:00
Robert Osfield
b62ef99fd9 Fixed typo. 2004-10-25 18:46:44 +00:00
Robert Osfield
4352fe3f9f From Rainer, updates to osgplanet. 2004-10-25 18:23:42 +00:00
Don BURNS
071891c64c Namespaced Rect and Frame to osgfxbrowser::Rect/Frame, as this was causing
a namespace collision with CGL
2004-10-24 21:05:27 +00:00
Robert Osfield
b70ff91eaf Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define 2004-10-24 20:04:00 +00:00
Robert Osfield
7039e5cb98 From Rainer Oder, updates to osgplanets 2004-10-24 14:23:42 +00:00
Robert Osfield
6821a80e14 Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.
2004-10-22 19:26:45 +00:00
Robert Osfield
8ab8fc762f Compile fixes 2004-10-22 18:47:39 +00:00
Robert Osfield
763d6399af Added Rainer's initial osgplanets example. 2004-10-22 16:39:24 +00:00
Robert Osfield
54d3629974 Move the setting of the camera horizontal field of view to after the realize()
to avoid the CameraGroup's Lens be set when its NULL.
2004-10-19 13:52:46 +00:00
Don BURNS
94240305a4 Fix for minor compile error (internal error) for VS7. 2004-10-17 06:14:10 +00:00
Robert Osfield
18cd77873a Changed fstream to ifstream 2004-10-15 09:53:18 +00:00
Robert Osfield
792a7fe0d5 Improvements to the NodeTrackManipulator and osgsimulation example 2004-10-14 10:38:29 +00:00
Robert Osfield
9ac2c02dc2 Increased the size of the inserted model so that it can be seen more easily, 2004-10-13 13:39:27 +00:00
Robert Osfield
debf8dceef Added s/getCullSettings to OsgCameraGroup 2004-10-05 19:12:46 +00:00
Robert Osfield
3b8abfa875 Added ability to alter the verbosity of the notify messages with the
running of osgTerrain::DataSet via a static s/getNotifyOffset(int) method.
2004-10-05 15:08:54 +00:00
Robert Osfield
d6853e0ca2 Moved the SceneView to local to the contruction/destruction of the RenderSurface 2004-10-04 14:21:36 +00:00
Robert Osfield
229d1d36b3 Added new osgspotlight demo 2004-10-01 23:18:08 +00:00
Robert Osfield
72e3ac35a0 From Rainer Oder, new osglauncher application. 2004-10-01 15:49:57 +00:00
Robert Osfield
78f3a4a0cd Updated to use new TexGen method 2004-10-01 15:47:40 +00:00
Robert Osfield
562ceb456f Checked in support for cleaning up and then restart a new graphics windows
once the first one has been closed down.
2004-09-30 13:36:00 +00:00
Robert Osfield
d204a087c3 Added proper handling of 3d texture compression 2004-09-30 09:10:29 +00:00
Robert Osfield
e08328a449 Preliminary steps to support for compressed 3D textures. 2004-09-29 10:01:46 +00:00
Robert Osfield
be8476592e From Mike Weiblen, partial fix for OpenGL error generation under NVidia drivers. 2004-09-26 10:27:25 +00:00
Robert Osfield
54b45ce3bc Updated to DatabasePager support 2004-09-21 21:33:52 +00:00
Robert Osfield
b664c20c74 Improved the handling of building/writing generated databases, and
the fixed transition distances on the lower levels of geocentric databases.
2004-09-13 13:53:45 +00:00
Robert Osfield
39a79a9805 Fixed write of normalmap. 2004-09-09 09:03:28 +00:00
Robert Osfield
add06bab8d Added docs for max size commandline params. 2004-09-06 14:58:29 +00:00
Robert Osfield
f4839d7158 Updates to controlling maximum texture size 2004-09-04 09:22:26 +00:00
Robert Osfield
6f1716a15b Added commandline support for Size and texcoord Multipliers 2004-09-03 15:42:43 +00:00
Robert Osfield
200b23f354 Added handling of RGBA to normal map computation 2004-09-03 10:02:56 +00:00
Robert Osfield
4702a0a964 From Jeoen den Dekker, changed eroneous tcoords[ci][0] to tcoords[ci][1] 2004-09-01 10:45:11 +00:00
Robert Osfield
2003c27714 From Marco Jez, added new osgmotionblur example 2004-09-01 09:54:36 +00:00
Robert Osfield
146f4cd573 Remamed TrackerManipulator to NodeTrackerManipulator 2004-08-30 10:03:18 +00:00
Don BURNS
3e74db50e5 Changes for IRIX build and fix to build system 2004-08-28 23:04:47 +00:00
Robert Osfield
c3f6e9f7cd Changed --compress to --compressed in commandline docs 2004-08-24 07:29:28 +00:00
Robert Osfield
9486146ace Changed the write help option to just output commandline options. 2004-08-23 08:31:55 +00:00
Don BURNS
19ed70a6ce Added back in the -s (scale) argument to osgconv, which was dropped
in the last revision.
2004-08-21 17:29:19 +00:00
Robert Osfield
89a6e092cc From Don Tidrow, fixes to comments. 2004-08-20 09:46:02 +00:00
Robert Osfield
28e43fb2da Disabled the culling on the DistortionNode. 2004-08-16 08:58:07 +00:00
Robert Osfield
9e797a8408 Fix for Mingw from Norman Vine. 2004-08-06 09:38:43 +00:00
Robert Osfield
3579506fa8 Added support for osg::AutoTransform::setAutoRotateMode(AutoRotateMode) deprecating
the previous setAutoRotateToScreen().  Added support for ROTATE_TO_CAMERA mode.

Cleaned up the autotransform demo to use a sensible number of labels
2004-08-06 08:22:58 +00:00
Robert Osfield
e004dbe58e From Bruce Clay, Build fixes for Win32 VS6.0 2004-08-06 05:25:21 +00:00
Robert Osfield
7eb3f2646e From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin 2004-08-04 08:27:43 +00:00
Robert Osfield
041b664660 From Brede Johansen, fixes for Win32 build 2004-08-04 07:14:12 +00:00
Robert Osfield
c22f24f57a Added test for quat multiplication ordering. 2004-08-03 19:00:33 +00:00
Robert Osfield
cf41e73ccc Changed the static array syntax to solve VS.NET compile warnigns, changed
the binding of the normals, and changed the name of the textures used.
2004-08-03 07:31:33 +00:00
Robert Osfield
67df9af7d1 Fixed warnings 2004-08-02 15:56:18 +00:00
Robert Osfield
f1ade41cdd Fixed warnigns 2004-08-02 14:52:39 +00:00
Robert Osfield
9b33dee6ac Made the member variables in RenderStage and RenderBin protected 2004-08-02 12:19:50 +00:00
Robert Osfield
f206abcd43 From Geoff Michel, new osgtesselate example, and new features in osgUtil::Tesselator. 2004-08-01 10:36:02 +00:00
Robert Osfield
b790fa59a8 Added beginnings of new TrackballManipulator 2004-07-30 15:44:59 +00:00
Robert Osfield
9097b2f23a Added osgText to makefile 2004-07-29 14:24:50 +00:00
Robert Osfield
cb31021ab0 From Corbin Holtz, addition of GDAL_INCLUDE and GDAL_LIB env vars for setting
a non standard location of GDAL
2004-07-28 12:29:15 +00:00
Robert Osfield
0b288fc721 Added support for compressing textures to osgconv, can be accessed by
running --compressed when outputting to a .ive file.
2004-07-22 12:10:53 +00:00
Robert Osfield
33b5db8e2f Added support texture compression in osgconv 2004-07-22 11:59:58 +00:00
Robert Osfield
221c75fb6e Fixed the position of text so it is drawn ontop of the quads. 2004-07-19 18:56:42 +00:00
Robert Osfield
0fb5733f13 Added support for --tile-image-size <size>, --tile-terrain-size <size> and --comment <string>
command line options into osgTerrain::DataSet + osgdem.
2004-07-19 09:03:50 +00:00
Robert Osfield
c7647b98b8 Added ability to control the number of slices and the amount of the volume clipped. 2004-07-11 16:38:16 +00:00
Robert Osfield
a7490a2ea2 Compiles fixes for VS.6.0 2004-07-09 15:42:07 +00:00
Robert Osfield
87c954a4e1 Changed std::min definition to osg::minimum to avoid STOOOPID MS conficts. 2004-07-09 15:26:48 +00:00
Robert Osfield
c6ac4926bf Clean up of commandline options 2004-07-09 15:24:01 +00:00
Robert Osfield
3248f885ec Replaced the custom MyTexGen class with a standard TexGen, and utilised the
new RenderStage addPositionedTextureAtribute method.
2004-07-08 22:12:49 +00:00
Robert Osfield
ef93f96328 Added lighting and materials to volume subgraph 2004-07-07 15:05:00 +00:00
Robert Osfield
b6b29e2151 Fixed build after Image change 2004-07-06 06:05:32 +00:00
Robert Osfield
fc3f40c8f4 Added normal setting to slice planes 2004-07-02 14:43:27 +00:00
Robert Osfield
5fb7eab911 Clean up of osgvolume 2004-07-01 14:30:18 +00:00
Robert Osfield
a8ee967f14 Added support for using pixel size control of LOD levels. 2004-06-30 19:07:05 +00:00
Robert Osfield
342444d5bb Improved the handling of normal lighting 2004-06-29 14:58:24 +00:00
Robert Osfield
16c5b80c61 Added osgvolume example 2004-06-29 13:59:07 +00:00
Robert Osfield
9de43e833f From Bob Kuehne, add additional check in osgconv to handles modules that don't load gracefully. 2004-06-28 09:05:33 +00:00
Robert Osfield
63aa9b857d Added first stage of support for "--levels min max" in osgdem/osgTerrain where
this option controls which levels that an associated imager or DEM contributes
to the final model.
2004-06-17 14:39:16 +00:00
Robert Osfield
9acb5173c4 Added include of osg/ClusterCullingCallback 2004-06-15 12:31:25 +00:00
Robert Osfield
9a683e837d Fixed tabbing. 2004-06-14 19:31:48 +00:00
Robert Osfield
dde68108b6 Fixed typos. 2004-06-14 19:14:06 +00:00
Robert Osfield
81082648c3 Added --o_cs, --o_wkt and --o_wkt_file commandline options. 2004-06-09 10:03:01 +00:00
Robert Osfield
65d0293778 Added options for controlling mipmapping and aniso-tropic filtering. 2004-06-08 13:58:36 +00:00
Robert Osfield
727af69af5 Added sphere segment to osgsimulator. 2004-06-07 12:53:09 +00:00
Robert Osfield
67cb59dbef Added --RGB_16, --RGB_24 and --compressed options. 2004-06-06 14:28:29 +00:00
Robert Osfield
de52abcdd3 From Ulrich Hertlein & Iskander Prins, added rotation of skydown on
fixed handling of updating one image per frame.
2004-06-04 08:40:15 +00:00
Robert Osfield
ac771894ad Added handling of skirt ratio, and extra docs on commandline args 2004-06-02 14:16:45 +00:00
Robert Osfield
7f94839e94 Added setPosition and setWidth methods into ScalarBar and changed the
implementation to use these values to position and set the size of the
scalar bar.  Also made the characterSize value a float rather than
the previous int.
2004-06-02 12:37:14 +00:00
Robert Osfield
48d148601b Added HUD scalar bar. 2004-05-20 22:20:39 +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
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
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
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
b7746ff56e Added support for automatically finding CoordinateSystemNode's in the
scene graph and then using them to set up the CoordinateFrame used
by the camera manipulators.
2004-05-03 12:04:25 +00:00
Robert Osfield
5836d60fbd Added osg::CullSettings class as a way of collecting all the various
settings related to the cull traversal in one place, so we can keep APIs
for settings these values more consistent.
2004-04-30 15:35:31 +00:00
Robert Osfield
97bf993e5d Updated to build against the move from osgTerrain::CoordinateSystem to
osg::CoordinateSystemNode.
2004-04-29 22:23:55 +00:00
Robert Osfield
cca7d0f685 Added support for "--bluemarble-east", "--bluemarble-west", "--whole-globe"
and "--range" commandline options to allow easier specification of coords
systems for common datasets which don't come with geospatial coords.
2004-04-22 21:51:06 +00:00
Robert Osfield
b8a68204c0 Added pathway in code for override the colour of the wireframe scribe 2004-04-22 08:04:34 +00:00
Robert Osfield
a1caa14a61 Added osgsimplifier example. 2004-04-18 16:15:49 +00:00
Robert Osfield
baa67fe180 Fixed incorrecting sizing of background tex coords 2004-04-16 22:07:30 +00:00
Robert Osfield
2a6e155d03 From Alberto Farre, changed the cache hint option in read*() calls from being
a bool to a enum osgDB::Registru::CacheHintOptions to be used a bit mask flag.

From Robert Osfied, added osgDB::Registry::ReadFileCallback and
osgDB::Registry::WriteFileCallback to allow customizition of read and write
calls.
2004-04-10 16:11:56 +00:00
Robert Osfield
6ac92bfb07 Added --wtk_file option 2004-04-05 21:27:57 +00:00
Robert Osfield
4d2d47e656 Added support for --geocentric option to allow users to specify that the
output database should by in geocentric coordinates.
2004-04-01 11:03:39 +00:00
Robert Osfield
b67858f388 Added osgTerrain::EllipsodeTransform helper class for converting to and from
lat, long, height to geocentric X,Y,Z and back.
2004-03-31 15:50:30 +00:00
Robert Osfield
a1b46de936 Added normal generation in polygonal tile generation, and add --wtk option
for setting coord systems in osgdem
2004-03-29 22:26:51 +00:00
Robert Osfield
cad1e2a075 Groundwork for adding support for polygonal tiles 2004-03-29 10:45:58 +00:00
Robert Osfield
ec1fd733b8 Added TextureType and GeometryType parameters to DataSet. These will be used
to control what type of database is generated.
2004-03-21 12:17:44 +00:00
Robert Osfield
88bbdb325d Implemented support for overriding the coordinate system and geo transform
using in generate of databases.
2004-03-20 18:32:49 +00:00
Robert Osfield
b21b585ee8 Added support for setting the geoTransform to use in source data. 2004-03-19 22:20:35 +00:00
Robert Osfield
b2479283a8 Improved the argument handling. 2004-03-19 22:03:32 +00:00
Robert Osfield
84562208d0 Added support for controlling the type of destiation database to create into
osgTerrain::DataSet.
2004-03-15 15:47:22 +00:00
Robert Osfield
a7799bf2d9 Added some basic event handler. 2004-03-12 21:04:20 +00:00
Robert Osfield
de9af5d6bd Cleaned up osgmovie example so it no longer depends upon LibMpeg3, just
using readImageFile instead.
2004-03-12 20:23:55 +00:00
Robert Osfield
84caecae0e Changed the coordinate system option to --o_cs <string> 2004-03-11 22:04:41 +00:00
Robert Osfield
e082008d8a Moved osgTerrain::DataSet from the osgdem example into osgTerrain. Added
various improvements.
2004-03-11 16:14:25 +00:00
Robert Osfield
89379f31aa Fixed normal orientation 2004-03-11 09:04:02 +00:00
Robert Osfield
6bd23304f9 Removed redundent ImageStream.h 2004-03-09 14:00:01 +00:00
Robert Osfield
8b47c9c85d Preliminary work on general support of video textures. 2004-03-09 09:42:07 +00:00
Robert Osfield
bd37f999c4 From Bob Kuehne, change on __DARWIN_OSX__ define to __APPLE__ 2004-03-08 11:02:05 +00:00
Robert Osfield
4aa7afedf3 Removed include <iostream> where possible, replacing with istream or ostream and changing
std::cout/cerr to osg::notify().
2004-03-03 13:27:21 +00:00
Robert Osfield
f3bee81e7a From Ruben, Added osgpointsprite examples. 2004-03-03 11:17:21 +00:00
Robert Osfield
e2469aece9 From David Jung, added support for osg::Capsule shape 2004-03-02 20:33:00 +00:00
Robert Osfield
1970606dd2 Changed _X & _Y varaibles to _tileX & _tileY 2004-02-12 12:53:51 +00:00
Robert Osfield
eca2fc2837 Improved osgSim::SphereSegmenet's handling of transparancy. 2004-02-12 01:15:37 +00:00
Robert Osfield
22b2e7343e From Tom Jolly, Fixes to osgSim::BlinkSequence to enable proper saving and
loading.
2004-02-05 10:50:29 +00:00
Robert Osfield
9ca8d6a88e Removed slideshow3D example source code, since it being moved to a seperate
distribution.
2004-02-04 13:19:32 +00:00
Robert Osfield
217a8519be Added rounding to nearest power of two in tile image size 2004-02-03 21:08:35 +00:00
Robert Osfield
de83752acd Added support for better merging of height fields which ignores NoData
values.  Fixed various problems with handing of coordinates systems. Added
support for halving levels in x and y respectively, in addition to the
previous divide in both x and y at the same time, which allows long
line/short tall regions to be handled better.
2004-02-03 16:51:44 +00:00
Robert Osfield
fad11f64f5 From Eric Sokolosky, change to use X_INC in GNUmakefile to allow compiling
on systems with X installed in a non standard place.
2004-02-02 17:16:40 +00:00
Robert Osfield
db02810270 Changed the osgviewer example to use the osg::Timer::instance instead a loca
instance.
2004-02-01 17:19:33 +00:00
Robert Osfield
cec8dd54ed Improvements to the merging of source image datasets into the destination
tiles which ensure that gaps don't appear.

Made the elevation properly scaled relative to the having the x & y in
degrees.
2004-02-01 10:27:19 +00:00
Robert Osfield
26303b989a Added new osgspacewarp example which demonstrates how to create a star
field which becomes lines as one accelerates, similar to the effect seen
in star trek's warp drive.
2004-01-30 21:09:21 +00:00
Robert Osfield
9772b21e35 Added osgmovie example, derived from Ulrich Hertlien's original videotex
example, and brought up to date.
2004-01-30 14:06:29 +00:00
Robert Osfield
dea75f5510 Attempts to fix compile problems under IRIX due to namespace problems. 2004-01-29 15:47:51 +00:00
Robert Osfield
965ed49427 Improved support for handling externally set projections 2004-01-29 15:47:06 +00:00
Robert Osfield
ef13d749ae Adding scaling of skirt. 2004-01-28 14:44:35 +00:00
Robert Osfield
0300607dbb Fixed the handling of the Producer Fovy so that it accounts for Producer
now using degrees in set and get methods
2004-01-23 13:38:28 +00:00
Robert Osfield
b9f032bbb5 Updates for improvements to osgdem, such as adding support for skirt
and border into osg::HeightField, handling of computation of neigherbouring
tiles in osgdem's DestinationGraph.
2004-01-18 21:59:20 +00:00
Robert Osfield
c06c73993e Improvements to generation of terrain and texture'd LOD'd destination datasets 2004-01-16 16:39:04 +00:00
Robert Osfield
6a76810c11 Added automatic generation of LOD levels with destination graph 2004-01-15 21:07:34 +00:00
Robert Osfield
87299f4fc0 Added support for automatic subdivision of the destination graph 2004-01-12 22:03:29 +00:00
Robert Osfield
c51c2893ce Improvements from Pavel. 2004-01-11 21:33:43 +00:00
Robert Osfield
10a3accf0b Fixed consolodateRequireResolutions() methods 2004-01-10 20:58:09 +00:00
Robert Osfield
dd40692eb6 Moved the default light to be from the sky. 2004-01-07 20:58:07 +00:00
Robert Osfield
9c15baf92f Added osgsimplepager example program 2004-01-07 12:38:55 +00:00
Robert Osfield
042644df13 From Pavel Moloshtan, osgdepthshadow example 2004-01-05 09:34:28 +00:00
Don BURNS
ad97db86a2 Oops. Fixed glaring memory leak in main loop of osgsimple 2004-01-03 22:52:51 +00:00
Robert Osfield
249eddb3d8 Updates to osgGL2 from Mike Weiblen 2004-01-03 09:06:52 +00:00
Robert Osfield
2870d093f2 Added osgdistortion demo. 2003-12-27 22:17:41 +00:00