Robert Osfield
70d78c0713
From Colin McDonald, "The new 3ds plugin isn't working at all on big-endian machines, due to
...
a byte order issue.
The problem is that osg::SwapBytes code has been copied from the old
plugin to the new one, but the latest lib3ds also incorporates code to
handle byte ordering in read & writing. So the net result is that the
swap is done twice.
The solution is simply to remove the custom osg code, and use the
stock lib3ds code. The attached files are against today's revision
11331. I've tested on Sparc & Intel.
"
2010-04-15 18:40:40 +00:00
Robert Osfield
51d377c9f6
Ran dos2unix on header files
2010-04-15 18:38:32 +00:00
Robert Osfield
6b73cef997
Ran dos2unix on lib3ds files
2010-04-15 18:38:03 +00:00
Robert Osfield
7ee549bb06
From J.P. Delport, Fix for invalid iterator dereference in DatabasePager.
2010-04-15 12:51:41 +00:00
Robert Osfield
3700263e08
From Sukender, "After discussion with Paul Martz, here is a fix for 3DS reader/writer (on rev. 11315) + some changes. Changelog:
...
- Fixed handling of MatrixTransforms (still doesn't support other Transforms types). Fixes things for OSG, DeepExploration, 3DSMax...
- Added support for writing double precision vertices by converting them.
- Added base code for future compatibility option (3rd-party apps that don't read animation data). See "DISABLE_3DS_ANIMATION" compile flag."
2010-04-15 11:49:33 +00:00
Robert Osfield
31ec835002
From Jason Beverage, "Here is a small fix to the DatabasePager to fix a crash if you were
...
running with the OSG_NOTIFY_LEVEL set to INFO.
An iterator was being erased, and then referenced to display a
message. Just changed it to display the message first, then erase."
2010-04-15 11:45:10 +00:00
Robert Osfield
7db9f18619
From Chris Hanson, build fixes for Solaris-64
2010-04-15 11:41:37 +00:00
Robert Osfield
72e6867679
Changed std::pair declaration to ListTriangle::value_type to avoid Solaris compile errors
2010-04-15 11:40:49 +00:00
Robert Osfield
9045d03a0b
Removed the setting of the DatabasePager thread affinity, and moved the setting of the DatabasePager thread priotity to after the creation of the threads
2010-04-15 11:02:22 +00:00
Michael PLATINGS
d5fafcecbd
Updated the plugin to be compatible with version 2011.2 of the FBX SDK
2010-04-14 16:43:50 +00:00
Robert Osfield
b6a5754127
Added minimum frame delay of 1/100th second when using
...
on demand rendering to avoid creating a CPU lock.
2010-04-14 13:39:43 +00:00
Robert Osfield
9df9778658
Updated wrappers
2010-04-14 10:43:16 +00:00
Robert Osfield
c69ddd6bd5
Added BufferData::ModifiedCallback to provide a mechanism for tracking when a osg::Image::dirty() has been called to signify that an image has been modified.
2010-04-13 18:42:58 +00:00
Michael PLATINGS
8e53cfe6fc
Added support for double precision geometry
2010-04-13 14:50:31 +00:00
Robert Osfield
88f1b8f19a
From Michael Platings with tweaks from Robert Osfield, added Options::s/getPrecisionHint(..) to allow apps to hint to plugins about how to handle double precision geometry data.
2010-04-13 13:06:27 +00:00
Robert Osfield
51924431cd
Fixed warnings
2010-04-13 09:42:53 +00:00
Robert Osfield
ccd34b375b
updated wrappers
2010-04-13 09:42:36 +00:00
Michael PLATINGS
25cd2970c5
osgAnimation now stores times as doubles
2010-04-12 16:35:15 +00:00
Michael PLATINGS
5d64318597
From Sukender: Fixed FBX writer: now handles double precision arrays (vertices, normals, texcoords)
2010-04-12 15:04:25 +00:00
Robert Osfield
fccda08491
Added corner dirty options to TerrainTechnique, added experimental code paths in GeometryTechnique for accounting for neighbouring corner tiles - optionally compiled out in this check-in.
...
Changed the normal computation in GeometryTechnique so that it doesn't include diagonals, thus avoid normal jumps at corners.
2010-04-09 08:52:40 +00:00
Robert Osfield
d992f6e018
Updated wrappers
2010-04-03 16:26:32 +00:00
Robert Osfield
c6c26d5d44
Change Terrain so that it subclassed from CoordinateSystemNode.
...
Implemented new update scheme of GeometryTechnique to avoid potential threading issues.
Added Terrain support to .ive.
2010-04-03 16:21:34 +00:00
Robert Osfield
656efbf03f
Removed getNeighbours() method to avoid problems with introspection wrappers
2010-04-01 21:18:39 +00:00
Robert Osfield
47cdee3611
Removed TerrainNeightbours class from wrapping to avoid associated build errors
2010-04-01 21:15:17 +00:00
Robert Osfield
a8bbf0a809
Added support for boundary equalization to GeometryTechnique
2010-04-01 21:06:56 +00:00
Robert Osfield
15afc29018
Added window size event handler
2010-04-01 21:04:36 +00:00
Robert Osfield
31e526f253
Added TerainHandler event handler to provide 'v'/'V' and 'r'/'R' key controls for change vertical scale and sample ratio respectively.
2010-03-29 08:49:20 +00:00
Robert Osfield
8547536387
From Jean-Sebastien Guay, "When the StatsHandler tries to find a context to add itself to, it will first look for a GraphicsWindow, and if none is found it will look for a GraphicsContext. This enables apps that do all their rendering to offscreen contexts (pbuffer) to still use the StatsHandler."
2010-03-26 11:09:10 +00:00
Robert Osfield
7fd81fdd06
Updated wrappers
2010-03-26 11:07:43 +00:00
Robert Osfield
3f39a66035
From Jim Brooks, fix for FreeBSD build where FIND_LIBRARY(DL_LIBRARY..) return NOT_FOUND.
2010-03-26 09:01:49 +00:00
Cedric Pinson
d218032448
Fix compile issue t = fmod(t, (float)_duration);
2010-03-25 20:20:10 +00:00
Cedric Pinson
35fa541350
Change time type from float to double in osgAnimation
2010-03-25 17:50:29 +00:00
Robert Osfield
fe5527f332
From Mathias Froehlich, "I added some features to the vrml plugin.
...
The plugin can now handle embeded PixelTexture fields in addition to the
already implemented ImageTexture fields.
Fixed a bug with texture repeat being applied to the wrong texture dimension.
Added handling for IndexedLineSet geometries."
2010-03-25 14:19:01 +00:00
Robert Osfield
ecf7a7e3e4
From Stephan Huber, "attached you'll find a small enhancement for GraphicsWindowCocoa. My
...
submision adds a getter for the pixel-format. I need this for some
custom software so I can integrate CoreVideo-playback with osg.
"
2010-03-25 14:14:46 +00:00
Robert Osfield
75d1de3d15
Fixed warning
2010-03-25 14:12:28 +00:00
Robert Osfield
304214e0df
Introduced the use of linear interpolation of evelvations when sampling
2010-03-25 11:11:35 +00:00
Robert Osfield
9d35ec1631
Added a compile test for pthread_setaffinity_np to workaround problem with the FreeBSD pthread lib containing the function but the pthread.h header not containing it.
2010-03-24 17:12:05 +00:00
Robert Osfield
1319e270f6
Refactored the way that the RequestQueue's are pruned and highest prioty items taken from them so the operation is
...
now O(n) rather than O(nlogn) where n is the number of requests. The refactoring also cleans up the access of the
request lists so that the code is more readable/maintainable.
2010-03-24 14:27:00 +00:00
Robert Osfield
627a4b78c9
Updated wrappers
2010-03-23 12:41:02 +00:00
Robert Osfield
99b6b268bc
From Michael Platings, "the attached files fix the DAE importer for animations that don't contain channels for all X, Y and Z components, as exported by SoftImage."
2010-03-22 17:55:14 +00:00
Robert Osfield
d969034f44
Changed private: to protected: to fix build issue under OSX
2010-03-22 14:32:19 +00:00
Robert Osfield
8a39ece376
From Chuck Seberino, "have a fix for the reading code in trunk/src/osgPlugins/gz/ReaderWriterGZ.cpp. It seems that the std::istream::readsome method on windows is a no-op (for files. After much head scratching and research I was able to figure out what was going on. I am submitting a fix to replace readsome with read() and gcount(). This change is for all platforms. The previous implementation works fine under linux and OSX, so if you would rather keep things the way they are you can just #ifdef for non-WIN32.
...
I also added openmode flags to the ifstream constructor, since they were needed to get proper reading as well as a typo fix."
2010-03-22 13:13:22 +00:00
Robert Osfield
8b66d5348e
From Farshid Lashkari, "I noticed that osg::notify does not output to stderr when using either FATAL or WARN severity levels. There is code in osg::StandardNotifyHandler::notify that will use stderr based on the severity level, but it is disabled by an #if 0. I'm assuming this was a mistake and have re-enabled the code.
...
Many IDEs will capture the output of processes and highlight stderr messages in red. After upgrading from OSG 1.2, I was noticing that none of the error messages were being highlighted, which I find quite useful."
2010-03-22 12:50:27 +00:00
Stephan Maximilian HUBER
7e6ddb8588
From Stephan Huber: updated xcode-project
2010-03-22 10:43:45 +00:00
Robert Osfield
994e7ece43
From Ulrich Hertlein, changed init() call to _init().
2010-03-20 09:45:59 +00:00
Michael PLATINGS
03d5b81a6f
Workaround for files exported from SoftImage that don't tag skeleton nodes correctly.
2010-03-19 20:12:19 +00:00
Michael PLATINGS
f053c6c567
From Paul Martz: This is a fix to get the FBX plugin to compile on OS X
2010-03-19 18:28:20 +00:00
Robert Osfield
5612a4640f
Added a minimum tiles size of 16 to prevent down sampling from being overly aggressive.
2010-03-19 17:09:30 +00:00
Robert Osfield
04e4fa74cc
Added new osgterrain example that is simplified to just basic setup and control osgTerrain nodes, leaving the osgthreadedterrain as the more complex example.
2010-03-19 16:31:48 +00:00
Robert Osfield
e9cd6b140f
Renamed source file
2010-03-19 16:30:56 +00:00