Commit Graph

4602 Commits

Author SHA1 Message Date
Robert Osfield
5c9bd792a3 Updated wrappers 2005-07-15 21:47:11 +00:00
Robert Osfield
71a7078d79 Added return 1. 2005-07-15 19:24:46 +00:00
Robert Osfield
ac460a2dfb Added .osg suppot for new alignment modes 2005-07-15 16:26:45 +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
0c7f228224 From Brede Johansen, fixed range check 2005-07-15 10:48:23 +00:00
Robert Osfield
70647b8801 Fixed bug in ProxyNode write out where non existant children were written out. 2005-07-15 09:56:36 +00:00
Robert Osfield
cfac4c74bc Added reference frame to TexGenNode 2005-07-15 08:32:36 +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
0e4b263ddb Fix PagedLOD::addChild(,,) so that they allocate the correct size of range data. 2005-07-14 20:32:25 +00:00
Robert Osfield
0956674292 Added back in the call to drawPreRenderStages() as this shouldn't interfere
with the stereo code in SceneView as RenderStage should automatically only
allow themselves to be draw on per frame.
2005-07-14 13:21:11 +00:00
Robert Osfield
aece690d8e Removed the set culling active flag setting 2005-07-14 10:34:46 +00:00
Robert Osfield
53347812cb From Mike Weiblen, addiding of Program::validateProgram and osg::isNotifyEnabled() method 2005-07-14 10:27:00 +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
5cfc42daf8 Added missing copy _referenceFrame in copy constructor 2005-07-14 10:17:20 +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
638c928e30 From Paul Martz, fix to memory leak of StateSet's 2005-07-09 09:56:49 +00:00
Robert Osfield
fafbb43bf9 From Jason Beverage, fix to setting of grey band. 2005-07-08 19:45:18 +00:00
Robert Osfield
3943a14f0d From Tom Jolly, added setPulse 2005-07-08 19:33:38 +00:00
Robert Osfield
99279fbf61 From Marco Jez, added missing method implementations to CameraNode and
added check to ensure FBO extension is support to RenderToTextureStage.
2005-07-08 14:46:13 +00:00
Robert Osfield
0d8e38f9ee Tweaks for better OSX paging support, 6 and 9 keys for control drive manipulator
up and down looking, and removed redundent API from osg::Geometry.
2005-07-07 14:14:38 +00:00
Robert Osfield
facb0e2638 From Pavel Moloshtan, Byte2,3,4 and Short2,3,4 classes and their Array counterparts.
With a few build tweaks and bug fixes by Robert Osfield.
2005-07-05 15:57:53 +00:00
Robert Osfield
ba5f3ce99a Changed notice to be an info message 2005-07-03 19:58:21 +00:00
Robert Osfield
72488d274f Added support for equalizing the normals along tile boundaries. 2005-07-02 08:11:55 +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
7f1e571918 Romoved redudent gdal link 2005-06-30 07:59:32 +00:00
Robert Osfield
1c8aca5a00 Added smoothing and tri strip pass. 2005-06-29 15:52:01 +00:00
Robert Osfield
cefa62097f Added support nesting the parameter specification within a [x,y,z] block and
float parameters
2005-06-29 10:23:34 +00:00
Robert Osfield
b6e2653d4f From Colin McDonald, build fix for Solaris 2005-06-29 10:21:49 +00:00
Robert Osfield
2dae7dd629 From Mike Weiblen, icon file. 2005-06-28 17:53:48 +00:00
Robert Osfield
8cc424792c From Mike Weiblen, "some polish for 1.0: centralizes the icon resource definition and adjusts all
app and example projects to use that single defn.  The various existing
resources.rc files should be deleted."
2005-06-28 09:34:20 +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
4e0a5e5069 Added missing dirtyBound(). 2005-06-27 08:54:43 +00:00
Robert Osfield
042ca70866 From David Spilling, fixed the incircle test so it handles colinear points. 2005-06-24 20:19:12 +00:00
Robert Osfield
57eb631654 From Colin McDonald,
"On fixing the pointer access I discovered that reading osga archives
    containing ive files went into a cpu loop.  This turned out to be a
    problem with proxy_streambuf on Solaris.  Public methods in the Solaris
    streambuf standard library implementation rely on the gptr() being set,
    which proxy_streambuf was not doing.  So I have modified
    proxy_streambuf to set the input sequence pointers, and have also
    aligned it more with the standard library streambuf implementation
    where all input is through underflow(), not uflow() which merely calls
    underflow() and advances the pointer."

From Robert Osfield, change from using pointer cast and assignment to using
    a templated _write and _read method to avoid pointer aliasing to 2/4/8
    byte boundaries that some computer system may produce.  These changes
    where inspried by Colin McDonalds change to using memcpy, these
    changes weren't merged as memcpy is not as clear in naming as _read,
    _write and memcpy will incurr a function call just for copy a
    uint.
2005-06-24 19:50:14 +00:00
Robert Osfield
f2b4ac179d From Colin McDonald:
"Some makedefs fixes for Solaris:

    For multithreaded applications the -mt option must be specified on both
    the compile and link steps, to ensure correct behaviour.  According to
    the Sun compiler documentation it sets REENTRANT flags in the system
    header files, and links the -lthread library in the correct order.

    When compiling shared libraries the -KPIC option should be specified.
    Although Solaris will handle shared libraries without
    position-independent code there is a performance penalty.  The linker
    reference manual says: 'If a shared object is built from code that is
    not position-independent, the text segment will usually require a large
    number of relocations to be performed at runtime. Although the runtime
    linker is equipped to handle this, the system overhead this creates can
    cause serious performance degradation'."
2005-06-24 15:39:29 +00:00
Robert Osfield
e8cc8f06c5 From Martijn Kragtwijk: "I ran into the same problems as Karl Martensson
(http://openscenegraph.org/archiver/osg-users/2005-June/0575.html);
after switching children of a Switch node off and on again, they become
unpickable. This issue occurs first in 0.9.9, with 0.9.8 everything is fine.
My fix involves calling dirtyBound() every time the on/off-values of the
Switch are changed"
2005-06-24 15:34:46 +00:00
Robert Osfield
bad47e0fe0 From David Guthrie, "The call NSLookupAndBindSymbol was changed to
NSLookupSymbolInModule.  The former call would lookup the named
symbol NOT in the current dynamic library, but in the entire running
program while the call NSLookupSymbolInModule, takes the handle to
the library the symbol should be found in.  This means the current
code will fail if one loads multiple bundles at runtime and attempts
to load the same named symbol from each one."
2005-06-24 15:30:11 +00:00
Robert Osfield
914b16c9e9 Moved the working createPagedLODScene() implemention into createScene()
method replacing the original flaky code.
2005-06-24 15:15:55 +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
3baa8cdad2 Disabled NPO2T on GeforceFX. 2005-06-22 11:02:37 +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