2297 Commits

Author SHA1 Message Date
nor..67
550499a0d6 - add some more static helper methods to TextureAtlas
- add functions to apply atlas coords to geometry to TextureAtlas

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9045 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 03:47:34 +00:00
nor..67
a265e72759 - move TextureAtlas methods out of GeometryBatchFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 02:43:09 +00:00
nor..67
f04654ee20 - fix inverted alpha for non-alpha textures
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 02:27:35 +00:00
nor..67
d5c766cc8b - make GeometryBatchFactory check for diffuse texture before applying normal textures
- make GeometryBatchFactory throw exception when atlas is full

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9042 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 02:12:42 +00:00
nor..67
48ce86e607 - throw exception on unsupported format in TextureAtlas
- remove clamp workaround in texture atlas


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9041 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 02:10:30 +00:00
nor..67
29b9a64e12 - add size check for normal etc. maps, have to fit to main texture size
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9040 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 01:50:15 +00:00
nor..67
c4b1205fda - remove tangent generation from batch factory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9039 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 01:44:36 +00:00
nor..67
a6154e2608 - fix texture atlas not cheking for existing textures anymore
- change atlas test to more approriate models

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9038 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 01:38:19 +00:00
nor..67
d3c92b586f - make TextureAtlas more strict
- make TextureAtlas only return false if atlas is full

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9037 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 00:39:07 +00:00
nor..67
99c7797ea5 - fix moved update calls
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 00:18:25 +00:00
nor..67
bb1ff2e9e5 - improve atlas test, display quad with atlas texture
- clamp texture coordinates to 0-1 for atlas textures to better see actual texture mapping

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9035 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 00:17:03 +00:00
Sha..om
fc5c7d06d2 * Prevent constant exception in FrameBuffer.setTargetIndex()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9034 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 23:45:10 +00:00
nor..67
1aabed9bc5 - add normal and specular (lighting) support to TextureAtlas generation
- add more TextureAtlas javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 23:00:06 +00:00
nor..67
58a08eb570 - add test for TextureAtlas
- add GeometryBatchFactory method to create atlased/batched model

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9030 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 21:45:50 +00:00
nor..67
81b2e7ca51 - add more formats to TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 19:06:49 +00:00
nor..67
fddcbf6d6c - add texture coordinate buffer updating to TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9025 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 18:59:36 +00:00
nor..67
41d1b5996c - add multi-texture support to TextureAtlas
- fix drawing TextureAtlas (only works for ABGR and BGR)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 17:52:14 +00:00
nor..67
00454ed0f3 - add jme3 Texture compatible TextureAtlas class
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9023 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 13:13:54 +00:00
rem..om
70782dd431 removed typo in lwjglCanvas preventing the engine to build
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9022 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 10:33:18 +00:00
Sha..rd
bd828d629c * Fixed issue with default samples value causing "No support for WGL_ARB_multisample" error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9021 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 06:02:06 +00:00
Sha..rd
9c6ca69b34 * Fixed GLSL version parsing issue on Android 4.0
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 04:49:28 +00:00
bre..ns
ef1652490f fixed some spelling mistakes, thanks @glaucomardano
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9018 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-11 05:12:01 +00:00
bre..ns
981356539a javadoc spelling fix thanks @bortreb
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9017 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-10 19:25:27 +00:00
Sha..om
ba15cc68ca * determinate -> determinant in Matrix3f
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9016 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-10 14:51:52 +00:00
Sha..rd
3695f8f1fc * Blender loader now writes color as a normalized byte buffer, reduces mem usage by 4 times
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9015 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 05:15:53 +00:00
Sha..rd
3e6d649c48 * Fixed incorrect byte->float conversion when loading color buffer in Blender loader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9014 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 05:10:06 +00:00
Sha..rd
8cca61b3ef * Fixed crash in blender loader when given textures without extension
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9013 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 04:49:34 +00:00
Sha..rd
c30bc66f76 * Fixed crash in MeshLoader when loading LOD levels
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9012 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 04:39:21 +00:00
Sha..rd
95efa5b2ff * Mesh.extractVertexData() will copy max weights per vert as well, this is needed for animation to work
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 04:38:16 +00:00
Sha..rd
64d9c60142 * BIHTree will exit early if ray limit is lower than the farthest collision point with the model's bound
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 04:37:11 +00:00
Sha..rd
8d7aed43d1 * Removed useless vPosition varying from Lighting shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9009 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 04:36:04 +00:00
Sha..rd
3d54ab3378 * Blender loader will now extract vertex data into separate vertex buffers for meshes that use multiple materials instead of sharing them
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9007 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 23:48:28 +00:00
Sha..rd
03fb684b10 * Blender now supports loading color for shadeless materials
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9006 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 23:46:57 +00:00
Sha..rd
3478012756 * OgreXML loader will accept models that use shared geometry but instead will extract the data to avoid sharing vertex buffers. This fixes issues when cloning animated shared geometry OgreXML models
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9005 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 23:45:34 +00:00
Sha..rd
77252b4304 * Geometry will now automatically de-share VertexBuffers if it detects it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9004 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 23:43:30 +00:00
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
1547500b5a AndroidInput now correctly handles mutiple pointers touch events
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 18:42:51 +00:00
rem..om
dd76ee0890 Fixed Tap confirme event that was sending 2 tap events on each tap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8998 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 15:05:52 +00:00
rem..om
a906b97be3 AndroidInput now correctly dispatches DOUBLETAP event
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-07 23:29:51 +00:00
rem..om
5454675cda Formatted AndroidInput.java so it doesn't look like a C++ file...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-07 21:58:30 +00:00
nor..67
fbf42ffbca - improve failsafeness of GeometryBatchFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-06 17:00:34 +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
sky..om
b66984f8f5 Added javadoc for TerrainQuad heightMap parameters
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8978 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 04:42:54 +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
950276679e Nifty : applied patch posted by iwgeric in this thread http://jmonkeyengine.org/groups/android/forum/topic/error-with-nifty-and-awt/?topic_page=2&num=15#post-147332
fixes nifty interaction on touch event on android.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 09:11:13 +00:00