Robert Osfield
e2a85f6bc6
From Brede Johnansen, adding support for EXT, ARB and GL version 1.4 point parameters.
2005-04-20 12:32:43 +00:00
Robert Osfield
648677ce44
Added next stage of support for osg::Uniform in .osg plugin
2005-04-18 12:34:28 +00:00
Robert Osfield
88e8477cbf
Moved istream/ostream includes out of Vec3f, and reimpleted osg::Matrix*::compare.
2005-04-17 10:41:23 +00:00
Robert Osfield
62994ac4a2
From Tony Horrobin, fix for VS6.0
2005-04-17 09:41:48 +00:00
Robert Osfield
8bf4a98a91
From Marco Jez, added operator >> for Plane and Quat to io_utils, and added
...
OSG_EXPORT to PerContextProgram.
2005-04-16 17:44:11 +00:00
Robert Osfield
f4be038d46
Moved Plane and Quat << operators into the io_utils headers
2005-04-15 20:59:24 +00:00
Robert Osfield
066c829768
Added setValue and setSwitchSet methods
2005-04-15 20:05:30 +00:00
Robert Osfield
0503712fe4
Removed osgGL2 from CVS, osgGL2 now can be found on the Community/NodeKits section on the OSG website.
2005-04-15 08:35:06 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
869548bafb
Uniforms open for business :)
2005-04-14 20:14:53 +00:00
Robert Osfield
e7ce7c0529
Fixed getUniformLocation and getAttribLocation methods
2005-04-14 20:05:16 +00:00
Robert Osfield
086efcdff1
Removed setProgram from osg::StateSet as Program works just fine right now
...
as a standard osg::StateAttribute and set in a StateSet with setAttribute.
2005-04-14 15:53:28 +00:00
Robert Osfield
d6d764a729
From Terry Welsh, added copy texture support to TextureRectangle
2005-04-13 18:19:38 +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
2e10cffb4d
Work in progress on shader language uniform support
2005-04-13 12:00:28 +00:00
Robert Osfield
d268cf46fa
Renamed SG_LIBRARY and SG_EXPORT macro's to OSG_LIBRARY and OSG_EXPORT
2005-04-11 17:14:17 +00:00
Robert Osfield
195b63dc65
From Olaf Flebbe, compile fix for Sun.
2005-04-11 15:22:29 +00:00
Robert Osfield
4fec031e6c
Moved #include <osg/State> from header into .cpp to clean up build.
2005-04-11 15:17:24 +00:00
Robert Osfield
d0097718e1
Added friend class PerContextProgram;
2005-04-11 08:15:43 +00:00
Robert Osfield
864817d0d0
From Randall Hopper, fixed typo of setRedMask.
2005-04-10 21:26:49 +00:00
Robert Osfield
0d8bd24250
Fixed typo
2005-04-09 11:17:12 +00:00
Robert Osfield
f46858c49b
Moved UByte4 i/ostream support into io_utils.
2005-04-08 14:10:22 +00:00
Robert Osfield
a2974de978
Moved the istream and ostream support from Vec* and Matrix* into a seperate io_utils file.
2005-04-08 09:01:23 +00:00
Robert Osfield
f417974f5b
Added iostream operators
2005-04-07 21:28:57 +00:00
Robert Osfield
d006ce627f
From Olaf Flebbe, removed supporios BufferObject::
2005-04-07 20:28:36 +00:00
Robert Osfield
84e8338be1
From Mike Weiblen, "adds sourcefiles for beginnings of .osg fileformat i/o support
...
> - enhancemens to core GLSL classes to support file i/o"
2005-04-07 20:23:58 +00:00
Robert Osfield
7a27a0bef7
From Marco Jez, improvements to osgIntrospection, and new automatically generated
...
osgWrappers/osg set.
2005-04-07 20:00:17 +00:00
Don BURNS
5b4482c70d
Set PagedLOD::removeExpiredSubgraph() to be virtual
2005-04-07 17:15:48 +00:00
Don BURNS
af3ac699aa
Rolled in Olaf's changes for HP-UX build
2005-04-05 19:08:48 +00:00
Robert Osfield
9e5d905b05
Renamed _A and _B to make them more meanigful
2005-04-04 20:25:57 +00:00
Robert Osfield
5f75f765f0
From Marco Jez, updates to osgIntrospection.
2005-04-04 13:50:07 +00:00
Robert Osfield
097c8f18f9
Fixed comment
2005-04-04 13:22:24 +00:00
Robert Osfield
aa8dbea11c
From Mike Weiblen, updates to Shander Language support
2005-04-04 10:08:15 +00:00
Robert Osfield
2e91a74f14
Added FluidProgram
2005-04-04 10:05:35 +00:00
Robert Osfield
22e446dbc9
Improved ParticleEffects
2005-04-04 07:54:52 +00:00
Robert Osfield
60cecb8959
Added State::getActiveUnit and usage of it in the glTexCopyImage*() implementations
2005-03-25 11:07:48 +00:00
Robert Osfield
7883574d28
From Mike Weiblen,
...
"updates for GLSL core integration:
Code compiles and runs on win32.
Basic functionality of Program and Shader in place.
Program derived from StateAttribute.
Uniform value propagation is not yet functional (in development)
Includes some patches by Nathan Cournia.
includes example testcase to demo use of new classes."
2005-03-24 09:37:45 +00:00
Robert Osfield
2ab78cfe38
From Marco Jez, fixed constness of data return type
2005-03-23 21:00:28 +00:00
Robert Osfield
1c34cceb3a
Fixed indenting.
2005-03-23 20:35:19 +00:00
Robert Osfield
fb4157ae75
From Mike Weiblen: "Fix for VS7.1 warning C4715: not all control paths return a value"
2005-03-23 20:34:02 +00:00
Robert Osfield
aee1e88f15
Added extra controls for ParticleEffects.
2005-03-23 17:05:21 +00:00
Robert Osfield
dde703e3b0
Commented out the if (!node->getName().empty()) return false; in isOperationPermissibleImplementation()
2005-03-23 08:30:15 +00:00
Robert Osfield
476a83bb9c
Added MatrixManipulator::s/getIntersectTraversalMask(uint) to allow control
...
of which subgraphs should be used in intersection calculations. Updated
Terrain,Drive and UFO manipulator to use this new flag.
2005-03-22 21:06:06 +00:00
Don BURNS
5d10547ac5
Added getCameraByName method to viewer and home(double currentTime) to
...
MatrixManipulator, UFO, Trackball and ANimation manipulator.
2005-03-20 23:57:17 +00:00
Robert Osfield
b0c36076fb
From Marco Jez, added OSGNVEXT_ prefex to StateAttribute enums.
2005-03-18 09:48:09 +00:00
Robert Osfield
d52f4ea23a
Added support for a new IsOperationPermissibleForObjectCallback in osgUtil::Optimizer.
2005-03-18 02:44:08 +00:00
Robert Osfield
f8426a8ad8
Made supports(..) methods use support(const ...)
2005-03-18 02:42:59 +00:00
Robert Osfield
8bb4649cd5
Added extra controls into osgDB::DatabasePager for customizing how
...
much time is allocated to compiling and deleting OpenGL objects, also
added support into osgProducer::OsgSceneHandler.cpp for these new parameters.
The new cotrols are:
DatabasePager::s/getTargetFrameRate(..)
DatabasePager::s/getMinimumTimeAvailableForGLCompileAndDeletePerFrame()
DatabasePager::s/getMaximumNumOfObjectsToCompilePerFrame()
2005-03-17 19:32:09 +00:00
Robert Osfield
4beb385d2d
Changed tabs to four spaces
2005-03-14 09:28:31 +00:00
Robert Osfield
21ae4c6c65
From Marco Jez, fix for data corruption bug in TypedMethodInfo*::invoke()
2005-03-14 09:13:38 +00:00
Don BURNS
c332d1f751
Chagned osg::Matrix to osg::Matrixd
2005-03-13 05:02:02 +00:00
Don BURNS
fce7f24347
Added a few things to osgProducer::Viewer to support UFO manipulator and
...
cleaned up UFOManipulator.
2005-03-12 05:31:26 +00:00
Robert Osfield
a2e8bc6267
Added support for set/getUniform and set/getProgram into osg::StateSet.
2005-03-11 20:29:21 +00:00
Don BURNS
21c1d64b1c
Added methods getCameraManipulatorNameList() and selectCameraManipulatorByName().
2005-03-11 17:48:01 +00:00
Don BURNS
e59284501b
Changed class name to UFO instead of UFOManipulator to conform to the other
...
manipulators
2005-03-11 17:46:12 +00:00
Don BURNS
2601412135
Added UFOManipulator to Viewer
2005-03-11 06:09:38 +00:00
Don BURNS
a7ac8f5992
Added UFO manipulator
2005-03-11 06:09:16 +00:00
Robert Osfield
6a103aa413
Added osgFX::MultiTextureControl node for managing blending between
...
different texture layers.
2005-03-09 16:54:10 +00:00
Robert Osfield
8dc1be6707
Added basic multiple texture layer support into osgTerrain::DataSet.
2005-03-08 16:51:48 +00:00
Robert Osfield
d155caf2a4
First steps to adding support for multiple texture layers.
2005-03-07 22:02:44 +00:00
Robert Osfield
99f80a78f1
From Ruben, added handling of vertex indices.
...
Note from Robert. New codes produces errors when running
osgfxbrowser cow.osg so I have elected to keep the original
implementation of compute_basis_vectors around and as the default
compile to keep the CVS version working. Ruben's new version
of compute_basis_vectors has to be explicitly compiled in by
toggling an #if 1 block to #if 0.
2005-03-07 17:25:30 +00:00
Robert Osfield
a72845cfc4
Sebastien Grignard, fixed getMember methods to properly use const type.
2005-03-07 14:38:43 +00:00
Robert Osfield
5684a130b7
From Alberto Farre, addition of ProxyNode, with support in .osg, .ive and .flt loaders
2005-03-07 14:06:09 +00:00
Robert Osfield
c3f40e2e67
Added improved handling of center justificaion of multiline text
2005-03-03 12:33:07 +00:00
Robert Osfield
6772a1deb6
From Paul Melis, fixed typo of setFunctionMask.
2005-02-26 21:44:16 +00:00
Robert Osfield
ce68304f90
Improved support GUIEventHandler's being node event callbacks.
2005-02-25 23:02:23 +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
96514b5077
New simplified timer implementation.
2005-02-25 08:38:05 +00:00
Robert Osfield
79833fa704
Added pause, rewind and play support into xine plugin.
2005-02-24 17:07:37 +00:00
Robert Osfield
5fbb1f11cd
From Mike Weiblen, adding prelimimnary GL Shader Language support into core OSG lib.
...
with renaming and reordering by Robert Osfield,
2005-02-24 13:33:35 +00:00
Robert Osfield
164cb8216c
Made Referenced::ref() and unref() inline methods.
2005-02-23 12:50:10 +00:00
Robert Osfield
e01990d419
Made the osg::Referenced Mutex be declared as a pointer to a Mutex, with the
...
Mutex allocated dynamically when required. Added the following methods to
help manage the usage of the mutex:
void setThreadSafeRefUnref(bool threadSafe);
bool getThreadSafeRefUnref() const;
2005-02-22 20:25:58 +00:00
Robert Osfield
10c3f934f1
Added support for control the pitch of the drive manipulator via the
...
up and down cursor keys.
2005-02-22 19:19:50 +00:00
Robert Osfield
b40fe170c7
From Igor Kravtchenko, add #define's for OpenGL float internal texture formats.
2005-02-22 10:16:22 +00:00
Robert Osfield
79a59e596c
Tweak to comment.
2005-02-15 09:37:20 +00:00
Robert Osfield
dd0c29d19b
Added new utilities for handling different '/' and '\' entries.
2005-02-11 09:58:30 +00:00
Robert Osfield
7282adef2b
Removed redundent _nodePath entry.
2005-02-10 21:30:03 +00:00
Robert Osfield
7fb8dfe5ed
From Chris Xennon, add support for billboard intersections + fix to addLineSegments.
...
Small addition from Robert Osfield of setLODSelectionMode(..) to control
the LOD selection behavior.
2005-02-10 21:18:04 +00:00
Robert Osfield
355ee7a785
Put pixel buffer define's into their own block.
2005-02-10 20:14:22 +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
850efd10f1
From Paul Melis, fixed the setFrameStatsMode() method
2005-02-07 20:44:18 +00:00
Robert Osfield
46ce4c3df3
Added the full set of buffer object methods
2005-02-07 17:28:03 +00:00
Robert Osfield
b7bd8075de
From, Leandro Motta Barros, Doxygen comments.
...
Ammendments by Robert Osfield, a few comment rewrites to better reflect API functionality/usage.
2005-02-02 15:08:55 +00:00
Robert Osfield
7be056275b
Added red, green, blue and alpha values.
2005-02-01 09:00:32 +00:00
Robert Osfield
c3c3ed8519
Added support for 8 parameters.
2005-02-01 09:00:10 +00:00
Robert Osfield
95161cb301
From Tree, removed redundent "inline"s
2005-01-28 16:09:11 +00:00
Robert Osfield
203133bb3f
Added definitation for GL_COMPRESSED_* tokens for case where early OpenGL headers
...
don't provide them.
2005-01-28 11:01:11 +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
d0f42c9231
From Chris Hanson, minor tweaks to docs on getDescriptions.
2005-01-27 13:23:46 +00:00
Robert Osfield
7e75997db0
From Leandro Motta Barros, doxygen comments
2005-01-27 13:15:21 +00:00
Robert Osfield
75175ecb48
Changed template<class> instances to template<typename>
2005-01-27 11:18:33 +00:00
Robert Osfield
a086a6d01b
Changed Font::setSize to Font::setFontResolution
2005-01-27 11:10:50 +00:00
Robert Osfield
89236b46fd
From Mason Menninger, addition of setTrackballSize() parameter.
2005-01-22 16:55:48 +00:00
Robert Osfield
0fd06a93ec
From Leandro Motta Barros, Doxygen comments for OsgCameraGroup and Viewer.
...
With a few small ammendments/additions from Robert Osfield.
2005-01-22 15:41:03 +00:00
Robert Osfield
fd8f62f941
build fix
2005-01-21 19:31:56 +00:00
Robert Osfield
3cfcec1198
From Tree, add get methods
2005-01-21 19:30:35 +00:00
Robert Osfield
728b8c9301
Added setImageReadFormat and setImageReadDataType methods to RenderToTextureStage to
...
allow customization of what format/data type to read such as reading from the depth buffer etc.
2005-01-09 19:30:56 +00:00
Robert Osfield
341267d898
Tweaked the #define's of GL_ALPHA_MIN_SGIX and GL_ALPHA_MAX_SGIX to ensure compilation across
...
OGL drivers.
2005-01-08 10:21:49 +00:00
Robert Osfield
40632c97b0
From Tree, moved GL_ #define's out of osg namespaces
2005-01-07 19:00:40 +00:00
Robert Osfield
e2132cc62a
Cleaned up the types.
2005-01-05 17:14:38 +00:00
Robert Osfield
c58f56adb6
From Fredric Mammond, fix for build using full extension checked mechansim
2005-01-05 16:16:52 +00:00
Robert Osfield
fab7c4d715
From Fredric Mammond, added new osg::BlendEquation state attribute wrapping
...
up glBlendEquation.
2005-01-03 16:39:28 +00:00
Don BURNS
3e96112b82
Added computeBound to osg::Switch, which now checks to see if a child is
...
enabled before computing its bound.
2004-12-17 20:51:55 +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
88234ea31f
Removed redundent cont qualification
2004-12-14 03:12:18 +00:00
Robert Osfield
d2c235a52b
From Fredric Marmond, fix to gcc3.4 build
2004-12-14 01:38:45 +00:00
Robert Osfield
fa4eaae122
From Frederic Marmond, add osg::LogicOp for support for glLogicOp.
2004-12-13 04:54:20 +00:00
Robert Osfield
d9802310dc
From Marco, fixes to osgIntrospection and related libs
2004-12-13 02:39:47 +00:00
Robert Osfield
66396e9452
Teaks to API to make it easier to generate wrappers automatically
2004-12-13 01:07:24 +00:00
Robert Osfield
71a1a96883
Added extra set methods to match get's to make then symetric proporties
2004-12-10 03:37: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
463b47f020
Fixes for SOlaris build
2004-11-29 03:05:27 +00:00
Don BURNS
c7e8386707
Fixes for IRIX build
2004-11-29 01:12:25 +00:00
Robert Osfield
c3fd271dc4
Addd high level introductory docs for all the libs
2004-11-26 16:01:04 +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
ce07879e2e
Moved plugins across to using ReaderWriter::Options* for search paths in addition
...
to standard osgDB::DataFilePaths
2004-11-22 23:54:45 +00:00
Robert Osfield
e54f46f630
Removed the cache hints from registery placing them wholly into ReaderWriter's responsibility.
2004-11-22 14:49:27 +00:00
Robert Osfield
a6369da4f4
Moved Registry::CacheHintOptions into ReaderWriter::Options
2004-11-22 14:10:12 +00:00
Robert Osfield
6fa4eecdd5
Changed ReaderWriter::Options to derive from osg::Object to add clone()
...
ability.
2004-11-20 13:35:49 +00:00
Robert Osfield
eff3482ec6
Removed the public open methods
2004-11-18 22:13:13 +00:00
Robert Osfield
8cc9d650a1
Added friend usage for inner classes to try and get round compile problems
...
under Solaris.
2004-11-18 12:07:28 +00:00
Robert Osfield
36661a33d3
Fixed writeImage.
2004-11-18 11:21:51 +00:00
Robert Osfield
02ee5ff0cc
Altered the path for Cygwin to set the _ticksPerSecond to the correct value.
2004-11-18 09:19:15 +00:00
Robert Osfield
70bb34af6a
From Stephane Simon, compile fix for VS, change struct to class in forward declaration.
2004-11-18 09:09:22 +00:00
Robert Osfield
e9c403839d
Made a few of the public methods virtual, and moved more of the class
...
methods to protected scope.
2004-11-17 14:25:17 +00:00
Robert Osfield
daaa9f3ba0
Fixed typo of ReadObjectFunctor.
2004-11-16 16:04:05 +00:00
Robert Osfield
e30a534ec9
Adde another friend to remove final VS6.0 compile problem.
2004-11-16 15:36:06 +00:00
Robert Osfield
f99dc8f051
Made the inner helper classes friend to try and get round VS6.0 problems
2004-11-16 14:10:30 +00:00
Robert Osfield
e378e3da8f
From Loic Dachary, changes to Timer for PowerPC support, with small re-arrangement
...
by Robert Osfield to make tick() code block mode readable.
2004-11-16 09:03:24 +00:00
Robert Osfield
2b310c6926
Added support for serialization of calls to ReaderWriter plugins.
2004-11-15 19:46:10 +00:00
Robert Osfield
84d3746e8a
From Tree, fixes for Java bindings
2004-11-15 13:02:43 +00:00
Robert Osfield
4094c3f058
Added osgDB::ReentrantMutex is prep for making osgDB::Registry single threaded.
2004-11-15 11:57:41 +00:00
Robert Osfield
39311cdee3
From Loic Dachary, added getFileName method
2004-11-14 21:08:10 +00:00
Don BURNS
ff92aef6fe
PowerPC fix for Timer by Guillaume Morin
2004-11-13 22:04:26 +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
f30146a9fe
From Stephane Simon, added missing OSGDB_EXPORT to osgDB::openArchive functions
2004-11-11 22:26:07 +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
9fcda76143
Fixed uninitialized variable.
2004-11-10 22:11:28 +00:00
Robert Osfield
141c3cadbf
Set the pos_type and size_type explictly to 8 byte types.
2004-11-10 21:52:30 +00:00
Robert Osfield
3523577235
Added check for endianess of .osga archives
2004-11-10 21:18:31 +00:00
Robert Osfield
4973824b1d
Added new osga plugin for reading OSG native archives
2004-11-10 16:40:08 +00:00
Robert Osfield
2db9dc2e60
Moved the ReadFunctor to protected section.
2004-11-10 13:47:22 +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
a383330ae4
From Mike Weiblen, fix to the state leakage.
2004-11-10 09:56:03 +00:00
Robert Osfield
564869487a
Added support of archiving into osgTerrain::DataSet and osgdem.
2004-11-09 14:18:29 +00:00
Robert Osfield
91af37573a
Added public access to VertexProgram's LocalParamters and added .osg support
...
for these.
2004-11-08 17:12:36 +00:00
Robert Osfield
72b7e08d93
From Stephane ???, fixes for VS.NET build
2004-11-08 16:39:32 +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
f84f8d87e0
Added support for openArchive into osgDB
2004-11-07 21:17:31 +00:00