Commit Graph

4477 Commits

Author SHA1 Message Date
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
Robert Osfield
34be5166ff From Tom Jolly, added method for getting the number of frames. 2005-06-20 10:38:39 +00:00
Robert Osfield
7453711267 From Mike Weiblen,
" - adjustments to improve namespacing on VS
  - clarify compilation status message"
2005-06-20 10:36:06 +00:00
Robert Osfield
9c950f0f3c From Andreas Jochens (submitted by Loic Dachary), addintion of forward declare
of class Progam; to fix compile problem under gcc4.0/amd64/debian unstable.
2005-06-20 10:28:52 +00:00
Robert Osfield
ba2aeb52e5 From Mike Weiblen, added OSG_EXPORT to FrameBufferObject files. 2005-06-20 10:16:30 +00:00
Robert Osfield
c5cad6982e Further FBO support work. 2005-06-16 14:01:38 +00:00
Robert Osfield
1641cd7b54 From Pavel Moloshtan, added support of Drawable::Extensions::glDeleteQueries() 2005-06-16 13:53:52 +00:00
Robert Osfield
3a0b742461 Added copyright notices. 2005-06-16 11:45:50 +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
bc76fbf60d Added automatic creation of texture when size is set but not osg::Image is assigned.
This is useful for FBO usage.
2005-06-15 20:05:47 +00:00
Robert Osfield
92087ee5ac From David Guthrie, " In the constructor
in removes any options beginning with "-psn" from argv on OSX by
calling the "remove" method.  When a .app run is created in OSX,
which is required to get a fully functioning UI application, the OSX
finder passes a -psn_XXXX option to the application where the XXXX
refers to a unique process number.  An example option would be "-
psn_0_37617665".  The argument parser was choking on this option in
all the osg example applications."
2005-06-15 11:49:25 +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
868d381528 Added osg::CameraNode. 2005-06-14 13:16:58 +00:00
Robert Osfield
0fa26ae9c4 Removed reference to non existant AVI plugin 2005-06-14 09:12:45 +00:00
Robert Osfield
4fb9039d0c Fixed position of glBindBuffer. 2005-06-14 08:48:48 +00:00
Robert Osfield
486f5c1a30 Fixed with the reprojection so that it doesn't promote all source data to
RGBA, but only does this for RGB data.
2005-06-13 20:03:26 +00:00
Robert Osfield
80a99a2559 From Ken Sewell, fixed for x86_64 build. 2005-06-13 11:14:42 +00:00
Robert Osfield
3612da9fbc From Marco Jez, added project files for osgfbo example. 2005-06-09 19:02:55 +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
38528c4952 Updated wrappers. 2005-06-08 13:20:09 +00:00