2062 Commits

Author SHA1 Message Date
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
rem..om
446c03935e Fixed NPE in AndroidAudioRenderer when soundPool is not initialized
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 08:44:51 +00:00
rem..om
c4231e3200 - Inverted red channel of the pond normal map so it looks bumpy
- Fixed the HelloMaterial tuto so the rock shines like in the screen shots

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9174 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 08:35:58 +00:00
rem..om
26ffa11655 - Fixed parallax distortion thanks to Survivor
- Used a quad in TestParallax instead of a grid

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9173 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 08:17:07 +00:00
rem..om
bb9b2ea5ce Changes to AndroidInput to properly handle multipoint touch events with proper ids (thanks to techsonic)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9172 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:27:02 +00:00
rem..om
a3497ca8b2 Null check on audio renderer in the onPause and onResume of the android Harness. The audio renderer appears to be null (wich is another issue)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9171 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:04:53 +00:00
rem..om
afc2710626 Removed the call to glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT as it generates an INVALID_ENUM error.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9170 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:03:44 +00:00
rem..om
60479107bb Removed some unused variable and method in MotionPath
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9169 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 09:59:37 +00:00
rem..om
9836918a07 Cinematic changes :
- more consistency in the way to handle time
- Complete refactoring of MotionPath interpolation (simpler and way faster)
- Time seeking should now work correctly.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9168 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 09:57:41 +00:00
PSp..om
72561e7a8b Made the app-states taking constructor more defensive
so that it can be called with null in various ways
without throwing NPEs.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9167 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 04:20:14 +00:00
PSp..om
dac2de12c6 Moved the debug key handling to its own app state.
Also fixed a bug in some SimpleApplication subclasses
that expect access to the guiFont and fpsText from
simpleInit.  This is why some believe protected fields
are the work of the devil. ;)


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9166 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 04:11:21 +00:00
PSp..om
c084f0a025 FlyByCamera modified to check if its mappings exist
before unregistering them.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9165 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 03:57:23 +00:00
PSp..om
e7f0a5ad91 Since input manager throws an exception when trying
to delete non-existent mappings, and since I'm loathe
to change this behavior even though I kind of don't
agree with it...
instead, I've added a hasMapping() method so that
callers can avoid deleting non-existant mappings
without having to do all of their own book-keeping.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9164 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 03:56:41 +00:00
PSp..om
d440f70d92 SimpleApp now uses FlyCamAppState to manage its
camera (by default).  If the app state doesn't
exist then the camera doesn't get created.  Due
to the volume of apps that will expect a working
camera in simpleInit(), it wasn't possible to
do this as a purely separate app state.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9163 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 02:17:44 +00:00
PSp..om
0c835eae80 Modified fly cam to be a little more resilient
in the face of being called before it sees an
input manager.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9162 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 02:14:03 +00:00
PSp..om
fef809b3f0 Removing some empty methods that I left in by
mistake.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9161 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:40:48 +00:00
PSp..om
f9ab14b751 Added a method to unregister from the input manager.
Untested and incomplete because some things can't
be undone.  Better than nothing.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9160 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:34:48 +00:00
PSp..om
4c18bfaecb Moved the stats view stuff out into an app state
that is added automatically as part of simple app
construction.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9159 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:12:10 +00:00
PSp..om
a2043b3ded Modified to tracks its enabled state so that it
can really be disabled.  I will move the 
statistics.clearFrame() on my next commit.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9158 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:05:50 +00:00
PSp..om
05a88493a8 Added an accessor for Timer.
Moved the creation of the state manager into
the constructor.  Logically it should exist
as early as possible.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9157 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 00:19:13 +00:00