530 Commits

Author SHA1 Message Date
Sha..rd
ed07d685bf * Added Mesh.extractVertexData() to extract vertex data from another mesh based on this mesh's index buffer. Used to "de-share" VertexBuffers.
* Geometry will now automatically de-share VertexBuffers if it detects it

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 23:42:57 +00:00
rem..om
e4186c2497 - Changed catmull rom interpolation to use floats instead of doubles because somehow it was failing on android...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8981 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-05 23:37:47 +00:00
sky..om
8e721f5c93 Brought the number of Javadoc workings down to 322 from 391; Updated year to 2012 in license header of affected files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 06:54:07 +00:00
sky..om
1801f1f336 Brought the number of Javadoc workings down to 391 from 410
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8979 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 04:59:16 +00:00
nor..67
1bf268bea7 - adapt name for destroyByteBuffer()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8977 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 23:17:28 +00:00
nor..67
de65246ddb - add way to release direct memory, including test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8976 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 23:10:59 +00:00
rem..om
fd65f31bbd Removed comitted system.out in MotionTrack
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8973 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 15:50:56 +00:00
rem..om
16759a9770 Fixed an initialization issue in MotionTrack
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8972 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 15:49:13 +00:00
rem..om
1f2193a2b9 Audio : implemented API for seeking capability in streamed ogg files. It doesn't work fine yet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8967 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-29 21:41:18 +00:00
rem..om
f3675227e0 Cinematic : AnimationTrack takes now the animation's duration as default duration
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8966 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-29 20:07:02 +00:00
rem..om
93a181b4c7 Fixed IndexArrayOutOfBound that may occur in BatchNode.Also optimized temp array allocation in case there is no tangents buffer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8965 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-29 19:39:48 +00:00
sky..ok
addfe4283b BatchHint Javadoc fixes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8963 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-29 17:29:34 +00:00
rem..om
d6124d3489 Renamed AnimationHelper to AnimationFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8958 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-27 21:30:28 +00:00
rem..om
7de07d056c Created an AnimationHelper to ease the creation process of a spatial animation, based on key frames interpolation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8955 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-24 16:11:49 +00:00
rem..om
1b1bad7da5 Fixed MotionTrack setEnabled method
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8954 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-24 14:18:41 +00:00
rem..om
9232c71cd7 Added a Transform(Vector3f translation,Quaternion rotation,Vector3f scale) constructor
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8953 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-23 20:07:39 +00:00
Kae..pl
f232b11318 Material name added.
Reading material's name from blender added.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8945 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-19 20:10:52 +00:00
PSp..om
4c2ccc66e0 Added a toString method similar to AbstractCollection's.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8940 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-17 07:07:15 +00:00
rem..om
08af19ec5b Cinematics :
- One can now shift time forward an backward in a cinematic with the setTime(float) method, all sub cinematic events support it except soundtrack (has to be implemented)
- Enhanced MotionPath calculation to allow time shifting, and made speed more constant
- changed test cases accordingly
- some more javadoc
- fixed some problems in GUITrack


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8913 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-09 21:23:35 +00:00
Sha..rd
7b907b002d * javadoc fix for mesh
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8905 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-09 02:24:58 +00:00
nor..67
70b35f73ff - fix bullet native library name for 64bit linux in Natives.jar
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8885 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-08 00:19:24 +00:00
Sha..rd
58d26b5ebe * Mesh.cloneForAnim() now clones tangent buffer as well
* Fix javadoc in Mesh.cloneForAnim(), the position/normal/tangent buffers are cloned

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8878 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-07 01:13:24 +00:00
rem..om
cbd1248302 Mesh bufferList is now a SafeArrayList instead of an ArrayList
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8869 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-05 20:27:28 +00:00
rem..om
c8c4cfe7c0 Fixed semicolon 'conceptual' disappearance
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8861 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-04 22:13:20 +00:00
Sha..om
8c94853989 * Replaced mandatory check in Ray.setDirection() with assertion
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8860 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-04 21:55:48 +00:00
Sha..om
cebf822f0e * Added check for unit vector in Ray.setDirection()
* Changed Ray constructor to set direction to 0, 0, 1 to satisfy above requirement
 * Ray no longer steals references

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8859 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-04 21:48:23 +00:00
nor..67
c16e880888 - remove desktop-fx package and move effects to core, remove HDRRenderer swing UI
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8849 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 22:26:46 +00:00
nor..67
3cdaf0e051 jme3:
- fix imports in all classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 14:06:48 +00:00
nor..67
c906508e62 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00
rem..om
c4d3e7ea6f - Bone : Attached Node transforsm are now correctly updated when using setUserTransformWorld
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8830 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-28 20:36:35 +00:00
nor..67
4e66dddc95 - remove unneeded instanceof and casting in Material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8821 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 13:46:51 +00:00
nor..67
212b57ecc6 - add some equals() methods where compareTo is used
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8820 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 13:46:20 +00:00
nor..67
f55a277cd9 - remove unnecessary checks in RenderQueue.renderGeometryList()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8801 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-26 01:51:32 +00:00
sky..ok
1bcf9164e8 Removed whitespace at end of line in mergeGeometries (I'm not a perfectionist)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8791 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-23 21:53:43 +00:00
nor..67
8405fb060b - revert InputManager changes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8763 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-22 00:41:15 +00:00
sha..rd
c6c4cf53a0 * Some minor optimizations
* Disable dead zone check for mouse axes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8732 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-20 00:18:02 +00:00
lex..82
687dad1a6b Fixed TangentBinormalGenerator: Added grouping of vertices with the same position and normal. Re-added tangent orientation code to fix some visual artifacts.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8645 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 08:41:01 +00:00
sha..rd
3db3648866 * Fix spelling error in AmbientLight: uneffected -> unaffected
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 01:17:07 +00:00
dan..om
fbb396b8a2 * Fixed extrapolateLinear() so it would really extrapolates if bigger than 1 or smaller than 0. The old behavior was to clamp between 0 and 1, doing exactly the same thing as interpolateLinear().
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8616 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-09 04:01:21 +00:00
nor..67
23b4e2fcf0 - synchronized access to AssetManager ClassLoader list
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8606 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 23:36:45 +00:00
nor..67
9f16b989fe - add a way to add a classpath for loading in-asset classes to AssetManager, use in BinaryImporter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8600 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 21:18:53 +00:00
sha..rd
511c417fe7 * AssetEventListener now has an additional callback that can be used to detect when a dependent asset has failed to load.
Since dependent assets that were not located have no exception thrown, detection of this event could be needed by some tools e.g. jMonkeyPlatform to indicate to the user that the asset may have not been loaded correctly. 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8597 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 04:56:15 +00:00
sha..rd
66127db26d * Standardized handling for loading dependent assets for all loaders
If asset cannot be located, then the loader must replace the asset that 
was supposed to be used with a placeholder, and raise a WARNING in the log 
indicating that the asset cannot be located, containing both the name of the
dependent asset and the parent asset that is loading it

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8596 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 04:51:58 +00:00
bre..ns
21809776dc allow empty keyframe sets (rotation, translation) to be supplied to SpatialTrack
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8595 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 04:29:22 +00:00
sha..rd
cfd13e8d33 * Added some new lines here and there
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8593 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 03:07:29 +00:00
sha..rd
177c88d645 * Rewrote handling of URL based locators to use a shared UrlAssetInfo.
* The AssetInfo.openStream() must create a new stream each time (required by javadoc/spec)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8592 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 03:04:10 +00:00
sha..rd
d8682c94c3 * Fixed crash that happens when an Ogre3D mesh.xml model has an empty boneassignments tag
* Fixed issue with AnimControl clones sharing references to the list of AnimEventListeners

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8590 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 01:11:29 +00:00
PSp..om
d2e2935d90 Default the application timer to NanoTimer. I did this
during construction so that the default JmeContext timer
could potentially still be used by calling app.setTimer(null)
from an apps main().  In that case, the previous behavior
of pulling the timer from JmeContext during init would happen.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8588 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-07 00:25:29 +00:00
sha..rd
f15dfe3011 * Fixed issue with an exception getting silenced when MTL was loaded for an OBJ file
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8582 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-06 03:19:15 +00:00
sha..rd
0e49c439b7 * Javadoc for Asset
* Javadoc fix for AudioData, BoundingVolume, CollisionResult 
 * Javadoc package.html for asset 
 * Add test for bad tangent generation models 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8575 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 03:35:11 +00:00