Robert Osfield
f3715665c0
Added 21 as the version number of xine video plugin to allow it work with latest versions of xine.
2006-03-14 09:33:14 +00:00
Robert Osfield
2b61cf0a1e
From Farshid Lashkari, "The following patch adds a multisample option to the
...
osg::DisplaySettings class. OsgCameraGroup will now read the setting
from the DisplaySettings instead of hardcoding the value. I added the
following commandline option to be able to set the multisample value:
--samples <num>
One thing to note, OsgCameraGroup would previously check if the
computer is an SGI and set multisample to 4. I retained this check in
DisplaySettings to be backwards compatible."
2006-03-13 21:29:17 +00:00
Robert Osfield
d50f2e3add
From Andrew Sampson, "The terravista terrain generation tool can insert references to external model files into a terrapage tile. It unfortunately does not update the bounding sphere of that tile to include the extents of the external model. This means that if a large model (such as an airfield model) is attached to a tile, the model will disappear when the tile is off-screen (outside the view volume), even though the model is on-screen."
2006-03-13 21:20:07 +00:00
Robert Osfield
1a16d6d6b0
Added an EventQueue directly into osgProducer::Viewer.
2006-03-13 13:19:37 +00:00
Robert Osfield
8229875432
Checked in the genwrapper generated Export.cpp. This does seem to be an eroneously
...
built file though since Export.cpp doesn't appear in the other plugins... I have checked
it in here to keep the builds running, there isn't actually any useful body in the Export.cpp.
2006-03-09 15:16:18 +00:00
Robert Osfield
3246dde716
From Brede Johansen, new OpenFlight plugin!!!!!
...
By default the original flt plugin is still used, to select at runtime
the new plugin set the env OSG_OPEN_FLIGHT_PLUGIN=new
2006-03-08 21:38:37 +00:00
Robert Osfield
4fc4e60cc3
From Bob Kuehne, added osg::getGlVersion() and fixed a minor typo in Texture3D.
2006-03-08 16:11:54 +00:00
Robert Osfield
fa5ff9d169
Added EventQueue.
2006-03-08 15:40:02 +00:00
Robert Osfield
7604146d3f
From Farshid Lashkari, "A while back the behaviour of extension alias' was modified so that
...
the user can override existing alias'. The change allowed for circular
references, so the createLibraryNameForExtension would get caught in
an endless loop. The following fix will catch circular references."
2006-03-08 15:30:07 +00:00
Robert Osfield
c69c9d2070
From Farshid Lashkari, "I noticed that sometimes when a particle emitter is re-enabled, a few
...
particles will appear at the location it was disabled at. The problem
is that the previous local to world matrix is not being updated while
it is disabled. I modified the particle processor so that it will set
the dirty flag for the previous local to world matrix when the
processor is skipped for a frame, since the value will no longer be
relevant."
2006-03-08 15:26:39 +00:00
Robert Osfield
02f5681180
From Roger James, "1. Fixed a problem with the caching of textures when the associated image file was not in the current working directory. In this case the texture object was being placed in the cache with the short filename, but was looked up with the full path.
...
2. Fixed a problem with the caching of textures when CACHE_IMAGES was enabled. This caused a conflict is the names used to cache the image and texture objects.
3. Fixed a problem where AC3D generates surfaces with duplicate vertex indices.
4. Removed what I believe are redundant calls to the tesselator.
5. Added a couple of asserts which should fire in debug mode if my assumptions about 4. are incorrect.
6. Removed obviously unused code. (Stuff that was commented or ifdeffed out.)"
Note, from Robert Osfield, changed the asserts to if () report error using notify so we can catch errors in both optimized and debug builds, but without crashing.
2006-03-08 15:16:59 +00:00
Robert Osfield
dbbabf87c6
Converted osgGA::GUIEventAdapter into a concrete class capable of respresenting
...
keyboard and mouse events.
Added osgGA::EventQueue class to support a thread safe event queue and adaption
of keyboard and mouse events.
Removed osgProducer::EventAdapter as GUIEventAdapter replaces it.
Adapted osgProducer and examples to work with the new changes to osgGA.
2006-03-08 14:09:47 +00:00
Don BURNS
582967286a
Improved the GET protocol for the http socket. By adding Connection: close
...
the server sends a EOF immediately after the data, improving performance
because readers are not left waiting for EOF.
2006-03-07 18:26:32 +00:00
Robert Osfield
cdc8b13f14
From Farshid Lashkari, support for writing to istream for the the TIFF plugin and support for
...
controlling PNG compression level via the the ReaderWriter::Option string "PNG_COMPRESSION <level>"
2006-03-02 20:39:20 +00:00
Robert Osfield
8796f37acb
Added automatic toggling between png and jpeg when compressImageData option is used. Jpeg
...
is used to compress RGB data only, the just of the formats are passed on to the png plugin.
2006-03-02 20:31:40 +00:00
Robert Osfield
507fb0074f
From Farshid Lashakari, support for png write.
2006-03-02 14:58:13 +00:00
Robert Osfield
74f073c2a8
From Farshid Lashkari, "I've attached another modified version of the IVE loader which
...
supports compressing the image data. The option to compress the data
is "compressImageData". Currently it uses the jpeg plugin to write the
image. Maybe we could add an option that allows the user to specify
which image format to use. The jpeg writer supports specifying the
quality of the jpeg, so you could use the following command line to
convert the skydome.osg model to IVE using 50% jpeg quality:
osgconv -O "compressImageData JPEG_QUALITY 50" skydome.osg skydome.ive"
2006-03-01 10:17:53 +00:00
Robert Osfield
58bdc6f92f
Added TextureRectangle.cpp
2006-02-28 21:18:45 +00:00
Robert Osfield
c64f527925
From Brede Johansen, added missing array handling into Geometry::accept(AttributeFunctor&
...
af) and Geometry::accept(ConstAttributeFunctor& af).
2006-02-28 19:46:02 +00:00
Robert Osfield
93f514109f
Further clean up of RefNodePath references.
2006-02-28 19:36:18 +00:00
Robert Osfield
0d9ba0283e
Updated wrappers.
2006-02-28 19:12:27 +00:00
Robert Osfield
deb6632b04
Fixes to removed dependency on RefNodePath.
2006-02-28 18:54:29 +00:00
Robert Osfield
a8255f6932
Updated wrappers.
2006-02-27 19:51:32 +00:00
Robert Osfield
abed6b7951
Ported NodeTrackCallback and NodeTrackManipulator across to use oberserver_ptr
...
instead of RefNodePath.
Removed now redundent RefNodePath.
2006-02-27 19:49:47 +00:00
Robert Osfield
1dcf4fe81f
Added support in osg::computeWorldToLocal and compteLocalToWorld functions for automatically
...
stripping any absolute or root CameraNode's from the NodePaths.
Added osg::Node::getWorldMatrices() convinience method.
2006-02-27 19:48:34 +00:00
Robert Osfield
8f2ffb7c2d
Added new observer_ptr templated smart pointer to allow one to retain pointers
...
to objects but have the pointer reset to null if that object is deleted.
2006-02-27 19:44:33 +00:00
Robert Osfield
10d139fc1f
From Farshid Lashkari, "I've made some changes to the IVE loader which will add the capability
...
of saving image files inside the IVE file. Currently, only the raw
image data is saved into the file. If your model uses jpg images as
textures then this will cause your file size to increase.
I've added an option that will embed the original image file into the
IVE file. The IVE file will then attempt to read the image from
memory. Since most image loaders support reading from memory, this
shouldn't be a problem. To use this new feature the user must specify
the option "includeImageFileInIVEFile" when converting to IVE.
I tested this out on the "skydome.osg" model that comes with OSG.
Using the old method, the IVE file size would be 785 KB, with the new
method it is only 42 KB.
Also, I've added the support for TextureRectangle's to the IVE reader/writer."
2006-02-26 17:45:52 +00:00
Robert Osfield
4b4c77c420
Added clamping of the wind force contribution to acceletion of particle so
...
that the de-acceleration never exceed the actual wind vector itself.
2006-02-24 13:56:07 +00:00
Robert Osfield
964110f315
Completed .osg support for ClusterCullingCallback.
2006-02-23 20:37:19 +00:00
Robert Osfield
9c350a49be
Disabled the running of tristripping and smoothing from within the Simplifier.
2006-02-23 16:47:36 +00:00
Robert Osfield
cc235b7a1a
Updated wrappers.
2006-02-22 19:28:34 +00:00
Robert Osfield
def7a78842
Fixed typo of Validity.
2006-02-22 19:14:01 +00:00
Robert Osfield
94b4432831
From Thom Carlo, with tweak from Robert Osfield, removed the setting of the outline colour
...
(the emission part of material) during setup of the Carton effects for the second pass.
2006-02-22 16:05:37 +00:00
Robert Osfield
32b929a493
Added support for OpenGL mode black listing to provide better support
...
for extension checking and invalidation of OpenGL modes associated with
extensions.
2006-02-22 14:31:13 +00:00
Robert Osfield
ae9e0e6838
Added initial cut of ClusterCullingCallback .osg support.
2006-02-21 21:28:57 +00:00
Robert Osfield
25abad8307
From Paul Martz, "I've attempted to make AutoTransform override computeBounds() to return
...
an invalid bounding sphere if it hasn't seen a cull traversal yet. It
depends on _firstTimeToSetEyePoint, which is initially true, then false
after a cull. There might be a better way? If so, let me know.
This change does resolve the issue I had encountered with auto scale to
screen and incorrect culling."
2006-02-21 13:51:10 +00:00
Robert Osfield
4a0a0a30ea
From Trajce Nikolov, "small fix for the flt loader - the back color of the bidirectional light points"
2006-02-21 12:39:47 +00:00
Robert Osfield
7d5c81bf5e
From Ulrich Hertlein, spelling corrections and a few Doxgen comments.
2006-02-20 21:05:23 +00:00
Robert Osfield
b0358c698a
From Eric Sokolowsky, "There was a problem with the PNG plugin when it encounters an image that is
...
less than 8 bits per pixel (this can happen with greyscale or paletted images).
It was a pretty simple problem to fix."
2006-02-20 20:06:26 +00:00
Robert Osfield
af6af82e56
From Nathan Monteleone, addition of AutoTransform support.
2006-02-20 19:13:11 +00:00
Robert Osfield
9473d80345
Moved the intialization variable reset to end of the init funciton to
...
avoid multi-thread initialization from producing different results.
2006-02-20 16:50:47 +00:00
Robert Osfield
1c83e3ecfb
From Ed Ralston, "According to the OSX Developer Documentation, CFRelease
...
cannot be called with a NULL argument.
This patch prevents osgDB::FileUtils from doing this."
2006-02-20 16:20:50 +00:00
Robert Osfield
9935b0fa27
Added missing swap byte operations to readVec*sArray() methods.
2006-02-20 15:46:29 +00:00
Robert Osfield
4b8fb5e5f9
From Daniel Larimer, fixed error is swap byte code handling vector<short>
2006-02-20 15:32:03 +00:00
Don BURNS
37be1d9259
Fixed a bug spotted in UFOManipulator where a Vec3's 4th component was
...
being inspected (ip[3]).
2006-02-09 19:31:05 +00:00
Robert Osfield
59ad441be1
Added BlenColour(Vec4) constructor and updated wrappers.
2006-02-09 12:20:42 +00:00
Don BURNS
8f7d349f7e
Added a filter to the Delaunay Triangulator to insure that incoming points
...
are unique in the X and Y components.
2006-02-08 23:41:32 +00:00
Robert Osfield
608a183753
Added s/getDoTriStrip and s/getSmoothing method.
2006-02-06 20:36:09 +00:00
Don BURNS
da9de96fae
Added 'normals' pseudoloader
2006-02-06 19:40:45 +00:00
Robert Osfield
6624f3aa62
Improved default settings, re-enambled smoothing and tri stripping of sampled data.
2006-02-06 19:16:04 +00:00
Robert Osfield
3936bcde9e
Added support for up sampling by dividing longest edges.
2006-02-06 17:12:35 +00:00
Robert Osfield
4bc13ec71b
From David Guthrie, OSX marco reworking to better handling different OSX versions.
2006-02-05 21:53:37 +00:00
Robert Osfield
39381c6fe7
From Edmond Gheury, fixe and bug in the PrimitiveShapeVisitor.
2006-02-04 21:25:33 +00:00
Robert Osfield
e89852e25f
From Marco Jez, " I've modified in order to make FBO mipmapping work. In
...
FrameBufferObject.cpp there is also another fix: when initializing a FBO
attachment from a CameraNode attachment, the renderbuffer's format must be
set to the attachment's internal format, not to the image's pixel format.
Another problem is that attaching a renderbuffer to the FBO through
CameraNode is not simple (if not impossible) if you don't intend to specify
an Image object. Probably CameraNode could be enriched with an
"attach(buffer, width, height, format)" method. For example if you attach a
color buffer as a texture whose size is different than that of the
CameraNode's viewport you also need to attach a depth buffer of the same
size, because the depth buffer that is automatically attached by RenderStage
has the viewport's size. FBOs require that all attachment have the same
dimensions, so said setup will fail if you can't specify a custom depth
renderbuffer"
2006-02-04 21:20:25 +00:00
Robert Osfield
3baf9f51d2
From Brad Anderegg, add _frameNumber and associated code to ensure that particles
...
only get updated once per frame.
2006-02-04 21:12:45 +00:00
Don BURNS
d4bacf93cd
Changes to zip and tgz plug-ins to allow for use of TEMP variable on Windows.
...
Submitted by Zach Deedler
2006-01-24 17:43:53 +00:00
Robert Osfield
df1d2ee93b
cleaned up clampNearNar code.
2006-01-24 12:02:40 +00:00
Robert Osfield
f09259f4f9
Improved the env var reporting to avoid the overlong lines.
2006-01-23 20:38:28 +00:00
Robert Osfield
0f529d72ab
Updated wrappers.
2006-01-21 13:02:03 +00:00
Robert Osfield
cc1ee1fa26
From Marco Jez, adding osgDB::findDataFile() usage.
2006-01-18 12:16:45 +00:00
Robert Osfield
fe3b68dbb1
From Marco Jez:
...
here is a patch that enables a new option named "BIND_TEXTURE_MAP" in the LWO plugin. Its purpose is to allow explicit binding between texture UV maps defined in the LWO file and OpenGL texture units, overriding the default mechanism that allocates texture units automatically. This is useful when you have an UV map built in Lightwave (for example an atlas map) but no textures actually using it, so you can keep the UV map (that would be discarded otherwise) and add a texture later int your program.
Syntax is:
BIND_TEXTURE_MAP <map_name> <texunit>
2006-01-18 12:13:48 +00:00
Robert Osfield
2067543aea
From Maya Leonard, ERSIShape VS project file, and compile fixes for Win32.
2006-01-18 12:03:55 +00:00
Robert Osfield
a0f43443a4
From Marco Jez, addition of glw extension checking under Windows, and tweaks to
...
BlendEquation and RenderStage to correct the extensions being tested.
2006-01-18 11:45:58 +00:00
Robert Osfield
eaf6c5ac35
Added new BoxPlacer files.
2006-01-17 15:18:44 +00:00
Robert Osfield
c9b25a5b50
From Zach Deedler, addition of osgParticle/BoxSpacer.
2006-01-17 15:17:15 +00:00
Robert Osfield
93a2c3d011
Improved handling of clean up of osg::Program/osg::Shader on closing of a graphis context.
2006-01-16 17:05:17 +00:00
Robert Osfield
ab71114219
Moved the body of the FBOExtensions::instance() to the .cpp and added bool to
...
control whether that an FBOExtensions structure can be created if missing.
2006-01-03 10:44:14 +00:00
Robert Osfield
4167bc3673
Standardised compile code to use _maximumNumOfObjectsToCompilePerFrame.
2006-01-02 12:03:18 +00:00
Robert Osfield
58d82d0f66
Added setting of the parent path on the new PickVisitor.
2005-12-23 10:59:12 +00:00
Robert Osfield
378dc18f1c
Seperated out the view and model matrices in IntersectVisitor to allow
...
handling of world coordinates better when using PickVisitor.
2005-12-22 14:06:33 +00:00
Robert Osfield
b5f86d9984
Added support for an externally referenced shader file, via the keyword combinations
...
file "shader.vert"
OR
file shader.vert.
2005-12-21 10:32:48 +00:00
Robert Osfield
c465036a7c
Removed "if (mapExt!=toExt)" from alias map assignement to allow aliases to
...
be overriden for all cases.
2005-12-20 09:29:26 +00:00
Robert Osfield
bcd082db3d
From Farshid Lashkari, compile fix
2005-12-20 09:13:59 +00:00
Robert Osfield
aef81ae00d
Added check against the validity of the _inverse matrix pointer.
2005-12-19 15:05:26 +00:00
Robert Osfield
523f608ba6
From Ali Botorabi, adding of osg::Depth support in .ive format.
2005-12-19 14:48:04 +00:00
Robert Osfield
7b31c2e6ac
Added debugging info for future reference (currently commented out.)
2005-12-19 13:57:04 +00:00
Robert Osfield
acf198b28b
Added transform of the eye point into local coordinates to properly account
...
for transforms within the scene graph.
2005-12-19 13:40:32 +00:00
Robert Osfield
df005827de
Improved handling of clamping of projection matrix for scenes with close to zero depth range.
2005-12-18 16:06:17 +00:00
Robert Osfield
c738af1e91
Fixed null matrix op.
2005-12-16 17:01:30 +00:00
Robert Osfield
13e45c98fb
Fixed handling of absolute transforms in IntersectVisitor.
2005-12-16 16:27:17 +00:00
Robert Osfield
4535cc0c09
Added back in Switch::removeChild(Node*)
2005-12-16 11:04:33 +00:00
Robert Osfield
fcff441d5f
Updated wrappers.
2005-12-15 19:38:24 +00:00
Robert Osfield
2815622c35
Improved stats handling, and fixed a couple of stats bugs.
2005-12-15 17:14:40 +00:00
Robert Osfield
72554ca27e
From Jason Beverage, added option to control whether simplification of
...
tiles is done during osgdem builds.
2005-12-15 16:30:31 +00:00
Robert Osfield
6ff781b5b0
Removed Switch::removedChild(Node*) as the Group::removeChild(Node*) implementation
...
should be sufficient, as it calls the virtual removeChild(uint,uint).
2005-12-15 15:50:17 +00:00
Robert Osfield
cc78197fb3
From Paul de Repentigny, ciyple fo fixes for the DXF reader.
2005-12-15 15:36:55 +00:00
Robert Osfield
0347895c96
Fixed typo in comments and onscreen help.
2005-12-09 20:03:04 +00:00
Robert Osfield
7d4acba022
Changed constructors to use unsigned int to get round VS6.0 + wrapper problems.
2005-12-09 16:00:01 +00:00
Robert Osfield
a8d7234a0b
From Eric Wing, added missing removeChildren method.
2005-12-09 11:22:09 +00:00
Robert Osfield
da2adaec06
From Eric Sokolosky, add setting of _cameraRequiresSetUp in constructor to
...
avoid uninitialized variable.
2005-12-09 09:38:46 +00:00
Robert Osfield
3f2c419db6
From Paul Martz, changed Vec3 to Vec3d to ensure that the lazy evaluation of computeBound work properly.
2005-12-08 20:32:06 +00:00
Robert Osfield
a4ea759ce5
From Simon Julier, fixed typo of unknown.
2005-12-08 14:08:09 +00:00
Robert Osfield
60f7607618
Added support for pre and post relative transforms on cameranode.
2005-12-08 11:01:38 +00:00
Robert Osfield
53ee0ce3ec
Added CameraNode::releaseGLObejcts() to help in clean up, and changed the
...
ordering in SceneView::flushDeleteGLObjects() so that fbo's are deleted
before any texture objects they use are deleted.
2005-12-08 10:06:57 +00:00
Robert Osfield
b835ec9ee9
Changed s/getGdalDataset() methods to use void* to avoid introspeciton wrapping problems.
2005-12-08 10:03:39 +00:00
Robert Osfield
27ad107378
Added new Node::getParentalNodePaths() method.
...
Added better handling in computeIntersections(..) of nodes that are internal
to the scene graph, correctly accounting for the accumulated transforms.
Changed the EventVisitor so that it only traveses active children rather than
all children.
Updated wrappers.
2005-12-07 15:29:29 +00:00
Robert Osfield
73cc97f0e1
From Antonoine Hue, a small modification to the osgTerrain::DataSet
...
to be able to pass an already opened GDAL Dataset to the
osgTerrain::DataSet::Source
2005-12-07 15:26:45 +00:00
Robert Osfield
3f3c7b1df8
Added Camera::isRenderToTextureCamera() method, and improved support in PickVisitor
...
and IntersectVisitor for CameraNode, including the ignoring of render to texture cameras,
such that HUD's etc are still intersected against.
2005-12-07 11:36:56 +00:00
Robert Osfield
99be2cdb7f
Moved PickVistor into osgUtil
2005-12-07 10:25:50 +00:00
Robert Osfield
4d658ae1ea
Improved the PickVisitor to make it more flexible and robust.
2005-12-06 21:59:43 +00:00
Robert Osfield
e311cf83d8
Added checks in the drawImplementation to catch when attribute bindings are set on
...
but the relevant arrays remain unset, this prevents previous crash when this
occured.
2005-12-06 11:24:24 +00:00
Robert Osfield
34953f7dec
From Gideon May, fixed typo in docs.
2005-12-06 10:26:48 +00:00
Robert Osfield
22d5390784
From Louis Hamilton, fix to LightPoint's under 64 bit build, changing longs to ints in
...
colour conversion code.
2005-12-06 10:16:21 +00:00
Robert Osfield
6971588592
Changed debug message to INFO.
2005-12-05 20:11:50 +00:00
Robert Osfield
e1454d22a7
Attempt at build fixes for IRIX.
2005-12-05 10:24:02 +00:00
Robert Osfield
197b68ecb8
Removed the closeLibraries call from the registry singleton desctuction.
2005-12-05 10:23:37 +00:00
Robert Osfield
b16f40e5ab
Moved the body of the getNumPrimitives() into the .cpp.
2005-12-03 00:03:31 +00:00
Robert Osfield
fcdf5826db
Added a static_cast<std::streampos> to get round IRIX64 build problem.
2005-12-02 09:57:19 +00:00
Robert Osfield
8d8229cc05
From Marco Jez, hack/fix for VS compile/link problems related to STL containers.
2005-12-02 00:25:40 +00:00
Robert Osfield
066760738b
From Ali Botorabi, fixed the setDefault() fallback to properly handle the case
...
when no scene view light is requested.
2005-12-01 14:37:15 +00:00
Robert Osfield
b324156ec8
From Thom DeCarlo, build fix for Cygwin.
2005-12-01 13:38:27 +00:00
Robert Osfield
65f63428e5
From Geoff Michel, fixed the handling of zfar values of 0.0.
2005-12-01 13:19:16 +00:00
Robert Osfield
f3f86973a0
Added default opening of the file as a binary file, and once the type is
...
confirmed then close and reopen as an ascii as required. This is done to get
round problems under Windows.
Also made the running of the SmoothingVisitor optional, now use -O smooth to
make the loader run the osgUtil::SmoothingVisitor over the model.
2005-11-29 18:38:40 +00:00
Robert Osfield
eb51a53919
Added CameraBarrierCallback so that multi-thread multi-cameras are synconized
...
correctly when do stats collection.
2005-11-29 12:09:45 +00:00
Robert Osfield
2ce7718a66
From Eric Wing, fixes for "warning: converting of negative value '-0x00000000000000001' to 'unsigned int'"
2005-11-29 11:39:07 +00:00
Robert Osfield
06cb8c030f
Added temporary ref_ptr<osg::Image> to prevent the _image going out of scope
...
due to another thread complete the texture::apply() while the present texture::apply()
is still running.
2005-11-28 20:08:36 +00:00
Robert Osfield
0663c3b653
From John Donovan, typo fixes.
2005-11-25 19:18:12 +00:00
Robert Osfield
daefa1cae6
Added releaseGLObjects to PrimitiveSet.
2005-11-25 12:31:04 +00:00
Robert Osfield
736a8433ca
Added FBO deletion support, and better FBO querry and fallback mechansim in RenderStage.
2005-11-24 15:18:12 +00:00
Robert Osfield
b5a5cd7901
Changed the default value of Texture::_resizeNonPowerOfTwoHint to true, to
...
improve the backwards compatibility of peformance on systems that have OpenGL2.0
drivers but without hardware that can't handle non power of two textures.
2005-11-24 10:28:09 +00:00
Robert Osfield
83f43b37e6
Added automatic setting of thread safe reference counting when multi-threaded
...
cameras are used.
2005-11-24 10:14:05 +00:00
Robert Osfield
e1dd759dd8
Changed CameraNode::getDataChangeMutex() to be a pointer rather than a reference to
...
get around osgIntrospeciton build problem with the OpenThreads::Mutex copy constructor being private.
2005-11-23 16:32:55 +00:00
Robert Osfield
4ca3a4fd45
Changed the linux implement of getGLExtensionFuncPtr to querry for glXGetProcAddressARB
...
and then use this if its available, otherwise fallback to the original dlsym usage.
2005-11-23 15:25:56 +00:00
Robert Osfield
74830f9ce1
Added multi-buffering of the CameraNode::_renderingCache to help cope with multiple graphis context usages.
2005-11-23 13:44:27 +00:00
Robert Osfield
a91b8fa40a
Moved getGLExtensionFuncPtr implementation into the .cpp to make it easier to
...
change it implementation without forcing a complete recompile.
2005-11-23 10:16:25 +00:00
Robert Osfield
42e79f93d2
From Marco Jez, typo fix if GL extension name.
2005-11-23 10:15:11 +00:00
Robert Osfield
f78a37be9c
Simplified the TangentSpaceGenerator so that is automatically converts any models
...
with indices to one without indices and then runs the tangent space generation code on the result.
2005-11-22 21:14:26 +00:00
Robert Osfield
33f4494830
Added missing dirtyDisplayList call into osg::Geometry::set calls.
2005-11-22 13:56:50 +00:00
Robert Osfield
f77b38ae9c
Added DatabasePager::s/getDrawablePolicy() to allow the way that the display list/VBO settings
...
are applied to loaded databases.
2005-11-22 13:14:00 +00:00
Robert Osfield
85b3c4b179
Added check against LODScale being zero, and fixed the search for the maximum
...
LOD range in the pixel size range fallback.
2005-11-22 10:26:27 +00:00
Robert Osfield
611e49b736
From Chris Hanson, add LODScale support to pixel based LOD range selection.
2005-11-22 10:08:00 +00:00
Robert Osfield
26e77fc92f
From Jason Daly, (with small tweak by Robert Osfield) fix for Prorgram::removeShader(Shader*)
...
so that it properly remove the shader and its entry in the _shaderList.
2005-11-22 09:57:32 +00:00
Robert Osfield
a44f0cf25a
From Eric Wing, warning fixes for gcc4.0/OSX.
2005-11-22 09:51:02 +00:00
Robert Osfield
8289eecb7e
From Roger James, reworked the export of std::vector<> on standard types to prevent
...
problems with .lib being built for all targets under VS7.x
2005-11-21 13:51:24 +00:00
Robert Osfield
8dd631f4ec
Replaced asserts with notification of error.
2005-11-20 22:07:43 +00:00
Robert Osfield
cb40a7361f
From Donn Mielcarek, added support Materials being declared globally.
2005-11-20 22:06:16 +00:00
Robert Osfield
d0c9ef1e14
Added the ability for osgParticle::ParticleEffect to switch off the automatic setup.
...
Normally the automatic setup is useful, but in the case of the .osg support this automatic
update was forcing premature loading of imagery that wasn't necessarily, and can lead to
reports of looking for files that arn't present.
2005-11-18 17:04:55 +00:00
Robert Osfield
b0869a6f60
Added s/getCenter and s/getRotation methods, and updated wrapper.
2005-11-18 15:00:34 +00:00
Robert Osfield
65244321b4
The OpenFlight plugin was crashing with pre 15.6 .flt files that contained
...
light points. This was due to the mismatch is size and fiels in the LightPointRecord
before 15.6 and after it, the OSG's flt plugin was assuming just 15.6 record
structure. As a temporary solution I have disabled the processing of light point
records on .flt file version before 15.6, this allows these files to be loaded
safely, but without light points.
2005-11-18 14:46:38 +00:00
Robert Osfield
7b117ada29
From Andrew Reyonolds : changed the endian conversion code to work on a temporary
...
rather then on a flt structure to prevent repeated conversion of the same value,
something that led to eroneously large light point string sizes.
2005-11-18 10:03:11 +00:00
Robert Osfield
39db6b28b3
Updated wrappers.
2005-11-17 17:45:04 +00:00
Robert Osfield
d3541b96ed
Replaced tabs with spaces.
2005-11-17 15:03:51 +00:00
Robert Osfield
0e16b64665
Coverted tabs to space in core libraries.
2005-11-17 13:35:53 +00:00
Robert Osfield
168225ebaf
From Toshiyuki Takahei, fixed order intialiation problem in Viewer::selectCameraManipulator(..).
2005-11-17 11:27:25 +00:00
Robert Osfield
b15b677cc3
From Mikkel Gjøl, addition of paramter set/get methods to osgGA::*Manipulators,
...
change of ' ' to GUIEventAdapter::KEY_Space, fix to url in Matrix_implementation.cpp.
Syntax fixes by Robert Osfield to above submission fix inconsistencies with normal
OSG coding style.
2005-11-17 11:03:20 +00:00
Robert Osfield
19c1863432
Added (_data || rhs._data) extra qualify to Image::compare is data equal test.
2005-11-17 09:20:58 +00:00
Robert Osfield
7f19c7833e
Removed redundent copyop.
2005-11-16 21:08:16 +00:00
Robert Osfield
9415f669e8
Converted remaining osg::Matrix usage to osg::Matrixd.
2005-11-16 16:30:51 +00:00
Robert Osfield
2d33e6f2ad
From Mike Weiblen, support for ARB_texture_rectangle extension name.
2005-11-16 09:28:09 +00:00
Robert Osfield
5cd39a3119
Did a unix2dos and trimmed end of file of rendundent newlines.
2005-11-15 22:14:50 +00:00
Robert Osfield
47fcfa4cc5
From Eric Wing, compile fixes.
2005-11-15 21:47:24 +00:00
Robert Osfield
4e580f46cf
From Gideon May, "I've added an alias for the new mpeg 4 format used by quicktime and
...
podcasts."
2005-11-15 21:24:35 +00:00
Robert Osfield
76f7f77883
Added catch of erase of the last element of heap.
2005-11-15 14:25:03 +00:00
Robert Osfield
71e202cb38
Warning fixes.
2005-11-15 11:39:48 +00:00
Robert Osfield
8306efddf8
Warning fix.
2005-11-15 11:23:44 +00:00
Robert Osfield
6268001c66
Warning fix.
2005-11-15 08:43:24 +00:00
Robert Osfield
44b38986d3
Fixed warnings in geo plugin
2005-11-14 12:49:05 +00:00
Robert Osfield
48b69d5b13
From Toshiyuki Takehei, typo fix of getTrackerMode().
2005-11-14 11:08:16 +00:00
Robert Osfield
9d8fd69fa9
Change the KeySwitchMatrixManipulator so that it two sets of getMatrixManipulator
...
methods, two that takes an index,two that takes a key value. Updated the ViewEventHandler
so the it now uses the getMatrixManipulatorWithIndex() method to avoid previous ambiguity.
2005-11-14 11:00:36 +00:00
Robert Osfield
e8aeca1418
From Geoff Michel, geo plugin updated to for latest updates in .geo format.
2005-11-12 21:29:59 +00:00
Robert Osfield
35e50365da
Added support for ConnectedParticleSystem.
2005-11-12 13:38:32 +00:00
Robert Osfield
ae75981e36
Added .osg support for osgParticle::SmokeTrailEffect
2005-11-12 13:27:49 +00:00
Robert Osfield
0ec0327b96
Added scene stats support to osgProducer::ViewerEventHandler.
2005-11-11 17:00:36 +00:00
Robert Osfield
e5685bc1ac
Added s/getMaxNumOfTextureUnits control to osgGA::StateSetManipulator, and set the default to 4.
2005-11-11 14:22:57 +00:00
Robert Osfield
91f5b9b04e
Fixes for VS6.0 build.
2005-11-11 12:45:59 +00:00
Robert Osfield
435e4b828c
Fixes for dumb VS6.0 compiler
2005-11-10 19:32:37 +00:00
Robert Osfield
cee8424c0f
Compile fixes for VS6.0.
2005-11-10 17:24:41 +00:00
Robert Osfield
86893a507f
Updated wrappers
2005-11-10 15:27:49 +00:00
Robert Osfield
c2f1527fe0
Added better control for cancel GraphicsThreads.
2005-11-10 15:25:06 +00:00
Robert Osfield
afab32079e
Fixed typo of CoordinateSystem.
2005-11-10 11:56:18 +00:00
Robert Osfield
e8d6df7583
Addd OsgSceneHandler::s/getCleanUpOnNextFrame() and support for it in the draw() method,
...
when CleanUpOnNextFrame is enabled the next frame simple deleted OpenGL objects without doing any draw traversal.
2005-11-10 11:39:01 +00:00
Robert Osfield
e9c25115fb
Added checks against the values returned from dynamic_cast<>'s.
2005-11-10 10:29:56 +00:00
Robert Osfield
20d9c3c3c4
Compile fixes for VS7.1
2005-11-10 09:42:34 +00:00
Robert Osfield
0db6554d61
Updated wrappers
2005-11-09 20:30:47 +00:00
Robert Osfield
26c911acf3
Added a s/getState() to osgTerrain::DataSet to allow better integration with applications.
2005-11-09 20:24:47 +00:00
Robert Osfield
73f7a68dbe
Added writing of commandline options in getFormatedString when there is no description string.
2005-11-09 17:19:34 +00:00
Robert Osfield
cb19d14d45
Updated wrappers.
2005-11-09 15:14:15 +00:00
Robert Osfield
83d492162e
Added the support in AnimationPathCallback for taking a pivot, axis and rotation rate
...
paramters in its constructor to allow it to be used to create rotations around a point.
This provides the same interface and functionality as osgUtil::TransformCallback but
has the advantage and AnimationPathCallback is fully supported by the .osg and .ive file formats.
2005-11-09 15:11:22 +00:00
Robert Osfield
e555f0332b
Added a test of isRealized to requestWrapPointer to prevent a deadlock condition occur when a wap pointer is done before a window is realized.
2005-11-09 13:26:11 +00:00
Robert Osfield
258425d649
Bumped the version numbers up to 1.0 in preparation for 1.0-rc1.
2005-11-09 10:49:56 +00:00
Robert Osfield
6c70812928
Fixed warnings.
2005-11-09 10:41:52 +00:00
Robert Osfield
af83527622
Updated the bin number to be 100 for the logo overlay to force it to draw later.
2005-11-09 09:30:16 +00:00
Robert Osfield
a70768b6e9
Added .ive support for osg::Texture SourceFormat and SourceType
2005-11-08 16:41:34 +00:00
Robert Osfield
da7f5e7e60
Added support for SourceType and SourceFormat to .osg.
2005-11-08 16:22:33 +00:00
Robert Osfield
06ec728b84
Updated wrappers.
2005-11-08 16:02:09 +00:00
Robert Osfield
53e075f78b
From Brad Colbert/Robert Osfield: added s/getSourceFormat and s/getSourceType to osg::Texture
...
along with support for this Texture1D, 2D, 3D, TextureCubeMap and TextureRectangle. The
new SourceFormat and SourceType parameters are only used when no osg::Image is assigned to
an osg::Texture, and main use is for render to texture effects.
Added support for --hdr option in osgprerender, which utilises the new Texture::setSourceFormat/Type() methods.
2005-11-08 15:52:21 +00:00
Robert Osfield
8922bde081
Updated wrappers
2005-11-08 14:03:00 +00:00
Robert Osfield
6ed9cb40cc
From Colin McDonald, fixed image size calculation in getTotalSizeInBytesIncludingMipmaps(),
...
added checks on success of opening files for writing in the .ive plugin.
2005-11-08 13:51:28 +00:00
Robert Osfield
857b3e03c3
Added sorting and clearing of pre and post RenderStages stored in RenderStage,
...
and added some debugging comments which are currently commented out from compilation -
these are left in just in case future debug work requires them.
2005-11-08 11:46:52 +00:00
Robert Osfield
d3b1ee6b57
Changed the occluder traversal so that checks the children of the SceneView's Cameara
...
rather than starting at the camera itself.
2005-11-08 09:36:42 +00:00
Robert Osfield
5e40ca9c86
Improved the handling of CameraNode and viewers with projection matrices
...
contained NaN's.
2005-11-07 16:48:45 +00:00
Robert Osfield
18c916de1a
From Bob Kuehne, proper c++ cast instead of c-cast for ApplicationUsage
2005-11-07 15:46:05 +00:00
Robert Osfield
16801f82e0
From Steve Lunsford, added psuedo event dispatch to init within selectCameraManipulator
...
to force the new minpulator to update correctly.
2005-11-07 15:43:29 +00:00
Robert Osfield
31ec432e06
From David Spilling, added "noRotation" ReaderWriter::Option into the .obj plugin
...
to enable disabling of the automatic rotation from Y up coordinate frame to Z up coordinate frame.
2005-11-07 14:42:36 +00:00
Robert Osfield
b2f5a48c15
From Marco Jez, Added an unregister of the GraphicsContextImplement on unload.
2005-11-07 13:54:25 +00:00
Robert Osfield
a3f42b480c
From David Spilling, fix for typo of OVERRIDE.
2005-11-07 12:41:32 +00:00
Robert Osfield
efd96108fb
From Gideon May, compile fixes for OSX.
2005-11-07 11:14:23 +00:00
Robert Osfield
4ea3956fda
From Norman Vine, "Cygwin uses unix style path separators"
2005-11-07 11:09:59 +00:00
Robert Osfield
2773d45f2a
From Wang Lam,"The changes allow users of OpenSceneGraph to call a new function
...
readFontStream() to load fonts from a std::istream, rather than from the
local filesystem by name. Such a call may be used, for example, if the
user has a font fetched over a network, or a font available in memory
without a correspondng filename.
The changes implement the new function by following the corresponding code
for readFontFile(). readFontStream() reads a stream into memory, and
holds that memory for FreeType.
As a basic test, I mangled the osgtext example to use
readFontStream(std::ifstream("font")) in lieu of a readFontFile call, and
the modified example ran completely."
2005-11-07 11:05:16 +00:00
Robert Osfield
9bfc6ead94
Added extra debugging checks on FBO's
2005-11-04 19:00:49 +00:00
Robert Osfield
4915259878
Improved support for texture subload/render to texture in various Texture classes
...
and RenderStage.
2005-11-04 12:08:16 +00:00
Robert Osfield
89b0ef09a8
Improvements to CameraNode IO support, now handles render to texture.
2005-11-03 21:35:45 +00:00
Robert Osfield
06e8ee3646
Changed the CameraNode read/write code to use Transform as its parent.
2005-11-03 19:20:04 +00:00
Robert Osfield
e7ac09153a
Removed debugging message
2005-11-03 17:12:49 +00:00
Robert Osfield
40ef0bbdff
Further work on osg::CameraNode support.
2005-11-03 17:08:40 +00:00
Robert Osfield
fb2d3ae108
Further work on added IO support from CameraNode.
2005-11-03 15:59:17 +00:00
Robert Osfield
9d9d6c5a12
Completed osg::CameraView support in .osg and .ive formats.
2005-11-03 12:25:25 +00:00
Robert Osfield
7c612fb1d9
Added env var docs on OSG_MAX_TEXTURE_SIZE
2005-11-03 10:59:22 +00:00
Robert Osfield
e183c79f08
Updated wrappers
2005-11-03 10:18:19 +00:00
Robert Osfield
6562aa4f5f
Added initial CameraNode and CameraView stups for the .ive loader
2005-11-03 10:16:38 +00:00
Robert Osfield
eb28f9f587
From Eric Sokolowsky, added writeEnvironmentSettings to help report what OSG
...
centric environment variables are used.
2005-11-03 10:01:09 +00:00
Robert Osfield
4c13328d98
Added CameraNode.cpp and CameraView.cpp
2005-11-03 09:03:46 +00:00
Robert Osfield
5dee96c14f
Inital work on adding .osg support for CameraNode and CameraView.
2005-11-02 19:52:58 +00:00
Robert Osfield
511dda8525
Updated wrappers.
2005-11-02 19:35:35 +00:00
Robert Osfield
f3cfe97da9
Added support in DisplaySettings and OscCameraGroup for requesting accumulator buffer.
2005-11-02 19:15:18 +00:00
Robert Osfield
df2299cb50
From Alan Ott, added support for palletted imagery.
2005-11-02 16:20:55 +00:00
Robert Osfield
b0df518d11
Added handling of CameraNode into PickVisitor in src/osgProducer/Viewer.cpp. This
...
is unlikely to be the final solution, but does at least fix part of the problem of handling
picking HUD's underneath CameraNodes.
2005-11-02 15:23:54 +00:00
Robert Osfield
6c31d05172
Added a setSupportsDisplayList(false) to constructor to prevent end users
...
enabling display lists, something that can break the osgText's managment
of state.
2005-11-02 12:22:12 +00:00
Robert Osfield
b0d19b0b66
From Farshid Lashkari, "I need the ability to check for a font file without actually loading
...
the font object. I've modified font.h/cpp of osgText so that it
exports the findFontFile function."
2005-11-02 10:57:42 +00:00
Robert Osfield
ddd609e37b
From Marco Jez, commented out debuggin message.
2005-11-02 10:55:20 +00:00
Robert Osfield
781f6d3cec
From Colin McDonald, "Fixes for some duplicate global symbol definitions in the plugins,
...
which cause errors when creating a statically linked executable."
2005-11-02 10:29:38 +00:00
Robert Osfield
44d0e90f92
Changed the error number reporting to be reported as hex.
2005-11-01 20:16:31 +00:00
Robert Osfield
2584d43393
Removed the double call to the camera post draw callback.
2005-11-01 19:31:30 +00:00
Robert Osfield
e23176c3b6
Set the draw and read buffer to GL_NONE when using FBO's, thereby avoid
...
invalid enumrates being generated.
2005-11-01 15:39:26 +00:00
Robert Osfield
4509232792
Improved handling of osg::Image copying.
2005-11-01 15:23:03 +00:00
Robert Osfield
a4275fb8d7
From Brad Colbert, Added checking for a NULL return string rom gluErrorString (with slight reformating of this by Robert Osfield.)
2005-11-01 11:18:40 +00:00
Robert Osfield
e47d56ba88
Updated wrappers
2005-11-01 11:00:07 +00:00
Robert Osfield
a742cb682e
Added RenderTargetFallback option into osg::CameraNode.
2005-11-01 10:42:54 +00:00
Robert Osfield
030fe7d9ea
From Steve Lunsford, "Attached is a copy of TXPNode.cpp with the repaired computeBounds call. I
...
discovered that TXPNodes were being culled out prematurely because the
loaded sub-tiles resulted in a computed bounds that was smaller than the
extents indicated in the archive. I think this fix should be fine. I can't
think of any reason why we would want to use anything other than the archive
extents."
2005-10-31 16:40:23 +00:00
Robert Osfield
b704045e6c
Added default setting of _threading_model to ThreadPerCamera when multiple cameras
...
are present, and SingleThreaded when a single camera is being used.
2005-10-31 14:48:11 +00:00
Robert Osfield
b61a8a6603
From Brede Johansen, "some tweaks to the osgSim lightpoints.
...
- The first change is to start fadeing a lightpoint just before the
maximum distance of a light is reached.
- The second change is to start fading a lightpoint when pixelSize is
less than _minPixelSize instead of 1.0."
2005-10-31 11:43:54 +00:00
Robert Osfield
c4ae277893
Updated wrappers.
2005-10-29 11:29:58 +00:00
Robert Osfield
79a7f8c729
Added catch for NULL return from glGetString( GL_VERSION );
2005-10-29 10:04:35 +00:00
Robert Osfield
d1de669f03
Updated wrappers.
2005-10-29 09:52:56 +00:00
Robert Osfield
0956f3cdb4
From Marco Jez, Fix for the class name lookup in osgDB::Registry::writeObject(), which can silently fail when a NodeKit's class (for example osgNVCg::Program) has the same name as that of an OSG's class (for example osg::Program).
2005-10-28 18:39:14 +00:00
Robert Osfield
578530d0b4
Fixed env var docs for sharing graphics contexts.
2005-10-28 18:37:15 +00:00
Robert Osfield
fa5ab64c94
From Ravi Mathur, "Here is an update to BlendEquation that adds checking for the
...
SGIX_blend_alpha_minmax and EXT_blend_logic_op extensions. It is
tested with the osgblendequation example. If the extensions are not
supported, a WARN level notification is generated."
2005-10-28 13:18:09 +00:00
Robert Osfield
ab1bd48511
Moved SceneView across to use an osg::CameraNode to store the projection and view matrices,
...
the viewport, the clear colour and the subgraph needing rendered. This is done
transparently so all existing functionality will behave as before. What it does
add is the ability to set a SceneView directly by a single osg::CameraNode when required.
2005-10-28 13:11:56 +00:00
Robert Osfield
3e3d16a99d
Changed debug message from NOTICE to INFO level of notification
2005-10-28 10:33:11 +00:00
Robert Osfield
669bd46d97
Updated wrappers.
2005-10-28 09:20:21 +00:00
Robert Osfield
96a88f968a
Added error message to report when too many line segments are added to an IntersectVisitor.
2005-10-27 11:11:02 +00:00
Robert Osfield
d2487e73e5
Added support for tracking the directory of the output file whilst still maintaining
...
local file references within this directory.
2005-10-27 10:48:44 +00:00
Robert Osfield
e66fd1dc70
Changed the minimum tile image size to be 4x4 to avoid problems in mipmap generation
...
that was occuring at sizes of 2x2, seemingly somewhere in the OpenGL driver.
2005-10-26 20:00:10 +00:00
Robert Osfield
be07f48884
From Geoff Michel, compile fixes for VS6.0
2005-10-26 09:22:13 +00:00
Robert Osfield
9c51a3db8d
Updated wrappers
2005-10-25 18:34:46 +00:00
Robert Osfield
1b26232f71
Added command line support for the interlaced stereo modes.
2005-10-25 15:49:48 +00:00
Robert Osfield
f46044084a
From Farshid Lashkari & Robert Osfield: Added support for VERTICAL_INTERLACE and HORIZONTAL_INTERLACE
...
stereo modes use the stencil buffer.
2005-10-25 15:43:04 +00:00
Robert Osfield
e14262df85
Updated wrappers.
2005-10-25 14:01:50 +00:00
Robert Osfield
598dda59f5
From Geoff Michel, added support for constrain delaunay triangultion, and osgdelaunay example.
2005-10-25 13:28:48 +00:00
Robert Osfield
2b2ca82b5a
Added check against glGetString(GL_VERSION) returning NULL.
2005-10-25 13:24:39 +00:00
Robert Osfield
032b7484d4
From Markus Trenkwalder, added meanigful return types in
...
Registry::read(const ReadFunctor& readFunctor) for ERROR_IN_READING_FILE and
FILE_NOT_FOUND cases.
2005-10-25 09:54:15 +00:00
Robert Osfield
280f50b3d9
From Don Tidrow, removed unncessary includes.
2005-10-25 09:43:37 +00:00
Robert Osfield
285418d6f8
From Brede Johansen, changed osg_InverseViewMatrix to osg_ViewMatrixInverse to bring
...
into line with OpenGL shader languague conventions.
From Robert Osfield, changed the SceneView::ActiveUnforms enum to from INVERSE_VIEW_MATRIX_UNIFORM
VIEW_MATRIX_INVERSE_UNIFORM to be convistent with the above change.
2005-10-25 09:23:21 +00:00
Robert Osfield
758ee8ed80
Changes to fix divide by 0 warning under VS.
2005-10-24 18:51:36 +00:00
Robert Osfield
51f74bd37a
Updated wrappers.
2005-10-24 13:49:19 +00:00
Robert Osfield
fe1536ebd6
Fixed compile warnings.
2005-10-24 13:46:31 +00:00
Robert Osfield
5374ddaccb
From Mike Weiblen, "some fixes for OSG_OPTIMIZER envar parsing and help display"
2005-10-24 11:46:51 +00:00
Robert Osfield
a76ae5e830
From Tony Horrobin:
...
"This is a small fix for flt2osg.[cpp|h] that handles
old style road segments ( from Multigen II w/road
tools on IRIX ) in the same way as the newer road
constructions. ie create a group and do a nested
traversal.
This makes roads appear in older format files where
there was previously a gap. This actually works
properly with the paths which are marked as hidden in
the openflight database."
2005-10-24 11:37:03 +00:00
Robert Osfield
f7bd1fc456
From Don Tidrow, "I discovered that externally-referenced models in the TXP format didn't
...
get positioned correctly when the TXP database was built using the
'tile-offset' mode. I've included a tarball with what I believe are the
needed changes - they work for the sample databases I have available,
but not all conditions have been tested. I've set things up such that
these changes shouldn't affect 'normal' txp databases."
2005-10-24 11:34:12 +00:00
Robert Osfield
b5085b7799
Warning fixes for Win32 build.
2005-10-24 11:25:20 +00:00
Robert Osfield
7b1b3b6ace
Added copyright notices.
2005-10-24 10:53:01 +00:00
Robert Osfield
f2f6e6bb45
Added beginnings of Programming Guide, and NodeTrackerCallback.
2005-10-24 10:51:50 +00:00
Robert Osfield
89f6753492
From Farshid Lashkari, compile fix for VS 2002.
2005-10-14 21:40:03 +00:00
Robert Osfield
a312b0451e
From Farshid Laskari, changed the compute of the text bounding box to include the spaces.
2005-10-14 09:29:13 +00:00
Robert Osfield
fb524952b6
Renamed osgUtil::RenderGraph to osgUtil::StateGraph
2005-10-13 12:51:00 +00:00
Robert Osfield
5f3ec7dbcb
Updated wrappers.
2005-10-13 08:18:12 +00:00
Robert Osfield
1e508d432b
Added SmokeTrailEffect which renders created particles as single quad or line
...
strip, in the case of the quad strip the strip is aligned to the be orthogonal with
the eye point.
2005-10-12 18:42:36 +00:00
Robert Osfield
540e676dae
Added new shell of new class ConnectedParticleSystem, which will be used
...
for managing connect particle system for the purpose of doing missile trails etc.
2005-10-11 09:47:28 +00:00
Robert Osfield
34dd065d66
Added into CVS missing PolgonMode files.
2005-10-07 07:46:48 +00:00
Robert Osfield
808511468b
From Brede Johansen, added support for PolygonMode into .ive format.
2005-10-06 15:43:29 +00:00
Robert Osfield
449333b5d3
Changed the fallback code to use the result form the realize() call, removed
...
the code path from running a PBuffer as a seperate graphics context (this
was found to be slower than running single threaded so its not worth the
extra complexity).
2005-10-06 15:41:47 +00:00
Robert Osfield
3bf7cba453
Added env var reporting for the OSG_CAMERA_THREADING and OSG_SHARE_GRAPHICS_CONTEXTS env vars.
2005-10-06 13:31:23 +00:00
Robert Osfield
1a152afda0
Added catch for disabling ThreadPerCamera when contexts are shared.
2005-10-06 13:20:08 +00:00
Robert Osfield
a380a49509
Improved the fallback mechanism from FBO, down to PBuffer_RTT down to PBuffer down to frame buffer.
2005-10-06 11:26:07 +00:00
Robert Osfield
5cb66efc86
Moved the testing and setting up of FBO/Pbuffer extension from CullVisitor to
...
support into RenderStage to allow better fallback implementations.
2005-10-05 16:21:51 +00:00
Robert Osfield
4b43b22c5a
Added support for CameraView into NodeVistor, and support for CameraNode and CameraView
...
into the AnimationPathCallback so you can now animate both via animation paths.
2005-10-05 09:48:53 +00:00
Robert Osfield
cf2974329f
Added code paths for PBuffer RTT support.
2005-10-04 18:50:00 +00:00
Robert Osfield
8e9ffd09af
Added osg::CameraView to help application/modellers position their cameras in scenes. Note,
...
CameraView is *not* a camera, it isn't an active object, but a passive one that
camera must track each frame to following the path of the CameraView.
2005-10-04 13:41:20 +00:00
Robert Osfield
ff9ace16b4
From Keith Steffen, fixed bug in StateSet::clear() where parents of texture attributes
...
where not being reset correctly due to incorrect ordering of _textureAttributeList.clear().
2005-10-03 19:37:54 +00:00
Robert Osfield
436521e205
Added a couple of (double) casts for VS7 build.
2005-10-03 19:24:12 +00:00
Robert Osfield
ef093bd5e5
Added closing of loops.
2005-10-03 19:18:53 +00:00
Robert Osfield
ba5c7cdc91
Added fusing of ends of lines
2005-10-03 16:13:26 +00:00
Robert Osfield
550bb4b74e
Improved handling of convex azim ranges.
2005-10-03 13:19:03 +00:00
Robert Osfield
e2f2960704
Added a dirtyDisplayList() to the setColor() and setTesselationHint() methods.
2005-10-01 19:27:52 +00:00
Robert Osfield
024b43b017
Adding handling of case of convex azimuth side ways of sphere segment.
2005-10-01 12:23:10 +00:00
Robert Osfield
06401ba129
Changed the line intersection algorithm to computer full line intersections then
...
trim down to size by intersecting with the sphere segmenet sufaces
2005-09-30 19:36:22 +00:00
Robert Osfield
913dccc14c
Fix to intersection code.
2005-09-29 15:55:55 +00:00
Robert Osfield
e18cb598e6
Updated wrappers.
2005-09-29 13:07:26 +00:00
Robert Osfield
7ac71b939f
Added setOverlayClearColor and setTexEnvMode and automatic set up of TexEnv.
2005-09-29 10:22:06 +00:00
Robert Osfield
76058f747c
From Marco Jez, added fallback to TextureCubeMap subloading that calls load
...
when mipmaps are required, but non are present.
2005-09-29 09:49:20 +00:00
Robert Osfield
d82d598115
Fixed typo of CameraNode::setRenderTargetImplementation(..)
2005-09-29 09:36:51 +00:00
Robert Osfield
b38f491c12
From Volker Walkiewicz (with tweaks from Robert Osfield):
...
Fix to the update of the error metrics on the edges in the simplification mesh that are affected by an edge collapse.
Addition of 'n' and 'p' keyboard control in osgsimplifier example to allow users to control the sample ratio manually.
2005-09-28 16:05:35 +00:00
Robert Osfield
52dea86a3e
From A. Botorabi, "slightly modified osgUtil's TangentSpaceGenerator class to allow the
...
option for using or not using geom's indices for tangent space vectors
generation. now, Ruben's code is also used (it was disabled before). in
order to keep backward compatibility, the compute method behaves as before
in default case."
2005-09-28 13:53:54 +00:00
Robert Osfield
b5c4605d1c
From Joran Jessurun, added font search fallbck that strips the leading path from the font file and then looks again.
2005-09-28 13:39:26 +00:00
Robert Osfield
05528abf25
From Chris Hanson:
...
Spelling fixes in include/osg/LOD
Negated priority in PagedLOD when using _rangeMode==PIXEL_SIZE_ON_SCREEN
Added clampedPixelSize() methods to CullStack and CullingSet to return fabs()ed values.
Changed LOD and PagedLOD ::traverse to use clampedPixelSize() methods.
2005-09-28 13:33:58 +00:00
Robert Osfield
2092016c7b
From Don Tidrow, Added support for locally referenced origins.
2005-09-27 14:48:09 +00:00
Robert Osfield
600349dce8
Various improvements to the sphere segment intersection code.
2005-09-27 12:15:40 +00:00
Robert Osfield
5731ea2352
Set the defaul clear colour to 0,0,0,0.
2005-09-26 11:24:37 +00:00
Robert Osfield
0fb2e7adc0
From Mike Weiblen, fixes from VS 7.1 build.
2005-09-25 20:41:56 +00:00
Don BURNS
e17ac7a8d9
Brede's changes for limited morphed vertex support. These changes allow
...
a model with morphed vertecies to load correctly with LOD switches, but
does not implement the vertex morphing.
2005-09-24 16:11:55 +00:00