Don BURNS
da9de96fae
Added 'normals' pseudoloader
2006-02-06 19:40: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
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
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
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
523f608ba6
From Ali Botorabi, adding of osg::Depth support in .ive format.
2005-12-19 14:48:04 +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
fcdf5826db
Added a static_cast<std::streampos> to get round IRIX64 build problem.
2005-12-02 09:57:19 +00:00
Robert Osfield
b324156ec8
From Thom DeCarlo, build fix for Cygwin.
2005-12-01 13:38:27 +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
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
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
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
d3541b96ed
Replaced tabs with spaces.
2005-11-17 15:03:51 +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
5cd39a3119
Did a unix2dos and trimmed end of file of rendundent newlines.
2005-11-15 22:14:50 +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
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
44b38986d3
Fixed warnings in geo plugin
2005-11-14 12:49:05 +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
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
20d9c3c3c4
Compile fixes for VS7.1
2005-11-10 09:42:34 +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
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
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
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
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
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