2231 Commits

Author SHA1 Message Date
rem..om
e275cfb7ee JME nifty's render device : fixed text positioning when autoScale is true
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9230 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-04 13:24:01 +00:00
rem..om
2d57665dfd JME nifty's render device now uses 2 separate shaders : one for images and texts and one for quads, this way there is no more branching in the frag shader greatly improving speed (specially on android)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9229 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-04 12:54:02 +00:00
Sha..om
b99e5a9bfb * Prevent exception when loading OBJ file without normals or texcoords
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9228 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-03 05:07:12 +00:00
rem..om
92b97d38d8 Committed a patch from iwgeric, to make nifty Textfield display the soft keyboard on tap.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9227 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-02 10:23:22 +00:00
rem..om
859123673e Committed patch from iwgEric that fixes a couple of issues on android touchinput http://jmonkeyengine.org/groups/android/forum/topic/error-with-nifty-and-awt/?topic_page=2#post-165433
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9226 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-02 09:12:38 +00:00
Kae..pl
2bc7128eb6 Fix to loading meshes that contain many vertices.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9225 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-01 21:35:32 +00:00
nor..67
50f266f843 - optimize BatchNode.batch a bit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9224 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-01 00:48:42 +00:00
rem..om
5671358657 Soft particles implementation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9223 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-29 22:26:37 +00:00
Kae..pl
787e912591 Fixes to AWT textures blending.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9222 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-29 20:40:25 +00:00
Sha..rd
491d514c0f * BorderClamp and Clamp texture wrap modes now become EdgeClamp on Android
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9221 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-29 01:22:15 +00:00
Sha..om
9ddb941daa * Fix javadoc error in Transform.loadIdentity()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9220 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-28 15:58:35 +00:00
Sha..rd
be7a22e3d5 * Remove most common usage of IntMap.iterator()
* Correct small typo in UniformBinding
 * Make IntMap.iterator() make new iterator each time 
 * Prevent TangentBinormalGenerator from crashing when it encounters some mesh without texcoord/normal buffers
 * AWTLoader now properly fails when AWT can't load the image instead of returning null 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9219 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-28 03:57:54 +00:00
