Robert Osfield
5400e570c7
Added support for geometry shader attributes
2008-08-15 17:18:10 +00:00
Robert Osfield
7cd4641ece
From Stephane Lamoliatte, "I added the osg::Program parameters support for the osg plug'in.
...
Now we could correctly configure geometry shaders in osg files."
Notes from Robert Osfield, renamed the names of the parameters to be less GL centric and more human readable.
2008-08-15 16:43:56 +00:00
Robert Osfield
38f6cddc2c
Changed osg::ImageSequence::set/getDuration to set/getLength() to be in keeping with the
...
osg::ImageStream's getLength().
2008-08-15 16:21:44 +00:00
Robert Osfield
c6c5cdaf89
Updated wrappers
2008-08-15 13:06:18 +00:00
Robert Osfield
927942a0f8
Further work on osg::ImageSequence, improving pause functionality, and introducing new seek(double time) method
2008-08-15 12:45:20 +00:00
Robert Osfield
49e7358bf6
Added initial looping and pause play support
2008-08-14 16:29:12 +00:00
Robert Osfield
bcbd50af39
Implemented a reference eye point and associated methods in support of intersecting billboards
2008-08-14 14:22:39 +00:00
Robert Osfield
f17b307305
Added NullStream class that automatically creates and delete the NullStreamBuffer, thus fixing a memory leak
2008-08-05 15:11:47 +00:00
Robert Osfield
7a7ee85f69
From Eric Sokolowski, "Fixed the build of the osgViewer library to get GL/glx.h from the right place, when building on OSX with X11"
2008-08-05 15:06:22 +00:00
Robert Osfield
7f8183f64c
Merged changes to OpenSceneGraph-2.6 into trunk using :
...
svn merge -r 8729:8734 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.6 .
2008-08-05 11:17:48 +00:00
Robert Osfield
384d2921fd
Moved initial drawable setup to within the mutex locked section to avoid multi-threaded crash on startup.
2008-08-04 12:47:14 +00:00
Robert Osfield
6595562442
Removed debug info
2008-08-04 12:27:22 +00:00
Robert Osfield
c8001915f6
From Ulrich Hertlien, "attached is a patch to src/osgPlugins/quicktime/QTImportExport.cpp that fixes loading images using the quicktime loader. Also fixes some minor bugs like uninitialized variables and incorrect deletes.
...
I'm a bit puzzled why this didn't pop up for more people as it's quite severe: basically the filename was never set!""
2008-08-04 09:05:29 +00:00
Robert Osfield
fcc8426226
Added a small epsilon expansion of the bounding box being clipped/intersected against, to avoid numberic errors causing problems.
2008-08-04 08:45:08 +00:00
Robert Osfield
268b79d03f
Improved the terrain intersection code so that it produces more stable terrain movements.
2008-08-03 20:35:45 +00:00
Robert Osfield
f81ff952a2
merged 2.6 branch changes back into trunk using : svn merge -r 8699:8706 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.6 .
2008-08-03 16:57:09 +00:00
Robert Osfield
ced418ccb5
Moved bb expansion out of loop.
2008-08-03 16:48:12 +00:00
Robert Osfield
bdd558af3b
Updated wrappers
2008-07-25 20:50:59 +00:00
Robert Osfield
5cac386fa6
Renamed enums in osgWidget from ALLCAPITALS to normal OSG conventional of AllCapital
2008-07-25 20:50:42 +00:00
Robert Osfield
eed365aef4
Added PluginQuery function to wrappers
2008-07-25 20:49:17 +00:00
Robert Osfield
f4d74b66cf
Added OSGPL Copyright notices
2008-07-25 20:04:41 +00:00
Robert Osfield
e525dd21bf
Improved handling of PAGE_AND_RETAIN_IMAGES
2008-07-25 18:44:13 +00:00
Robert Osfield
65d5ef608d
Reverted back to using std::list<std::String>
2008-07-25 17:42:37 +00:00
Robert Osfield
d137394169
Added Mode support
2008-07-25 16:23:00 +00:00
Robert Osfield
d0890ab250
Updated wrappers, and further refined the ImageSequence API
2008-07-25 16:11:51 +00:00
Robert Osfield
d8d2bc4193
From Ulrich Hertlein, "as I hinted at on osg-users in the "obj loader: map_* only reads last component" thread, this submission broke material/texture loading for some files I have that specify texture matrix scaling.
...
The following link shows a very comprehensive list of .mtl file options:
http://local.wasp.uwa.edu.au/~pbourke/dataformats/mtl/
Attached is a patch that should fix spacey filenames and optional texture scale/offset. I have tested it with files I have that I modified to contain spaces in the texture filenames."
2008-07-25 15:45:40 +00:00
Robert Osfield
ec4d189b64
Added ImageSequence to .ive plugin, added support for multiple ImageThreads in osgDB::ImagePager
2008-07-25 13:45:07 +00:00
Robert Osfield
0d1656055c
Moved PluginQuery from osgconv into osgDB
2008-07-25 10:18:36 +00:00
Robert Osfield
5cdb5c055c
Added extension docs
2008-07-25 10:18:14 +00:00
Robert Osfield
7c6aba874b
Added option docs
2008-07-25 09:46:05 +00:00
Robert Osfield
79fbab4a95
From Paul Martz, "Not sure about the descriptions, so I left those blank. But at least "osgconv --formats" will display the .ive options now."
2008-07-24 13:25:49 +00:00
Robert Osfield
c8d3e81e08
Updated wrappers
2008-07-24 12:48:25 +00:00
Robert Osfield
6915bce1a2
Added a getCurrentRenderStage() and getCurrentCamera() convninience methods, and
...
converted the CullVisitor::apply(OcclusionQueryNode&) implementation to use the
new getCurrentCamera method.
2008-07-24 12:18:49 +00:00
Robert Osfield
7dabdf5d7e
Added supportOptions() entry docs
2008-07-24 12:01:45 +00:00
Robert Osfield
ea309e2677
From Bob Kuehne, "fix for filenames that have spaces within their name."
...
Note form Robert, changed std::cout to osg::notify(osg::INFO)
2008-07-24 11:22:43 +00:00
Robert Osfield
4fe8907748
Updated wrappers
2008-07-23 22:19:37 +00:00
Robert Osfield
ec9218ad1f
Refactored OverlayData so that its possible to subclass OverlayNode/OverlayData.
2008-07-23 22:19:29 +00:00
Robert Osfield
820586a3d0
Added wrappers
2008-07-23 21:52:03 +00:00
Robert Osfield
dc05f2ef95
Moved helper classes into Protected section
2008-07-23 21:49:07 +00:00
Robert Osfield
86ca0860cc
From Paul Martz, typo fixes
2008-07-23 21:25:09 +00:00
Robert Osfield
bfcc7473b8
Applied filename fix suggested by Andrew Bettison.
2008-07-23 19:06:14 +00:00
Robert Osfield
daa3d2381a
Implemented ImagePager internals
2008-07-23 19:04:46 +00:00
Robert Osfield
6488ff23a5
Fixed unitialized variable
2008-07-23 15:42:02 +00:00
Robert Osfield
cc2af85c96
Further work on ImageSequence
2008-07-22 20:20:16 +00:00
Robert Osfield
c9dc578186
Added support for pruning old images, recording the Duration in the .osg file, and -o filename output support in osgimagesequence.
2008-07-22 16:44:49 +00:00
Robert Osfield
ec13321bd7
Updated wrappers
2008-07-22 15:21:24 +00:00
Robert Osfield
669d6be0b2
Fixed handling of TextureCubeMap's with mipmapped/ImageSequence/PBO's.
2008-07-22 14:47:59 +00:00
Robert Osfield
14771d3a4d
Added ImageSequence IO support in Texture classes
2008-07-22 12:40:02 +00:00
Robert Osfield
5ab73e9f80
Added support for ImageSequence to all Texture classes
2008-07-22 12:28:46 +00:00
Robert Osfield
74a1b7881e
Disabled the setting of Texture::setUnrefImageOnApply(true) when the imagery is
...
an ImageStream.
2008-07-22 10:13:57 +00:00
Robert Osfield
f513700450
From Mario Valle, "The attached osgWidget source solves three compilation warnings on VC 7.1 on WindowsXP (OSG 2.5.5).
...
BTW the construct is absolutely legal C++, but VC 7.1 has a different idea..."
2008-07-22 09:02:44 +00:00
Robert Osfield
19e3b1624d
Moved osgViewer::ScreenCaptureHandler's WindowCaptureCallback from head into .cpp
...
to clean up headers and avoid wrapper build issues.
Updated wrappers
2008-07-21 23:42:59 +00:00
Robert Osfield
cad2f6d4fc
From Jean-Sebastien Guay, "Changes attached so that the CaptureOperation is passed in the constructor of the ScreenCaptureHandler (default 0 = default CaptureOperation). This way, you can do:
...
viewer.addEventHandler(new osgViewer::ScreenCaptureHandler(
new osgViewer::WriteToFileCaptureOperation("filename", "jpg")));
and the filename will be what you want. The WriteToFileCaptureOperation will add the context ID and the file number (if in SEQUENTIAL_NUMBER mode) to the file name.
(The attached also clarifies some notify messages, and corrects the comment when adding the handler in osgviewer.cpp)
I also remembered, the current architecture could allow a different CaptureOperation for each context, but currently the API only allows setting one CaptureOperation for all contexts. This could be improved if need be.
"
2008-07-21 21:28:48 +00:00
Robert Osfield
573044ceea
From Mario Valle, signed/unsgined warning fix
2008-07-21 21:17:05 +00:00
Robert Osfield
041a06b89d
Further work on osg::ImageSequence/osgDB::ImagePager
2008-07-21 21:00:57 +00:00
Robert Osfield
e4b22e44d2
Moved the ~Record body into the .cpp to avoid a MipsPro compile error (due to a compiler bug)
2008-07-21 19:23:03 +00:00
Robert Osfield
34a085a1bd
Added call to OpenThreads::Thread::cancel();
2008-07-21 17:45:28 +00:00
Robert Osfield
6796b4f70d
Updated wrappers
2008-07-21 17:39:55 +00:00
Robert Osfield
acd7e65687
Added basic image sequencing
2008-07-21 17:28:22 +00:00
Robert Osfield
2125c9843b
Moved the if (!buffer) check to infront of the memory initialization
2008-07-21 16:17:41 +00:00
Robert Osfield
ac61676368
Initial cut of osgimagesequence example
2008-07-21 10:57:06 +00:00
Robert Osfield
09e7bcdf4e
Added ImagePager first cut, and updated wrappers
2008-07-21 10:10:01 +00:00
Robert Osfield
c2432b22da
Added first cut of ImageStream IO wrapper
2008-07-21 09:55:15 +00:00
Robert Osfield
d12708e6f6
First cut of osgDB::ImagePager for updating osg::ImageSequence
2008-07-21 09:47:39 +00:00
Robert Osfield
d17a255d8e
First cut of osg::ImageSequence class
2008-07-21 09:46:53 +00:00
Robert Osfield
3814731c27
From Adrain Elgi, added osgGA to link list
2008-07-18 21:17:35 +00:00
Robert Osfield
18e9d2d53b
Introduce a custom atof function that always assumes data comes in form 10.10 with
...
the full stop used as a decimal place.
2008-07-18 11:39:06 +00:00
Robert Osfield
46796978fd
From Jean-Sebastien Guay and Robert Osfiled, osgViewer::ScreenCaptureHandler for
...
taking screenshots
2008-07-17 16:12:39 +00:00
Robert Osfield
43e2c5fadf
Updated wrappers
2008-07-17 14:13:13 +00:00
Robert Osfield
4aed0a7eac
From Ulrich Hertlein, "attached are some minor tweaks:
...
- fixed typos in osgViewer/ViewerBase
- const-ness in include/osg/View findSlaveIndexForCamera
- supported options for STL reader, fixed return values to reflect proper errors
- supported options for DirectX reader, fixed return values
- normals pseudo-loader: scaling normals to a const (but variable) fraction of the bounding sphere radius
"
2008-07-17 13:51:14 +00:00
Robert Osfield
8751bdbc97
Updated wrappers
2008-07-17 12:26:42 +00:00
Robert Osfield
969884e6c2
Moved AuthenticalMap/AuthenticationDetails out in their own files
2008-07-17 12:13:04 +00:00
Robert Osfield
adaf71fa19
Added osgDB::AuthenticationMap/Details to osgDB and curl plugin to add the ability
...
to authenticate http transfers
2008-07-17 11:55:55 +00:00
Robert Osfield
cacb509f60
Moved .net plugin out into Deprecated section of osg svn repostitory
2008-07-16 16:19:54 +00:00
Robert Osfield
b0d1f419e3
Fixed path to font
2008-07-16 16:19:19 +00:00
Robert Osfield
2fefc911fd
Set the default setting of LineWidth to 2.0 to ensure that old default behavior
...
is maintained.
2008-07-16 16:05:43 +00:00
Robert Osfield
c3a4237e3a
From Vincent Bourdier, removed line with setWidth(2.0) as this code prevents
...
user settings of line with.
2008-07-16 16:04:27 +00:00
Robert Osfield
c33f7e5720
Cleaned up the updateStateSet code
2008-07-16 15:58:51 +00:00
Robert Osfield
270a671c75
Updated wrappers
2008-07-16 13:29:35 +00:00
Robert Osfield
5f0f80cab2
Changed int's to unsigned int's to avoid warnings
2008-07-16 13:26:06 +00:00
Robert Osfield
850034ab75
Moved the _textureObjectBuffer assignment to after the imagery has been download to avoid crashes under multi-threaded compile of texture objects (was causing a crash with 3D Textures, but is something that would happen with other Texture types as well.)
2008-07-16 13:23:58 +00:00
Robert Osfield
41bd615f3a
Removed a division by precomputing the associated values
2008-07-16 11:40:01 +00:00
Robert Osfield
a8cb408213
Added osgWidget wrappers
2008-07-15 22:13:35 +00:00
Robert Osfield
e6c99b0434
Fixed typo
2008-07-15 21:28:22 +00:00
Robert Osfield
a383f7ee34
Fixed name of lib
2008-07-15 19:42:49 +00:00
Robert Osfield
47255490a9
Changed IMPORT to "Import option", and "EXPORT:" to "Export option:" in supportsOptions() docs make it a little more friendly and understandable
2008-07-15 19:28:30 +00:00
Robert Osfield
115787f8e9
From Paul Martz, "Here's documentation for the export options of the FLT plugin. I also labeled the import options as such."
2008-07-15 19:26:20 +00:00
Robert Osfield
abe16fa571
Changed the version setup code to be consistent with the rest of the OSG
2008-07-15 19:24:22 +00:00
Robert Osfield
c989b98f2e
From Gino van den Bergen, "The VRML plugin in the current 2.5.4 release will not compile under VC8.0 when the project file is generated using CMake 2.6. The attached CMakeLists.txt will fix this problem. The file replaces the CMakeLists.txt file in src/osgPlugins/vrml.
...
NB: It is assumed that the antlr and regex libs are located in $(OPENVRML_DIR)/lib.
"
2008-07-15 19:02:20 +00:00
Robert Osfield
c2b77aa08e
From Jeremy Moles, import of the osgWidget NodeKit, sourced from the original http://osgwidget.googlecode.com/svn/trunk
...
Notes from Robert Osfield, I've merged osgWidget trunk, and added/changed CMakeLists.txt file to make it suitable for inclusion in the core OSG, and moved imagery/scripts/shaders out into OpenSceneGraph-Data
2008-07-15 17:21:25 +00:00
Robert Osfield
0c3d119cea
Updated wrappers
2008-07-15 14:24:46 +00:00
Robert Osfield
35bc9c7dd2
From Art Trevs, Removed GLeunm version setAttachment() to avoid ambigiuity with
...
whether to enable MRT.
2008-07-15 14:24:21 +00:00
Robert Osfield
c88d34ee97
Renamed Archive::ArchiveStatus to ReaderWriter::ArchiveStatus
2008-07-15 14:15:42 +00:00
Robert Osfield
59f6e0cdcf
Updated wrappers
2008-07-15 10:45:07 +00:00
Robert Osfield
3e96a9d448
Missing check-ins
2008-07-15 09:55:33 +00:00
Robert Osfield
5ab4af80c5
Added missing ac3d supportsExtensions() constructor
2008-07-14 20:11:37 +00:00
Robert Osfield
02b456bcfa
Converted plugins to use the new supportsExtension()/supportsOptions/supportsProtocl() methods
...
to help enable better querying of supported features
2008-07-13 22:18:59 +00:00
Robert Osfield
cb98cddc31
Added new ReaderWriter methods for recording what protocols, extensions and options are
...
support by ReaderWriters
2008-07-13 15:24:45 +00:00
Robert Osfield
6aa604f31a
From Paul Martz, removed uneccessary libraries from link line
2008-07-13 12:34:06 +00:00
Robert Osfield
4ca61c38f0
From Doug McCorkle, "Attached is patch that corrects/improves the following issues with the OBJ loader:
...
1. Added options to control wether the osgUtil::Tessellator or osgUtil::TriStripVisitor are run. By default they still run just as before.
2. Added support for the Emissive material. The data was being read from the mtl file but was never being applied to the model.
3. This is the main bug addressed, when a model is read in with an alpha value specified like:
newmtl Material__8
Ns 24
d 0.33
illum 2
Kd 0.204 0.204 0.204
Ks 0 0 0
Ka 0.153 0.153 0.153
where the alpha value is d. The loader would then overwrite the alpha value when reading the diffuse, specular, and ambient colors. I have changed all the material color readers to only set the values they read and to use the default colors specified in the constructor of the obj class. With these changes, the obj reader now handles opacity correctly if the alpha value is specified before the material colo"
2008-07-12 12:00:58 +00:00
Robert Osfield
360e7629d0
From Christophe Loustaunau, "For our application, we need to write tiff file in floats. I have change a little bit the readerWritterTiff :
...
It check the data type of the image ( img.getDataType() ) and if it's GL_FLOAT :It save the tiff with float values.
Otherwise it does the same thing as before."
2008-07-11 19:43:01 +00:00
Robert Osfield
0e2dea9a39
From Liang Aibin, " In lastest svn version of OSG, the .ive plugin missing osg::Light, it
...
does not process I/O for osg::Light. Now I have fixed it as follows:
2. In DataInputStream.cpp, I add support code in DataInputStream::readStateAttribute
for osg::Light.
3. In DataOutputStream.cpp, I add support code in DataOutputStream::writeStateAttribute
for osg::Light.
"
2008-07-11 19:23:49 +00:00
Robert Osfield
ef1ee63f03
From Joakim Simmonson,
...
"Opcodes.h:
* Added INVALID_OP as -1 in the Opcodes enum. Note that INVALID_OP is not an actual opcode defined in the OpenFlight format. The purpose of INVALID_OP is to mark an opcode variable as invalid or uninitialized.
ReaderWriterFLT.cpp:
* The header node is returned if it exists, even if the file does not contain a node hierarchy. The old behaviour returned a ERROR_IN_READING_FILE error.
* Changed opcodes initialized to -1 to the new enum value INVALID_OP."
2008-07-11 17:46:30 +00:00
Robert Osfield
1489eeb228
From Joakim Simmonsson, fixed various spelling typos in comments
2008-07-11 17:41:50 +00:00
Robert Osfield
161e01dc5d
From Mathias Froehlich, "Due to the recent data variance changes/discussion:
...
Change the ac3d loader that can as such only deliver static models to set the
data variance to static for the returned model.
"
2008-07-11 17:35:13 +00:00
Robert Osfield
45b2fb8db7
Increased the buffer and fixed the buffer calculation when moving backwards into objects
2008-07-11 17:07:05 +00:00
Robert Osfield
61a81d8e06
Updated KdTree code to refect new cleaned up API
2008-07-11 16:51:11 +00:00
Robert Osfield
9866eb93f8
Tweaked the KdTree intersection performance testing code block
2008-07-11 16:50:43 +00:00
Robert Osfield
8a6c25425e
Updated wrappers
2008-07-11 16:48:55 +00:00
Robert Osfield
a856459a86
Moved the building and intersecting of the KdTree into the .cpp, and cleaned up
...
the header to ready it for wider usage
2008-07-11 16:48:39 +00:00
Robert Osfield
d3fd43cc6f
Streamlined KdTree implementation
2008-07-10 15:50:10 +00:00
Robert Osfield
29d66125e2
Updated wrappers
2008-07-09 19:43:02 +00:00
Robert Osfield
8edee96275
Cleaned up KdTree implementation
2008-07-09 19:42:15 +00:00
Robert Osfield
c41ca3d6a0
Introduced code for doing dummy test traversals - used for benchmarking KdTree code.
2008-07-09 19:40:10 +00:00
Robert Osfield
cbf5429c19
Introduce a intersecion performance testing code path, #if def'd out for now.
2008-07-09 19:26:40 +00:00
Robert Osfield
a00f94ac18
Updated wrappers
2008-07-09 12:37:59 +00:00
Robert Osfield
2851429333
Added optional control of whether to use KdTrees for intersections
2008-07-08 17:35:10 +00:00
Robert Osfield
134c86c2d5
Implement hierachy culling in KdTree::intersect(..)
2008-07-07 20:27:56 +00:00
Robert Osfield
f1db402f2b
Improved the handling of KdTree intersections
2008-07-07 14:27:58 +00:00
Robert Osfield
d05236bfb4
Implemented intial KdTree triangle intersection code, but without culling implemented
2008-07-07 13:21:37 +00:00
Robert Osfield
e8487b8830
Added KdTreeBuilder calls into FindCompileableGLObjectsVisitor, and an alternative
...
path that explictly calls the KdTreeBuilde when required in cases when no pre compile of GL objects is required.
2008-07-07 10:46:22 +00:00
Robert Osfield
682be50e2a
Changed types to avoid warnings under Windows
2008-07-07 09:40:30 +00:00
Robert Osfield
c4e8d6ee42
Changed the DatabasePager so that it bypasses the Registry::readNode() method and calls
...
readNodeImplementation() directly to avoid calling the KdTreeBuilder.
Updated wrappers.
2008-07-06 18:27:10 +00:00
Robert Osfield
3965fe357b
Moved KdTree build code into osg::KdTree
2008-07-06 12:14:19 +00:00
Robert Osfield
10595e49e3
Added handling of co-incident start and end points.
2008-07-05 17:29:07 +00:00
Robert Osfield
9a9c543ffa
Ported intersection code to use new osgUtil::LineSegmentIntersector/IntersectionVisitor.
2008-07-05 16:39:28 +00:00
Robert Osfield
e70e3a6d5d
Converted TerrainManipulator to use osgUtil::InterectionVisitor rather than the
...
old IntersectVisitor
2008-07-04 19:16:19 +00:00
Robert Osfield
db57d2504e
Added KdTree intersection support into LineSegmentIntersector
2008-07-04 17:02:02 +00:00
Robert Osfield
44d144997e
Added prelimnary KdTree data structure and automatic kdtree build support
...
into osgDB::Registry/osgTerrain so that newly created subgraphs can have
KdTree built on all osg::Geometry automatically on load/creation.
2008-07-04 15:57:48 +00:00
Robert Osfield
3f025bec5d
From Mario Valle, "xed the following warning on Linux 64 bits Athlon:
...
/users/mvalle/OSG/OpenSceneGraph/src/osg/BufferObject.cpp: In member function `virtual void osg::ElementBufferObject::compileBuffer(osg::State&) const':
/users/mvalle/OSG/OpenSceneGraph/src/osg/BufferObject.cpp:600: warning: cast to pointer from integer of different size"
2008-07-03 15:01:04 +00:00
Robert Osfield
14c86a5389
From Mario Valle, removed extraneous spaces
2008-07-03 14:59:07 +00:00
Robert Osfield
45d5376503
Set the DataVariance on FadeText to DYNAMIC to reflect their nature
2008-07-03 10:03:06 +00:00
Robert Osfield
a65b74d287
Updated wrappers
2008-07-02 10:00:09 +00:00
Robert Osfield
201522feb3
Introduced support for UNSCPECIFIED and STATIC DataVariance of StateSet/Textures
2008-07-02 09:25:08 +00:00
Robert Osfield
aa593fcd2d
From Colin McDonald, "There is a problem reading bmp files containing a colour palette,
...
due to an incorrect scan line length calculation. Attached is a fix,
and a little bmp file which demonstrates the problem."
2008-07-01 19:04:29 +00:00
Robert Osfield
dba344feba
From Lilin Xiong, "I change ive plugin a little for osgText inout, so the ive plugin supports backdrop setting,
...
and Text3D, FadeText inout :
1. in DataInputStream.cpp, add 1286--1293 lines;
2. in Text.cpp, add some code for text's Backdrop setting;
3. in IveVersion.h, add line 39, increase the VERSION to VERSION_028(line 41)
4. in ReadWrite.h, add line 146,147
5. add file FadeText.h, FadeText.cpp, Text3D.h, Text3D.cpp."
2008-07-01 18:37:13 +00:00
Robert Osfield
c6ba70e3ad
From Mathias Froehlich, "It appears not to be sufficient to set a cmake variable to get a define in
...
such a config file. Instead set that variable to 1. Also included a small compile fix, that appears to be required than ..."
2008-07-01 09:40:06 +00:00
Robert Osfield
bec0fc9c32
Added guards against FBO not being supported/setup
2008-06-30 16:53:06 +00:00
Robert Osfield
5e0169f664
Changed the Optimizer::StateVisitor so that it can individually decide whether
...
to optimize away duplicate state with dynamic, static and unspecified DataVarience. By default
the code now optimizes away duplicate state with either static and unspecied state, previously
it was just handling static state.
2008-06-29 12:22:50 +00:00
Robert Osfield
8820d0bb1d
Added realize of new graphics contexts to handle new views being added with
...
unrealized windows
2008-06-28 16:59:26 +00:00
Robert Osfield
fec2a8fabe
Changed back to use an std::vector<> rather than a std::list for RequestQueue to
...
avoid member template problems under Solaris.
2008-06-27 19:40:52 +00:00
Robert Osfield
a9b05e0815
Refactored the sort of the requestQueue so that there is single code path for doing the sort.
2008-06-27 18:59:27 +00:00
Robert Osfield
214491dd94
From Mathias Froehlich, "Update to the configure check for msvc 7.1.
...
MemoryBarrier() is used in the implementation, so it should be checked.
This in effect disables the faster atomic ops on msvc 7.1 and older, even if
only the MemoryBarrier() call is missing. But it ensures for the fist cut
that it will build everywhere. If somebody cares for msvc 7.1 enough and has
one for testing installed, he might provide the apropriate defines to guard
that MemoryBarrier() call.
I tested that msvc8 32/64bit still passes the configure tests and compiles.
"
2008-06-27 16:47:43 +00:00
Robert Osfield
34f58482e6
Moved the apply(&) default implementations from the header into the NodeVisitor.cpp,
...
and changed the casts to use static_cast<>.
2008-06-27 12:35:56 +00:00
Robert Osfield
6d53566654
Updated wrappers
2008-06-26 19:21:54 +00:00
Robert Osfield
8dc1143263
From Paul Martz, "The method IntersectionVisitor::apply(osg::PagedLOD&) appears to attempt to identify a "highest res" child of the PagedLOD and only allow intersection on that child. The implementation appears to be flawed in two cases:
...
1) The "highest res" child is assumed to be the child with index "getNumFileNames()-1" or "getNumChildren()-1". As a result, PagedLODs that do not sort children from furthest to nearest will intersect with the wrong child. (see attached "case1.osg" to reproduce this problem.)
2) The code assumes there is only one highest res child. As a result. PagedLODs with multiple children at the same highest res range can only intersect one of those children. ("case2.osg" demonstrates this issue; you can only pick the quad on the right.)
I've attached a modified IntersectionVisitor.cpp that attempts to resolve these issues. It identifies a highest res range based on the range mode, then continues traversal on all valid children corresponding to that range description. Only in the case of a malformed PagedLOD does the code fall back to getting the last child in the list.
"
2008-06-26 18:34:01 +00:00
Robert Osfield
f523515aed
From Morten Haukness, "When cloning effects osg crashes because the copy constructur tries to run av pure virtual method (setUpEmitterAndProgram). The right thing to do when cloning an effect is to run the inherited version og buildEffect and setUpEmitterAndProgram.
...
"
2008-06-26 18:06:24 +00:00
Robert Osfield
44c125a801
Changed the removeCamera() method so that it now actively calls releaseGLObjects()
...
on all children of a camera that aren't shared with other cameras on that context.
This change fixes problems with allocating and deleting views.
2008-06-26 16:45:50 +00:00
Robert Osfield
53636db5bc
From Mathias Froehlich, updated CMakeLists.txt to build the Atomic.cpp
2008-06-26 15:06:44 +00:00
Robert Osfield
260d0d384f
From Mathias Froehlich, build fixes for various unices
2008-06-26 12:08:37 +00:00