Robert Osfield
92afb370e8
Added .ive reading/writing support for osgVolume::Property classes
2009-05-06 13:47:08 +00:00
Robert Osfield
2b09b0dffa
Added initial cut at support for osgVolume in .ive format.
2009-05-05 18:34:44 +00:00
Robert Osfield
1515b8d357
Changed debug message from NOTICE to INFO
2009-05-05 12:46:06 +00:00
Robert Osfield
9da4bb1387
Fixed support for reading imagery relative to the .osg being loaded
2009-05-05 12:18:24 +00:00
Robert Osfield
e2f4e96416
Added checks to prevent crash when no imagery is applied
2009-05-05 11:05:17 +00:00
Robert Osfield
ee3bfe94a3
Added checks to prevent crashes when no imagery is assigend to volume
2009-05-05 11:03:57 +00:00
Robert Osfield
602d83a486
Warning fixes
2009-05-03 18:51:13 +00:00
Robert Osfield
948f271730
From Michael Platings, compile fix for the following problem report on osg-users:
...
"the latest SVN revision cannot be build under Windows if ?OSG_USE_UTF8_FILENAME? config option is enabled. The error occurs in ?FileUtils.cpp? file, line 663, since there is no UNICODE-capable version of the ?GetProcAddress? function. The ?OSGDB_WINDOWS_FUNCT_STRING? makro is defined as follows in that case
#define OSGDB_WINDOWS_FUNCT_STRING(x) L ## #x L"W"
Thus the second parameter cannot be converted from wchar_t to LPCSTR. Should we convert the second parameter from wchar_t* to LPCSTR or use the same definition for the ?OSGDB_WINDOWS_FUNCT_STRING? makro in both cases?
The second error occurs in the same file, line 669. The second parameter for the ?pGetModuleHandleEx? function should be defined as wchar_t, but it?s defined as ?static char static_variable? in the line 667."
2009-05-01 08:49:19 +00:00
Robert Osfield
2d97593560
Fixed warning + bug
2009-05-01 08:20:26 +00:00
Robert Osfield
e938b6352b
Added check against the validity of ViewerBase to make sure that a null pointer isn't dereferenced.
2009-04-30 13:13:19 +00:00
Robert Osfield
bc29eab0b7
Added support for reading from streams
2009-04-30 08:50:43 +00:00
Robert Osfield
d2f3615833
Build fixes
2009-04-30 08:27:07 +00:00
Robert Osfield
7cf721d1b5
Re-instated the code to allow event handler to run in standard viewers like osgviewer
2009-04-29 20:55:48 +00:00
Robert Osfield
590ac02859
Created a simple XmlNode parser class for reading of basic xml files, such as used by present3D.
...
Converted Present3D across from using libxml2 to using the new osgDB::XmlNode/XmlNode::Input classes from Xml Parsing.
This changes removes the dependency on libxml2, and allows the present3D application and p3d to work on all platforms.
2009-04-29 20:30:21 +00:00
Robert Osfield
b42706f034
Added osgFX to dependencies
2009-04-28 15:50:05 +00:00
Robert Osfield
ea65ea83a7
Added osgViewer as a dependency
2009-04-28 15:48:56 +00:00
Robert Osfield
b037fdb14a
Enabled blending to all but iso surface shader.
...
Changed the alpha value of the iso surface colour to 1.0
2009-04-28 14:26:13 +00:00
Robert Osfield
ff93371cbd
Fixed typo
2009-04-27 16:32:24 +00:00
Robert Osfield
7893293e0e
Added detection of active alpha channel.
2009-04-27 15:45:52 +00:00
Robert Osfield
f0ff4afebc
Further improvements in p3d plugin
2009-04-27 13:54:22 +00:00
Robert Osfield
200c9e82f3
Introduced first cut of Present3D integration with the core OSG with the introduction of a .p3d plugin.
2009-04-27 11:02:18 +00:00
Robert Osfield
5f26d6ec99
Attempt to fix mingw warnings
2009-04-27 06:26:41 +00:00
Robert Osfield
04238d128d
Fixed warning
2009-04-25 21:44:38 +00:00
Robert Osfield
219f48fdbe
Updated wrappers
2009-04-24 20:14:42 +00:00
Robert Osfield
2d621cb58a
Added checking of need to update.
2009-04-24 18:37:36 +00:00
Robert Osfield
a50f0ccfaf
Introduce new run frame rate management support to allow control of maximum frame rate and to support on demand rendering of frames
2009-04-24 16:20:50 +00:00
Robert Osfield
5a43bc12bb
Updated wrappers
2009-04-24 11:23:33 +00:00
Robert Osfield
4eeb85fd0b
From Mathias Froehlich, "change adds some code to also print the NodePath when a NaN is
...
detected in the CullVisitor.
May be this gives a bit more of a hint when this happens."
2009-04-24 11:01:00 +00:00
Robert Osfield
d91e9db152
From Jason Daly, "Currently, the .mdl plugin loads vertices in the native DirectX order, which is the reverse of OpenGL order. This means that the back faces are currently rendered as front faces, and vice versa.
...
This fix reverses the vertex order and sets up proper OpenGL facing. I didn't notice this problem until I started using the plug-in in my own code (osgviewer seems to not enable backface culling)."
2009-04-24 10:54:50 +00:00
Robert Osfield
7b16ff5ae1
From Mathias Froehlich, Changed osg::TextureRectangle to use osg::Texutre::applyTexParameters() to take advantage of texture shadow extension settings for texture rectangle
2009-04-24 09:07:22 +00:00
Robert Osfield
b496d220c6
Warning fixes
2009-04-23 13:42:24 +00:00
Robert Osfield
9a072a4dc6
Refactored the subsurface PolygonOffset code so that it uses sensible values and also moves management of the PolygonOffset and Depth attribute objects into the Document object rather than using static vars.
2009-04-23 10:24:27 +00:00
Robert Osfield
194b7a32e7
Removed specific ATI path in PolygonOffset as it doesn't look to be neccessary with present ATI hardware/drivers
2009-04-23 10:23:20 +00:00
Robert Osfield
4938d5687e
Quitened down warnings generated by ffmpeg headers by remove -pedantic from CMAKE_CXX_FLAGS
2009-04-22 18:22:22 +00:00
Robert Osfield
009409695d
Fixed warning
2009-04-22 16:50:50 +00:00
Robert Osfield
7e2b022ead
Warning fixes
2009-04-22 16:47:07 +00:00
Robert Osfield
ddd3c39a17
Warning fixes
2009-04-22 16:42:16 +00:00
Robert Osfield
3efb69b0c6
Warning fix
2009-04-22 16:41:58 +00:00
Robert Osfield
e8d9dd142d
From Neil Hughes, converted across to use istream for reading data from file to enable reading .3ds files over http (use OSG's libcurl plugin).
...
From Robert Osfield, ammendments of the above to better support reading of files from local directories.
2009-04-22 15:46:24 +00:00
Robert Osfield
0c8cb4e6c9
From Bob Kuehne, "fix for failing collada builds on osx due to not being able to stringstreamify osg::Vec3 without io_utils included."
2009-04-22 13:09:33 +00:00
Robert Osfield
777b00353a
From Mathias Froehlich, "attached is a change to TexGenNode rev 10060 that removes a private member
...
variable that is only initialized and copied by never used seriously.
"
2009-04-22 13:07:02 +00:00
Robert Osfield
70771cf6ce
Added hand cursor implementation
2009-04-22 11:22:08 +00:00
Robert Osfield
616a96343c
From Neil Hughes, "Please find attached two files that I've amended to add the IDC_HAND cursor for the windows platform."
2009-04-22 11:20:19 +00:00
Robert Osfield
b6182a1239
From Peter Amstutz, "Here is a simple change to osgViewer::GraphicsWindowWin32 to add a flag to WindowData to specify that the graphics window should not install an event handler of its own, per this discussion thread:
...
http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg23734.html
The change is source compatible with current osg code and will not affect current users, it simply adds an additional parameter to the GraphicsWindowWin32::WindowData struct constructor and defaults to the current behavior.
Attached are the files "include/osgViewer/api/Win32/GraphicsWindowWin32" and "src/osgViewer/GraphicsWindowWin32.cpp" with my changes, based on svn revision 10045. In addition, I have provided an svn patch file with the same changes for your convenience.
I have discussed the matter with my supervisor, and agreed that my company makes no copyright claim over this extremely trivial change (or to put it another way, we assign copyright to the open scene graph community.)"
2009-04-22 11:12:03 +00:00
Robert Osfield
8d6a35dbfb
From Eric Sokolowsky, "src/osg/Image.cpp is missing the GL_RGBA8 image type when calculating the number of components in an image. It is added here."
2009-04-22 10:47:44 +00:00
Robert Osfield
f5d532e54b
From Neil Hughes, "here is an update to ReaderWriterCurl that makes use of the amended ReaderWriter definition to pass some plugin string data via the options object."
2009-04-21 14:15:03 +00:00
Robert Osfield
425cb87487
Updated wrappers
2009-04-21 12:02:15 +00:00
Robert Osfield
c6a4fc6680
Fixed handling of case of no graphics contexts being assigned
2009-04-21 10:13:19 +00:00
Robert Osfield
147486f57a
Removed #ifdef WIN32 around #include <errno.h> to fix build under Mandrake build.
2009-04-20 19:05:59 +00:00
Robert Osfield
3fd9c6c1de
Replaced #idef WIN32 with _MSC_VER to try and fix build errors under mingw
2009-04-13 09:41:22 +00:00