Robert Osfield
eff37b0fdf
Warning fix
2006-07-04 10:52:16 +00:00
Robert Osfield
62ecea541d
From Ulrich Hertlein, updates to DirectX loader
2006-07-04 09:13:15 +00:00
Robert Osfield
5e9076ec10
From Brede Johansen, set the default value of texture wrap mode to REPEAT to fix problem
...
with database without .attr files.
2006-07-03 20:28:26 +00:00
Robert Osfield
e4dea2b8c4
Fixed a couple of warnings.
2006-07-03 16:31:30 +00:00
Robert Osfield
70391108fd
Fixed orientation and lighting of model.
2006-07-03 16:21:57 +00:00
Robert Osfield
07ac167fa8
Added merge geodes and geometries optimizer call
2006-07-03 10:47:16 +00:00
Robert Osfield
c90e35038a
From Eric Sokolowski, "Added the ability to read and write images directly in the ive plugin,
...
through the osgDB::readImageFile and osgDB::writeImageFile functions.
This is useful for storing compressed textures on disk for rapid playback
for animations."
2006-07-03 09:26:12 +00:00
Robert Osfield
e7d04408d3
From Michael Platings, added support for blend seperates to .ive and .osg
2006-07-03 09:22:11 +00:00
Robert Osfield
8b445af79b
Updated wrappers.
2006-06-30 13:50:32 +00:00
Robert Osfield
f181228d4a
From Michael Platings, added support for glBlendFuncSeperate.
2006-06-30 13:50:02 +00:00
Robert Osfield
6a2387373c
From Eric Sokolowsky, made a couple of methods static.
2006-06-30 13:47:12 +00:00
Robert Osfield
4ce0d8af64
From David Callu, compile fix for gcc 4.1
2006-06-29 19:38:07 +00:00
Robert Osfield
30265ac0b3
Added support for RenderBin's have a local top level StateSet. This is now
...
used by default in the depth sorted bin.
2006-06-29 15:57:24 +00:00
Robert Osfield
2b293df713
Updated wrappers.
2006-06-29 11:00:08 +00:00
Robert Osfield
ee72373bfa
Updated wrappers
2006-06-29 10:19:44 +00:00
Robert Osfield
a6fbb7a044
Changed _WIN32 to _MSC_VER
2006-06-29 10:17:19 +00:00
Robert Osfield
459f147da7
From Eric Wing, updates to QuickTime plugin
2006-06-29 10:06:27 +00:00
Robert Osfield
e12c6b7902
Form Brede Johansen, move from istrstream to istringstream.
...
From Robert Osfield, remapped Paul Martz's changes to Pools.h and PaletteRecords.cpp w.r.t texturePatternIndex being a in16, and converted a char* string to a std::string.
2006-06-29 09:34:41 +00:00
Robert Osfield
e0258f23b3
Changed unsinged int to GLuint for OSX compile fix.
2006-06-29 08:08:39 +00:00
Robert Osfield
17e51e73c4
Changed unsigned int to GLuint for OSX build.
2006-06-28 20:38:32 +00:00
Robert Osfield
4dff461b1c
Change internal variables across to being GLuint.
2006-06-28 14:36:28 +00:00
Robert Osfield
c3548195f7
Made the new OpenFlight plugin the default.
2006-06-28 10:22:04 +00:00
Robert Osfield
5acd4f3be1
From Martin Naylor, build fix for windows.
2006-06-28 07:17:56 +00:00
Robert Osfield
95d29db7c5
Removed old #include <vector.h> entries.
2006-06-28 07:14:39 +00:00
Robert Osfield
03af6871ab
Added setting of the CameraConfig:TheradModelDirective
2006-06-27 20:13:41 +00:00
Robert Osfield
710adfd698
From Eric Wing, added support for outline/shadow and colour gradient effects.
2006-06-27 13:09:00 +00:00
Robert Osfield
c71fc9fcb6
From Stephan Huber, remove Platform specific handling of multi-sample setup as its
...
now supported within Producer in a generic way. From Robert Osfield fix to the parameter ordering
2006-06-27 12:08:30 +00:00
Robert Osfield
261f4a3b1c
From Terrex and Andrew Sampsom and Don Tidrow and Robert Osfield,
...
email comments from Andew Sampson,
"I've contacted Terrex, and obtained the 2.2 version
of their trpage library. The library included a
fork of OSG 0.9.8's txp plugin, modified to load 2.1+
txp DBs.
I've done the work of incorporating the changes made
to OSG's txp plugin since 0.9.8 into Terrex's fork.
The forked version is now up-to-date with the changes
made to OSG 0.9.9 and 1.0.
Terrex made a lot of changes (especially differences
in whitespace), so the diff between the forked version
and OSG 1.0's txp plugin is yucky. I did my best, but
keep in mind that this is the result of a 4-way merge
(kinda... terrex-0.9.8, stock-0.9.8, stock-0.9.9,
stock-1.0).
I really want to see this forked version merged back
into the main OSG branch. The new features offered by
this version of the plugin (2.1+ support, variable
LOD support, bug fixes) are worth the trouble."
--
Don Tidrow then took this code and added his work.
--
Robert Osfield then fixed all the warnings that abound in the trpage code base.
2006-06-27 10:07:42 +00:00
Robert Osfield
240fc9ebee
Replaced ref_ptr<>:take with ref_ptr<>:release, and added handling of removeal
...
of ref_ptr<> operator >.
2006-06-26 20:45:51 +00:00
Robert Osfield
5b89ddab01
Added DeleteHandler flush call.
2006-06-26 20:43:18 +00:00
Robert Osfield
d084c34e04
Added a functional DeleteHandler.
2006-06-26 20:35:10 +00:00
Robert Osfield
a39516c297
Changed GLunit usage to unsigned int.
2006-06-26 10:57:17 +00:00
Robert Osfield
c46560e478
From Andreas Ekstrand, fix for Windows
2006-06-26 10:39:38 +00:00
Robert Osfield
3b499341ed
From Philipp Siemoleit,
...
There are some group codes (i.e. "62") which are interpreted as
dxfDataType::SHORT. That's right because the dxf-specification defines
"16 bit integer" as the type for the corresponding value.
But readerBase::readGroup() calls readValue(std::ifstream&, unsigned
short). I changed readValue(std::ifstream&, unsigned short) to
readValue(std::ifstream&, short). I found no group code at the dxf-specs
which needs a "16 bit unsigned integer" value. So the
readValue(std::ifstream&, unsigned short) function is obsolete - right?
2006-06-26 09:30:16 +00:00
Robert Osfield
a9f2e345c9
From David Fries, Reset only the RenderLeaf objects used in the last
...
frame as given by the _currentReuseRenderLeafIndex instead of
resetting all leaves which can be very time consuming.
2006-06-26 09:18:49 +00:00
Robert Osfield
4ab7be2833
Martin Spindler, new osg::ClampColor state attribute.
2006-06-08 15:27:18 +00:00
Robert Osfield
2e2684c05a
From Paul Martz, added support to textured light points into osgSim and OpenFlight loader, as part of the OpenFlight v16.0 spec.
2006-06-08 14:32:02 +00:00
Robert Osfield
4d35807a54
From Matt Green, fix to handling of centering of multi-line text entries.
2006-06-08 13:34:29 +00:00
Robert Osfield
4c5452733b
With direction from Paul Melis, fixed bug in CopySharedSubgraphsVisitor which prevented
...
it being applied. Also fix inappropriate comment.
2006-06-08 11:39:10 +00:00
Robert Osfield
16d844090f
From Joan Abadie: patch fixes : "osgDB::makeDirectory doesn't work on win32 when using full path name like : "d:/demo"
...
it tryes a mkdir("d:")."
2006-06-08 11:22:45 +00:00
Robert Osfield
732ca180d1
Added missing clip against maximum azimuth.
2006-06-05 16:25:29 +00:00
Robert Osfield
947904ee85
Improved stats sizing in presense of wide screens.
2006-06-05 16:06:29 +00:00
Robert Osfield
8ca8adeafb
From Jason Baverage, support for interpolating DEM data from GDAL to the positions
...
required for the current tile.
2006-05-26 15:19:14 +00:00
Robert Osfield
bf0828138c
Cleaned up the OpenGL error reporting.
2006-05-22 19:30:07 +00:00
Robert Osfield
3ca71e4398
Updated wrappers.
2006-05-16 21:32:37 +00:00
Robert Osfield
e1c77dfe2a
Minor tweaks of ints to unsigned ints
2006-05-16 21:20:36 +00:00
Robert Osfield
690aeea7e4
From Mike Weiblen, futher work on Uniform array support.
2006-05-16 21:00:45 +00:00
Robert Osfield
90fc234cf1
From Mike Weiblen, support for new Uniform arrays.
...
From Robert Osfield, refactor of above with original code to ensure backwards compatibility.
2006-05-16 21:00:15 +00:00
Robert Osfield
a18e697a47
Compile fixes for OSX
2006-05-16 10:21:59 +00:00
Robert Osfield
bf065ed3a4
From Mike Weiblen, support GLSL uniform arrays. A couple of tweaks and fixes from Robert Osfield.
2006-05-15 15:46:08 +00:00
Robert Osfield
d42a8fd269
From Paul Martz, "This change is based on current CVS. (Note both Brede and I have submitted
...
changes to this plugin that aren't in current CVS yet -- this change is
based on current CVS, not our changed files.)
This changes how shader palette records are parsed to support GLSL per the
OpenFlight 16.1 spec. Existing functionality for 16.0 files is preserved.
The change to Document.h simply adds an enum for VERSION_16_1."
2006-05-15 13:22:59 +00:00
Robert Osfield
2e0865d0c9
From Jason Baverage, A
...
dded GeospatialExtents bounding box class which used doubles
in place of the original usage of osg::BoundingBox.
Added path for computing interpolation elevation data being read from GDAL.
2006-05-15 13:12:55 +00:00
Robert Osfield
1dcb923c15
From Daniel Trastenjak, added checking of binding modes to ensure that changes are only applied
...
when the binding mode changes, thereby avoiding uncessary calls to dirtyDisplayList.
Note, from Robert Osfield, moved bodies of set*Binding() into Geometry.cpp to avoid
clutter in the header.
2006-05-15 11:48:05 +00:00
Robert Osfield
56d4c7a269
From Paul Martz, "add support for the v16.0 "Add" texture environment and "mirrored repeat" wrap mode."
2006-05-15 11:27:07 +00:00
Robert Osfield
fdda54e77e
Changed instances of setCoord(const Vec3) to setCoord(const Vec3&) style.
2006-05-15 11:22:08 +00:00
Robert Osfield
132b355d4f
From Brede Johansen,
...
"- Replaced some member attributes with local variables in Face record.
- Multitexture support in Vertex class.
- Renamed VertexList to VertexListRecord (VertexList is now a Vertex array)
- new Mesh (with reserved field at offset 12, thanks to Paul Martz)
- new LocalVertexPool
- new MeshPrimitive
- Use ProxyNode for externals.
- Local cache for externals"
2006-05-15 11:18:50 +00:00
Robert Osfield
f104656d9f
From Carlos García and Paul Baker, Port of Paul Baker's Quake3 BSP loader to OSG by Carlos García.
...
Added Quake3 BSP plugin.
2006-05-15 09:46:54 +00:00
Robert Osfield
8af7b04c5b
From Farshid Lashkari, "The drawInner() method of osgUtil::RenderStage ignores the
...
checkForGLErrors flag of the osg::State object. The attatched file
fixes this."
2006-05-09 09:47:26 +00:00
Robert Osfield
ff518eb9c6
Removed redundent variable declaration.
2006-05-09 09:13:07 +00:00
Robert Osfield
2fc17d3942
Updated wrappers
2006-05-04 19:39:58 +00:00
Robert Osfield
3132f1f2f7
Fixed expire of children to work with the new Group::removeChildren method.
2006-05-04 19:15:52 +00:00
Robert Osfield
a8c52a90f0
Added selective support for thread safe ref/unref such that the rendering
...
backend now doesn't use thread safe ref counting where multi-buffering exists.
This reduces the overhead of multi-threading.
2006-05-02 15:52:46 +00:00
Robert Osfield
67f56dfd77
Updated wrappers.
2006-05-02 09:50:00 +00:00
Robert Osfield
43f0efd6d2
Reorganised the Group::removeChild and Geode::removeDrawable methods so
...
that removeChild(Node*), removeChild(uint) and equivilant Geode methods are
now inline methods, not designed to be overriden, and seperated out the
multiple remove method to be called removeChildren(uint, uint) which is
now the only virtual method. There removeChildren is now the method to
override in subclasses.
This reorganisation requires some call code to be rename removeChild usage
to removeChildren.
2006-05-02 09:45:31 +00:00
Robert Osfield
34cdf22794
Fixed popping of state frustum.
2006-05-02 09:18:36 +00:00
Robert Osfield
2792c6c2fb
From Colin MacDonald, fixed handling of an adding a graphics context after the creating of the osgText::Text.
2006-05-01 16:20:26 +00:00
Robert Osfield
ffb4c79132
Ran dos2unix.
2006-05-01 16:13:37 +00:00
Robert Osfield
923d85eb06
Added catch for thread model w.r.t new PrecipitationEffect not being
...
sensitive to threading issues.
2006-04-28 10:48:05 +00:00
Robert Osfield
f22d11903b
UPdated wrappers
2006-04-25 13:50:07 +00:00
Robert Osfield
039457700d
Implemented seemless update of precipitation properties.
2006-04-25 12:39:00 +00:00
Robert Osfield
6558a5589f
Reset the default number of graphics context to 1.
2006-04-25 09:00:07 +00:00
Robert Osfield
58e759619c
Moved LessFunctor into header.
2006-04-24 21:48:23 +00:00
Robert Osfield
10f2feeac5
Moved PrecipitationParameters directly into PrecipitationEffect.
2006-04-24 16:21:10 +00:00
Robert Osfield
2e6532ccd3
Added depth sorting of cells.
2006-04-24 11:24:08 +00:00
Robert Osfield
92131fca19
Added near/far compute.
2006-04-24 10:32:33 +00:00
Robert Osfield
49a5ef9ee1
Added support for wind.
2006-04-24 06:36:26 +00:00
Robert Osfield
e8fa0433b3
Moved PrecipitationEffect node into osgParticle.
2006-04-22 15:08:07 +00:00
Robert Osfield
f5f8754ec7
Decreased notify level of debug message.
2006-04-22 15:07:36 +00:00
Don BURNS
585f1d0f68
Fixed a cut-n-paste error in the ground intersects.
2006-04-21 17:16:49 +00:00
Robert Osfield
d29da5baed
Fixed mouse scroll mapping.
2006-04-19 19:00:04 +00:00
Robert Osfield
fb35d02c33
Added setting of the FrameStamp on the RenderStage's local GraphicsContext to
...
keep it in sync with the calling graphics context.
2006-04-17 13:25:33 +00:00
Robert Osfield
4c0cfd18da
From Ben Discoe, added missing drawable->dirtyDisplayList().
2006-04-14 08:28:35 +00:00
Robert Osfield
99285a40ef
Added setting of the DisplaySettings::setMaxNumberOfGraphicsContext() to the
...
number of contexts required by Producer.
2006-04-11 08:44:26 +00:00
Robert Osfield
761a3b43ac
From Brede Johansen, added MergeGeode visitor to osgUtil::Optimizer.
2006-04-06 14:06:22 +00:00
Don BURNS
de930be1c1
Fixed a bug in the DelaunayTriangulator uniquify points method. Was always
...
skipping the first point.
2006-04-04 23:22:34 +00:00
Robert Osfield
c8097c9b62
Updated wrappers.
2006-04-04 13:20:12 +00:00
Robert Osfield
02837366df
#if'd out use of barrier for stats collection.
2006-04-03 19:14:58 +00:00
Robert Osfield
d62adc9aac
Temporary fix for hang in stats when multi-threaded.
2006-04-03 18:25:31 +00:00
Don BURNS
f76a324c95
Don Tidrow's ifdef for MingW
2006-03-31 01:37:38 +00:00
Don BURNS
a5d12c598a
Updates to osgProducer to bring it up to speed with changes in Producer
2006-03-29 23:32:51 +00:00
Robert Osfield
e7a4ad287b
From Mike Weiblen, changes to internal help class in prep for array uniform support.
...
Small tweaks for build under Linux from Robert Osfield.
2006-03-28 16:08:32 +00:00
Robert Osfield
7f101c37ad
From Glenn Waldrom, addition of .ive support for PriorityOffset and PriorityScale.
2006-03-28 14:45:48 +00:00
Robert Osfield
c67e74f2f6
From Eric Sokolosky, added help for PRODUCER_CAMERA_BLOCK_ON_VSYNC
2006-03-28 10:45:15 +00:00
Robert Osfield
42e4a5841c
From Mike Weiblen, added support for new OSG_IMAGE_FILE_NAME env var for
...
setting the default name to use when writing out captured images from the
viewer.
2006-03-28 10:28:49 +00:00
Robert Osfield
7f731f330a
From Farshid Lasharki, added IO suppoty fo osgParticle::ConstantRateContour
2006-03-18 07:07:19 +00:00
Robert Osfield
fd76b4f87b
Updated wrappers.
2006-03-17 22:25:32 +00:00
Robert Osfield
14dab7f818
From Farshid Lashkari, Added ability to read/write the texture tile
...
settings of osgParticle::Particle to .osg files.
2006-03-17 14:05:40 +00:00
Robert Osfield
85edf40fcb
Added createEvent() convinience method.
2006-03-15 15:49:21 +00:00
Robert Osfield
3425ba9706
From Martin Naylor, build fix for Win32.
2006-03-15 11:21:44 +00:00
Robert Osfield
d43dbaeadd
Build fixes
2006-03-14 13:18:21 +00:00
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