PSp..om
5cf9954814 Added a comment with what I think the taskQueue
drain method is really doing... only simplified.
I don't trust my eyes enough to make such a core
change without co-verification. :)


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9218 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-28 01:44:13 +00:00
nor..67
7522ae7a95 SDK:
- fix typo in sdk properties

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9217 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-27 10:55:55 +00:00
nor..67
1af4ea110c - up version of android build script
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9216 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-26 14:21:46 +00:00
nor..67
32c4e50953 - rename library from jme3-android to android-base to avoid mixup with the user-added libraries
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9215 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-26 14:20:13 +00:00
nor..67
4073fee081 - update lwjgl to 2.8.3, fixing MacOSX 10.5 and lower compatibility
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9214 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-26 13:53:48 +00:00
PSp..om
dde5d0a510 Added a ResetStatsState so that the stats are always
reset even if the developer has overridden simpleUpdate().
As long Application's stateManager is run, the stats will
get reset no matter how many views there are or if they
are disabled or not.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9213 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-26 01:27:07 +00:00
PSp..om
54471475fe Added a test showing the basic app state life cycle
and verifying that all steps get called when they
are supposed to.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9212 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-26 00:58:50 +00:00
Sha..rd
aa8298ecdf * Fixed BufferUtils on android when used on non bytebuffers
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9211 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 23:01:31 +00:00
Sha..rd
b2e086bbee * Added ResolutionInverse (thanks kwando)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9210 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 22:48:59 +00:00
Sha..rd
7a7b2c3f5f * Fixed issue with WorldMatrixInverse uniform binding being incorrect (thanks survivor)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 22:44:07 +00:00
Sha..rd
2cbbfaa3b9 * It is now possible to modify an existing buffer through Mesh.setBuffer() (previous behavior was to crash)
* Add TestExpandingTorus to demonstrate this feature

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9208 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 22:12:09 +00:00
Sha..rd
f3528f8d6e * BufferUtils.destroyDirectBuffer() will only look up methods once
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9207 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 22:00:17 +00:00
Sha..rd
68da72cf66 * Actually fixed the issue with the tangents this time .. (TestTextureAtlas runs)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9206 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 21:25:22 +00:00
Sha..rd
c9046fa21c * Since number of tangent components in a tangent buffer can vary, GeometryBatchFactory now takes # of components into account preventing IndexOutOfBoundsException
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9205 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 19:52:31 +00:00
Sha..rd
3dfe3d70f5 * Re-added conditional in Lighting.frag to avoid NVIDIA bug. It uses control flow but most GLSL compilers should optimize it to compare and set.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9204 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 19:51:35 +00:00
Sha..rd
df212d358f * AndroidAssetManager will avoid registering loaders if the class isn't in the classpath similar to DesktopAssetManager
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9203 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 19:49:56 +00:00
Sha..rd
1aed2068be * Formatted many android classes and files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9202 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 19:49:15 +00:00
bre..ns
8d9895036b more terrain normal code clean up
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9201 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 18:37:54 +00:00
bre..ns
3420ec2881 simplified terrain tangent generation, cleaned up code
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9200 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 15:59:22 +00:00
nor..67
9221bea9d9 - override default javadoc target to exclude test javadoc in build.xml
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9199 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 14:51:33 +00:00
nor..67
b264e4dff1 - simplify build.xml jar separation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9198 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 11:55:09 +00:00
Sha..rd
ea0617fa81 * Added new uniform binding WorldMatrixInverseTranspose (thanks kwando)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9197 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 01:35:40 +00:00
roo..li
7c999dc4cd Updated code palette: added appsettings, background color, improved shiny and textured.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9193 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-24 19:16:02 +00:00
roo..li
05dc1f1909 replaced deprecated ColoredTextured by Unshaded.j3md in sample
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9192 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-24 19:08:35 +00:00
nor..67
8848c90b47 SDK:
- update libraries sets for SDK (networking and effects)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9191 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-24 12:21:03 +00:00
nor..67
b0ada38d21 - move effects and networking to separate jar files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9190 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-24 12:16:43 +00:00
nor..67
9978684407 - move effects and networking to separate jar files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9189 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-24 12:16:33 +00:00
Kae..pl
2b004e803d Better support for textures blending.
- support for DDS blending (without textures decompression :) )
- support for RGBA textures blending
- support for generated textures blending
Also done blending refactoring. Blending functions moved to separated classes from TextureHelper.
It will increase code redability.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9188 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-23 21:55:56 +00:00
Sha..om
b12285b8a4 * Make AndroidImageInfo extensible, add javadoc explanation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9187 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-23 14:14:59 +00:00
Sha..om
06f5ad5bce * Fix Blender 2.62 issue with uint64_t
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9186 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-23 14:05:59 +00:00
roo..li
321c50c514 Fixed reported bugs in drag&drop Palette (typo in xml file, use of deprecated effects API in Java files)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9185 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-22 19:18:43 +00:00
PSp..om
f07446e0d4 Added an accessor for the stats view object.
Necessary if you want to move these things around
to different places on the screen.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9184 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-21 04:44:58 +00:00
roo..li
aebe0161d4 Added "how_to_use_materials" to sdk help wiki_help.properties
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9183 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-19 13:30:30 +00:00
roo..li
29953fdb83 Added "how_to_use_materials.html" to sdk help core-toc and wiki-map
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9182 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-19 09:22:11 +00:00
Kae..pl
c23c7e1378 Fix to textures loading (material color should now not interfere with the texture).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9179 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 19:35:20 +00:00
Kae..pl
3d22756dfc Added support for loading the following texture types: DXT1, DXT3 and DXT5.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9178 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 18:57:35 +00:00
roo..li
8af8d87752 added material colors/specular/diffuse to shiny sphere snippet in Palette
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9177 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 17:52:11 +00:00
rem..om
03da8d5316 BatchNode enhancements :
- batching after adding a new geometry only does an incremental batch instead of rebatching all geometries
- there is now a getOffsetIndex(geometry) method that returns the index of the first vertex of the geometry in the batch.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9176 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 11:22:07 +00:00