Commit Graph

526 Commits

Author SHA1 Message Date
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