rem..om
5962b6cc39
Removes the use of the deprecated Box contructor with the mesh origin in HelloPicking, made the crosshair properly centered. Also updated the wiki
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10725 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 11:41:44 +00:00
roo..li
2224767cbe
Removed depricated material example in hellomaterial, refactored some object names
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10724 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 11:28:20 +00:00
rem..om
e36241e74b
Removes the use of the deprecated Box contructor with the mesh origin in HelloPhysics. Also updated the wiki
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10720 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 10:04:59 +00:00
rem..om
b01ac95cfc
Removes the use of the deprecated Box contructor with the mesh origin in HelloNode. also updated the wiki and made the screenshot up to date to what the tutorial produces
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10719 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 10:01:51 +00:00
rem..om
191e619bcc
Removes the use of the deprecated Box contructor with the mesh origin in HelloLoop. also updated the wiki and made the screenshot up to date to what the tutorial produces
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10718 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 09:55:35 +00:00
rem..om
c576d47c15
Removes the use of the deprecated Box contructor with the mesh origin in HelloLoop. also updated the wiki
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10717 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 09:30:24 +00:00
rem..om
e530cf9ad6
Removes the use of the deprecated Box contructor with the mesh origin in HelloJME3. also updated the wiki
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10716 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 09:27:13 +00:00
rem..om
97ccd701fe
Used var-args to register input listeners to the inpurManager in HelloInput instead of creating a string arrays. Also updated the wiki
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10715 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 09:24:01 +00:00
rem..om
01d8f36a52
Changed the way the walkDirection is computed in HelloCollision to avoid instatiating vector3f on each update. Also updated the wiki to reflect the change
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10714 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 09:18:33 +00:00
rem..om
7c5571070c
fixed Hello Audio tutorial, also updated the wiki, and added an important note about positional audio
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10713 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 09:11:03 +00:00
roo..li
82324a385e
replaced a thrown exception with a logger warning
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10712 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-14 08:40:26 +00:00
rem..om
b143904913
Android renderer : fixed issue where parsing opengl es version was failing on some device and causing a crash
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10711 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-13 19:35:51 +00:00
rem..om
aa325fc854
Fixed an issue with where one couldn't have several Shadow renderers in the same scene
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10710 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-13 13:42:20 +00:00
roo..li
a457d2d922
helloworld: updated depricated Box() constructor and object names
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10709 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-13 13:37:08 +00:00
rem..om
aa55fb6c61
Removed asserts from LodGenerator.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10706 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-13 12:41:24 +00:00
iwg..ic
20d5565cb7
Added a little offset to the physics ray to correct detecting onGround
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10705 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-13 02:59:16 +00:00
rem..om
cb90159e81
- TangentBinormalGenerator : not joining the similar vertices for computing tangents when not splitting mirrored vertices seems to yeild worse artifacts than before.
...
I reintroduced the joining. That produces wrong lighting anyway, but at least it's consistent with what we had before.
after 3.0, I'll default the split mirrored vertice behaviour.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10700 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-08 08:30:47 +00:00
rem..om
e373d160d9
- put back previous API for TangentBinormalGenerator generate method
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10699 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-08 05:37:23 +00:00
rem..om
a1533a407b
- TangentBinormalGenerator now splits vertices with mirrored uvs. This is an optional operation.
...
It fixes the issue in this thread : http://hub.jmonkeyengine.org/forum/topic/normalmapslighting-issue/
Next step is to split vertices that have triangles with heavily rotated tangent spaces.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10698 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-07 21:24:02 +00:00
rem..om
93aa3cd37b
- Fixed issue introduced in last change of Mesh write method. Hardware Skinning buffers were not properly ignored at save time in some rare cases, and were causing a crash
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10697 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-07 21:17:30 +00:00
Zer..om
e58d47c28d
Reverted previous change. Use geometry.center() instead.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10696 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-06 22:04:48 +00:00
Zer..om
81d7a145a7
Added the ability to create a quad with the origin at the center.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10695 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-06 14:29:19 +00:00
nor..67
79eec54e0d
- update android bullet natives
...
- update bullet native jar files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10684 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-29 18:39:50 +00:00
nor..67
2e52df7b0a
- update android import file for bullet binaries
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10683 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-29 18:39:12 +00:00
nor..67
03335bb4fc
- update bullet binaries for osx
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10682 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-29 18:24:59 +00:00
nor..67
aa466d2039
- update bullet library to 2.81
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10681 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-29 18:24:04 +00:00
nor..67
70eddd78a7
- fix native bullet compiler error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10680 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-29 18:23:38 +00:00
nor..67
feb6b1a55a
- update build-impl to netbeans 7.3
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10679 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-29 18:11:24 +00:00
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
2013-06-27 22:08:35 +00:00
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
2013-06-26 16:15:26 +00:00
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
2013-06-22 19:48:45 +00:00
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
2013-06-22 19:26:43 +00:00
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
2013-06-22 10:03:40 +00:00
voi..om
b5d1672f5e
Nifty-1.3.3
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10656 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-21 22:38:36 +00:00
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
2013-06-21 02:33:51 +00:00
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
2013-06-21 01:57:29 +00:00
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
2013-06-18 16:54:19 +00:00
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
2013-06-18 16:35:52 +00:00
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
2013-06-18 02:54:47 +00:00
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
2013-06-15 08:40:07 +00:00
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
2013-06-12 19:11:21 +00:00
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
2013-06-09 16:06:56 +00:00
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
2013-06-08 21:47:25 +00:00
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
2013-06-08 19:23:47 +00:00
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
2013-06-06 20:44:30 +00:00
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
2013-06-06 18:11:27 +00:00
rem..om
2c9bef5ebf
GeometryBatchFactory, fixed wrong model bounds updating
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-05 20:17:47 +00:00
rem..om
5095396ce3
LodGenerator : fixed typo
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10641 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-02 21:43:52 +00:00
rem..om
a610cdc99a
LodGenerator : updated licence
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10640 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-02 21:31:16 +00:00
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
2013-06-02 21:12:59 +00:00