Robert Osfield
45822caed4
Reverted the experimental shader code
2007-01-15 09:14:36 +00:00
Robert Osfield
694b304c00
Added Viewer::setEndBarrierPosition method, change Viewer::setKeySetsDone(int) to setKeyEventSetDone(int),
...
added support for toggling threading model and end barrier position into osgviewer
2007-01-12 21:05:39 +00:00
Robert Osfield
f405848380
Implement a GraphicsOperation to test extension availability
2007-01-12 10:28:36 +00:00
Robert Osfield
4d494c0014
Fixed comment
2007-01-12 10:28:06 +00:00
Robert Osfield
041482ca46
Ported osgmotionblurr across to osgViewer
2007-01-11 17:15:04 +00:00
Robert Osfield
9e34e56c70
Added stencil buffer setting
2007-01-11 16:59:50 +00:00
Robert Osfield
ddba526d54
Added #include <iostream>
2007-01-11 15:53:32 +00:00
Robert Osfield
190a0bb01a
Removed examples:
...
osgcameragroup
osgsimpleviewerProducer
osgsimplepager
2007-01-11 15:48:44 +00:00
Robert Osfield
b121c9686f
Ported following examples to osgViewer:
...
osgteapot
osgtessellate
osgtext
osgtexture1D
osgtexture2D
osgtexture3D
osgtexturerectangle
osgvertexprogram
osgvolume
osgwindows
osgsimple
osgkeyboardmouse
2007-01-11 15:19:59 +00:00
Robert Osfield
374f8e30a4
Added DisplaySettings support into osgViewer::Viewer
2007-01-11 12:06:24 +00:00
Robert Osfield
d6291a0ffc
Ported follow examples to osgViewer:
...
osgshape
osgsimplifier
osgsimulation
osgslice
osgspacewarp
osgspheresegment
osgspotlight
osgstereoimage
2007-01-11 11:47:01 +00:00
Robert Osfield
877a32c3eb
Ported following examples to osgViewer:
...
osgshaders
osgshaderterrain
osgshadow
osgshadowtexture
2007-01-10 21:05:26 +00:00
Robert Osfield
c4279bd5f1
Ported following examples to osgViewer:
...
osgparticleeffects
osgphotoalbum
osgpick
osgpoints
osgpointsprite
osgprecipitation
osgprerender
osgprerendercubemap
osgreflect
osgscalarbar
osgscribe
osgsequence
osgplanets
2007-01-10 13:52:22 +00:00
Robert Osfield
c5082cb85c
Added support for vertex ratios into LineSegmentIntersector.
2007-01-10 10:40:12 +00:00
Robert Osfield
4d4b342e97
Added View::computeIntersections methods
2007-01-09 17:35:46 +00:00
Robert Osfield
96b2b93edc
Build fixes
2007-01-08 22:54:02 +00:00
Robert Osfield
2bf5f56311
Tessellator name changes
2007-01-08 21:19:33 +00:00
Robert Osfield
16d1c00a3d
Changed the return types of makeCurrent to bool, and added a bool GraphicsContext::releaseContext method
...
along with implementations in osgViewer.
2007-01-08 19:29:59 +00:00
Robert Osfield
4a5eda6522
Added GraphicsContext::ResizedCallback and GraphicsContext::resizedImplementation.
...
Added message on non implementation of GraphicsContext::valid().
Added prelimary GraphicsContext clean up support.
2007-01-08 16:20:10 +00:00
Robert Osfield
02bda82b55
From Paul Martz and Robert Osfield, renamed include/osgUtil/Tesselator and associated classes/references to Tessellator etc.
2007-01-08 11:23:52 +00:00
Robert Osfield
dfb21cb81a
Ported following examples to osgViewer:
...
osggeodemo
osggeometry
osghud
osgimpostor
osgkeyboard
osglauncher
osglight
osglightpoint
osglogicop
osglogo
osgmovie
osgmultiplecameras
osgmultitexture
osgoccluder
osgparametric
osgparticle
2007-01-08 10:00:16 +00:00
Robert Osfield
19a7ec0f6b
Ported osgcopy, osgcubemap, osgdelaunay, osgdepthpartion, osgdistortion, osgfadetext, osgforest and osgfxbrowser to osgViewer
2007-01-06 21:35:57 +00:00
Robert Osfield
983e0c7ecc
Add trackball manipulator usage
2007-01-05 21:23:37 +00:00
Robert Osfield
fea694a0bf
Ported osgcluster to osgViewer.
2007-01-05 21:19:01 +00:00
Robert Osfield
9dc369eec2
Cleaned up graphics window setup and added clear graphics window to single window,
...
multiple camera setup.
2007-01-05 16:46:57 +00:00
Robert Osfield
1268d0ce08
Ported osgcegui across to osgViewer
2007-01-05 16:24:05 +00:00
Robert Osfield
f99be366f6
Ported osgcallback to osgViewer
2007-01-05 16:19:25 +00:00
Robert Osfield
3d0b511a00
Ported osgbluemarble to osgViewer
2007-01-05 16:13:43 +00:00
Robert Osfield
0dd473007a
Ported osgblendequation across to osgViewer
2007-01-05 16:00:28 +00:00
Robert Osfield
a2599c5fb7
Ported osgbillboard over to osgViewer
2007-01-05 15:54:13 +00:00
Robert Osfield
57e20282de
Simplified the osganimate and osgautotransform mains, removing most or all of the argument parser code.
2007-01-05 15:52:33 +00:00
Robert Osfield
01c1e07646
Fixed aspect ratio.
2007-01-05 15:32:21 +00:00
Robert Osfield
d4045a6fef
Cleaned up the GraphicsWindow setup
2007-01-05 15:30:49 +00:00
Robert Osfield
9fcace0e73
Added GraphicsContext support for clearing the graphis context. The clearing
...
is off by default (ClearMask is 0), but can be switched on when ClearMask is
non zero. GraphicsContext::clear() is called after each swap buffers
2007-01-05 15:24:06 +00:00
Robert Osfield
ed3c7ba116
Replace osgProducer reference by osgViewer
2007-01-05 14:57:20 +00:00
Robert Osfield
411c1fcd25
Moved osgautotransform across to osgViewer
2007-01-05 14:56:37 +00:00
Robert Osfield
44dab36dff
Converted osganimate example to osgViewer
2007-01-05 14:48:50 +00:00
Robert Osfield
348fc7bdb3
Made the custom window set up a runtime option
2007-01-05 13:15:59 +00:00
Robert Osfield
a42633a9ee
Tweaked comments
2007-01-05 13:06:11 +00:00
Robert Osfield
1ef899069b
Changed compile paths into runtime selected paths using command line parameters
2007-01-04 21:58:37 +00:00
Robert Osfield
aebf0de6f2
Removed now redundent calls to set up view
2007-01-04 21:51:10 +00:00
Robert Osfield
abdb1741a4
Removed the setting of thread safe ref/unref and max number of graphics contexts
...
as this is now done automatically by osgViewer::Viewer
2007-01-04 21:18:44 +00:00
Robert Osfield
73fffe1800
Made Refernced::setThreadSafeReferenceCounting(bool) a virtual then overrode
...
this in various scene graph classes to ensure that the scene graph gets
updated as well as the objects that the initialial call is made from.
2007-01-04 16:49:58 +00:00
Robert Osfield
ff195bddf5
Added Object::resizeGLObjectBuffers(uint) method to help improve the ability
...
to change the number of active graphics contexts on the fly during an applications
life.
2007-01-04 14:11:51 +00:00
Robert Osfield
1de65ddedc
Added setting of default backgroud colour of View's master colour to be
...
consistent with the previous default colour used by SceneView
2007-01-03 17:26:24 +00:00
Robert Osfield
eb3ef906e7
Removed setting of master camera colour
2007-01-03 17:25:09 +00:00
Robert Osfield
4f87afdbf5
Improved the robustness of thread start and cancellation
2007-01-03 16:06:12 +00:00
Robert Osfield
f14aa7ef66
Added support for different threading models in osgViewer::Viewer
2007-01-02 17:39:31 +00:00
Robert Osfield
b315ed4d58
Shifted the setting of thread safe ref/unref to earlier in the main to
...
ensure that the Viewer's view is set up thread safe.
2007-01-02 13:02:30 +00:00
Robert Osfield
d068f7025a
Added support for getting all windows and hiding the cursor
2007-01-02 12:50:57 +00:00
Robert Osfield
db7df9d6d4
Switched off lighting in osgcatch.
2007-01-02 12:19:26 +00:00
Robert Osfield
7155f7d1b0
Various work on osgViewer library, including warp point and graphics window resize support
2007-01-01 18:20:10 +00:00
Robert Osfield
d7e3ed3fb2
Updated wrappers
2006-12-27 23:19:37 +00:00
Robert Osfield
40139afc49
Ported osghangglider example to usg osgViewer
2006-12-26 20:26:16 +00:00
Robert Osfield
92291f29b7
Ported osgcatch to use osgViewer
2006-12-26 17:35:45 +00:00
Robert Osfield
39c0c2df76
Unified the osg::GraphicsThread::Operation and osg::GraphicsContext::Operation classes
...
as osg::GraphicsOperation. Unpdated parts of OSG depending upon these.
Added a virtaul bool valid() method to osg::GraphicsContext to allow apps to
test whether a valid graphis context has been created or not.
2006-12-24 16:40:19 +00:00
Robert Osfield
76461b3ab2
Added support for sample and sampleBuffers to osg::GraphicsContext::Traits and
...
cleaned up the Traits naming
2006-12-22 21:53:44 +00:00
Robert Osfield
bd6b7d581e
Implemented perliminary multi-threading support in osgViewer::Viewer
2006-12-22 17:46:21 +00:00
Robert Osfield
47d1404c2b
Removed now redundent OSG_EXPORT to solve build problems under Windows
2006-12-22 16:48:17 +00:00
Robert Osfield
4fc9af7ea0
Moved rendering support into GraphisContext, osgViewer::Viewer/View, and
...
added frame stamp updating and update traversal to osgViewer::Scene/Viewer.
Updated osgcamera example to use new Viewer API calls instead of using local
rendering calls.
2006-12-21 16:56:20 +00:00
Robert Osfield
a56d273fe3
Moved the implementation of GraphicsWindowX11 from the head into the src/osgViewer directory.
2006-12-21 12:19:14 +00:00
Robert Osfield
2255771b74
Further work osgViewer::Viewer and related classes.
2006-12-20 21:13:29 +00:00
Robert Osfield
c9c2950759
Moved UnitTestFramework from core osg lib into osgunittests example
2006-12-19 17:06:59 +00:00
Robert Osfield
00ee8dffad
Added osgViewer::Viewer / osgViewer::GraphicsWindowsX11 usage.
2006-12-19 16:12:29 +00:00
Robert Osfield
afc77f9b39
Added support WindowingSystemInterface for querring the number of screens, the screen size and creating GraphicsContexts.
2006-12-17 20:49:01 +00:00
Robert Osfield
71bf5371a7
Improvements to handling of multiple z value regions
2006-12-12 21:48:59 +00:00
Robert Osfield
afa96fff0e
Added more accurate computation of local height above sea level in the plane intersections routines
2006-12-05 12:58:29 +00:00
Robert Osfield
ba3fe2844f
Improved the calculation of distance around the globe within the ElevationSlice routine.
2006-12-04 17:31:20 +00:00
Robert Osfield
0f5aeb5fa3
Added preliminary support for generating distance, height lists for ElevationSlice.
2006-12-04 12:36:13 +00:00
Robert Osfield
6778bfca44
Added support for placing a base in the scene to shadow against
2006-12-01 15:19:21 +00:00
Robert Osfield
8d85636b50
Fixed typo and updated wrappers
2006-11-30 18:42:38 +00:00
Robert Osfield
a9d18d01db
Basic shadow volume alogirthm implemented in example.
2006-11-30 16:30:24 +00:00
Robert Osfield
808047ee1b
Added dynamic updating of light position and multi-pass addition of ambient and diffuse lighting
2006-11-30 12:05:51 +00:00
Robert Osfield
cdcbf3f9af
Added movement of the light source to test performance of update the shadow volumes
2006-11-30 10:29:03 +00:00
Robert Osfield
a2e79f6a38
Moved osgUtil::PolytopeIntersector, osgUtil::PlaneIntersector and osgUtil::LineSegmentIntersector out from include/osgUtil/IntersecionVisitor into their own seperate files.
2006-11-28 16:30:38 +00:00
Robert Osfield
345810ef22
Added support for float or double osg::Plane, and the default osg::Plane to double.
...
Performance tests on big models did not indicate any performance penalty in using doubles over floats,
so the move to doubles should mainly impact precision improvements for whole earth databases.
Also made improvements to osgUtil::PlaneIntersector and osgSim::ElevationSlice classes
2006-11-28 16:00:52 +00:00
Robert Osfield
ae79bebd82
Added QWidget style constructor parameters
2006-11-27 16:25:12 +00:00
Robert Osfield
fd2ffeb310
Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.
...
Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
2006-11-27 14:52:07 +00:00
Robert Osfield
5044a85c9e
Improved handling of bounding polytope
2006-11-24 17:20:01 +00:00
Robert Osfield
006435e679
Added support for positional lights into computeShadowVolumeGeometry code and cleaned up OccluderGeometry interface.
2006-11-24 11:37:57 +00:00
Robert Osfield
ef9595e73a
Add compute of tight bounding box to enable better placement of the base plane.
2006-11-23 17:29:43 +00:00
Robert Osfield
e7ef0ca846
First cut at generating the ShadowVolumeGeometry
2006-11-23 16:55:46 +00:00
Robert Osfield
95568b24fa
Added nested files
2006-11-20 21:48:40 +00:00
Robert Osfield
b6e261d4d3
Added -losgFX
2006-11-20 12:25:38 +00:00
Robert Osfield
b30fb02b92
From Eric Wing, new ogsimpleviewCocoa example.
2006-11-17 16:22:58 +00:00
Robert Osfield
a73e9250ee
Added alpha test setting
2006-11-15 20:29:28 +00:00
Robert Osfield
43c6a1c275
From Eric Wing, add version check for use of automatic resizeing
2006-11-15 11:21:53 +00:00
Robert Osfield
30ad811cac
From Eric Wing, add use of the autodetection of windowing size support in SDL-version 1.2.10 and later.
...
From Robert Osfield, made the above an optional compile as it breaks apps based on previous version of SDL.
2006-11-14 16:59:00 +00:00
Robert Osfield
5f59741b42
Added support for handling osg::ShapeDrawable style drawables in OccluderGeoemtry.
2006-11-14 12:16:39 +00:00
Robert Osfield
8983544a86
Further work on osgShadow::GeometryOccluder
2006-11-10 15:07:13 +00:00
Robert Osfield
a1f20f1a00
From Eric Wing, change osgGA::SimpleViewer to osgViewer::Viewer.
...
From Robert Osfield, added -losgViewer & -losgGA to makefiles.
2006-11-08 09:50:27 +00:00
Robert Osfield
06cca16a2a
Added convinience constructors to help support picking with the new osgUtil::Intersector classes.
2006-11-02 17:05:46 +00:00
Robert Osfield
7d12b85632
Added basic PolytopeIntersector functionality based on checking vertices against
...
polytopes.
2006-11-02 15:50:04 +00:00
Robert Osfield
e0f395fd07
Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change
2006-11-02 12:27:15 +00:00
Robert Osfield
15f7abe100
Improved handling of projected coords in new intersection classes
2006-11-01 17:18:45 +00:00
Robert Osfield
75169ad16f
Added support for osgUtil::Intersectors being in WINDOW, PROJECTION, VIEW or MODEL coordinates
2006-11-01 14:41:32 +00:00
Robert Osfield
a253e17d3e
Implemented HeightAboveTerrain and added usage into osgintersection
2006-10-31 12:59:51 +00:00
Robert Osfield
16c238fc60
Added osgSim::LineOfSight and osgSim::HeightAboveTerrain classes
2006-10-30 20:29:06 +00:00
Robert Osfield
358b96e953
Added osgUtil::IntersectorGroup to handle groups of osgUtil::Intersectors
2006-10-27 15:11:17 +00:00
Robert Osfield
ce3929fd5f
Added beginings of new osgUtil::IntersectionVisitor and osgintersection class
2006-10-26 16:03:17 +00:00