rem..om
cf1ff27234
- Fixed the way handedness/parity is computed in the tangent binormal generator
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10663 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
bre..om
08b27f7673
removed the mesh collision shape from HelloTerrainCollision.java
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10662 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
a67786c58e
fixed issue when saving a mesh in hw skinning mode was not restoring the buffers.
...
restored the code to enforce BoneIndex and BoneWeight to be in the heap for software anim because it was failing on android, until I find a proper solution
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10659 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
68fa1b7084
Hadrware skinning buffers are now not saved along the other buffers in a j3o file.
...
They are created when loading the model.
This was causing issue when loading j3o files saved before the change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10658 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
2acbdf9f84
Hardware Skinning now uses its own bone index and bone weight buffers. The vertex buffers are initialized empty when the model is loaded and placed in the cache.
...
They are populated only if hardware skinning is used with the model.
BoneIndex and BoneWeight buffers are now always CpuOnly and only used for Software Skinning.
Some enhancement could be done to save memory by not generating the bindPose buffers if hardware skinning is used as it doesn't need them.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10657 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
voi..om
b5d1672f5e
Nifty-1.3.3
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10656 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
7c983e1a3b
* Display LWJGL version when context is created (why was this part removed?)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
f3c53cf916
* MeshLoader: submesh names were not loaded properly due to incorrect check
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10654 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
2c473b0873
fixed nifty dependencies
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10653 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
ce3b8e843e
Removed logging of unset uniform for Android to match Desktop and avoid flooding the log
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10652 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
5622ce2483
Set log level to FINEST for unset uniform
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10651 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
eda3ed7160
Improve error message when shader uniform is not set
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10650 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
daa3ceee1d
Matrix3f has now a normalize(Matrix3f store) and a normalizeLocal() method
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10649 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
130ddbdfd2
SpotLigth: the cosine of the inner and outer angle of a spotlight are packed in the same float to send it to the shader (to save some varryings). This imples that their precision is no more than 0.001. This was producing wrong lighting for very close angles because the cosine were equals.
...
There is now a check that ensure that the outer cos is lower than the inner cos.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10648 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
4c4e235e61
BatchNode now uses absolute world transforsm to update the underlying batch mesh, instead of computing the offset from next frame.
...
The real geometry mesh data is now used as a bind pose.
This avoids errors accumulations over time in some case and is less expensive.
See this post for the original issue http://hub.jmonkeyengine.org/forum/topic/batchnode-bug/
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10647 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rac..om
9b8060bac2
first set of tests for the Geometry. There's 18 tests in total, covering roughly 40% of the total number of methods in the geometry class.
...
To get all the tests to run, I needed to add EasyMock and some related jar files. This enables me to mock classes other the the one actually being tested to get a better test isolation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10646 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rac..om
96006f1383
Fixed the build path for the unit tests. Yesterday, I created a problem there. Which should be fixed now.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10645 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rac..om
1f111c11ce
Fixed the junit tests. They now work through the ant script as well as when run directly.
...
The fix required adding all the build/* folders to the "compile tests" libraries listing as well as moving the junit.jar in that listing to the top of the list.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10644 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
Zer..om
9b6bd1fdc4
Fixed a bug where attempting to collide with an empty mesh (0 vertices) would throw an exception rather than returning 0 results.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10643 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
2c9bef5ebf
GeometryBatchFactory, fixed wrong model bounds updating
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
5095396ce3
LodGenerator : fixed typo
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10641 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
a610cdc99a
LodGenerator : updated licence
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10640 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
f0b44c0704
LodGenerator used squared length of en edge as parameter for its collapse cost instead of the length. It gives better results
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10639 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
b918c707b8
Implemented a Lod Generator based on Ogre progressive mesh
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10638 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
dec182b13f
* Fixed assertion error bug in NativeObjectManager.deleteAllObjects()
...
* Fixed ID collision bug in NativeObjectManager by introducing NativeObject.getUniqueId()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10637 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
1ac240e971
Android: fix missing period in javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10636 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
7e09bf035f
SDK: Update global library settings for Android OpenAL Soft
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10635 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
e952620640
SDK: Update location of Android OpenAL Soft jar file
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10634 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
725fb33983
* Fixed bug where verts uninfluenced by bones would not work correctly in hardware skinning
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10633 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
04196e40ea
* When deleting native object, avoid using toString() for logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10632 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
7ecc8790a4
* Added overview / explanation on what Material.render() does
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10631 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
e2614b51c7
fixed JmeBatchRendererBackend that was not properly reseting the forcedRenderState of the renderer causing depth test and depth write to be disable once th first frame was rendered
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10630 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
4d1e3dc9b5
SDK: Add Android OpenAL Soft to project libraries
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10629 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
7885dc516e
SDK: Modified description to force update of project template with newer Test classes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10628 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
049514df4e
SDK: Add SingleTask Launch Mode to AndroidManifest for new projects to avoid starting a new instance of the app when users hit the Home button and then resume the app.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10627 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
4395c45092
SDK: Copy OpenAL Soft to correct library directory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10626 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
ce583be446
SDK: Bump version number of mobile-impl.xml to force updates
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10625 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
bbf88a3090
SDK: Automatically unzip OpenAL Soft libraries in mobile/libs if included in the classpath
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10624 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
65709a17b6
SDK: Organize imports in MainActivity
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10623 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
jul..om
b03d6abc33
Switches to GlueGen build 669, JOAL build 435 and JOGL build 989
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10622 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
jul..om
bcb7922b9d
Removes a typo from NewtKeyInput
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10621 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
509cc7ba70
Android OpenAL Soft: Clean up some logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10620 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
efa80e0e2d
* Fix syntax error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10619 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
d6fbd97482
* Add NativeObject.dispose() which deletes the object from GL driver, and if UNSAFE=true, also native buffers.
...
* Rename NativeObjectManager.registerForCleanup() -> registerObject() so that its not confused with enqueueUnusedObject()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10618 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
bf2a663022
* Remove deprecated fields from shader class
...
* Add package private deleteNativeBuffers() in NativeObject (usage TBD)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10617 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
66ed9ff986
Add OpenAL Soft
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10616 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
e727928731
Android: Refactor AndroidAudioRenderer into an interface with 2 implementations (current MediaPlayer/SoundPool and new OpenAL Soft). Added AppSetting that allows AndroidHarness to switch the audio renderer (default is still MediaPlayer/SoundPool).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10615 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
96f7b179b5
Android: Copy OpenAL Soft library to dist/opt directory when building the engine. Updated OpenAL Soft jar file.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10614 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
58684996f9
Android: Added methods for OpenAL Soft Audio Renderer to pause and resume audio when app is placed in the background
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10613 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
Kae..pl
7610bfb7aa
Bugfix: fixes to strip box indices and normals computation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago