1916 Commits

Author SHA1 Message Date
nor..67
5a451b3aa6 - use assetKey.toString() in TextureAtlas to account for flipped textures
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9053 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 05:03:33 +00:00
nor..67
bfa0bf6a1e - some javadoc fixes in TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9052 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 04:54:30 +00:00
nor..67
d83815847a - add size warning to TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9051 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 04:38:52 +00:00
nor..67
1d742f1d07 - do not store useless reference to image in TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9050 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 04:30:20 +00:00
Sha..om
b0b3f1b55e * FrameBuffer.setTargetIndex() will set refresh needed on FrameBuffer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9049 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 04:23:48 +00:00
nor..67
576428d2ef SDK:
- fix writing description file for texture atlas

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9048 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 04:20:59 +00:00
nor..67
3031875264 - TextureAtlas: move some things from static methods to object methods
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9047 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 03:59:24 +00:00
nor..67
14daceaabd - TextureAtlas javadoc fixes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 03:50:15 +00:00
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
nor..67
2863208dbe SDK:
- add BufferedImage based TextureAtlas class

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9019 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-13 15:09:16 +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
nor..67
5d6ac60c58 SDK:
- add android screen instructions to AndroidManifest.xml

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9008 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 00:17:09 +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
bre..ns
921f4a25c2 removed NavMesh editor button from toolbar. Added constraint checks and javadoc to NavMeshGenerator
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9002 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 19:02:29 +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
nor..67
5a5f321304 SDK:
- improve "filter enabled" logic

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9000 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 16:23:19 +00:00
nor..67
e6c6f047ba SDK:
- fix filter not being displayed when a new filter is loaded

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8999 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 15:58:55 +00:00