rem..om
203bc00a7d
Lighting material now normalize normal value read from the normal map to avoid banding artifacts
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9261 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
fecf355de2
ChaseCam : changed all private attributes and methods to protected so people can extend the chaseCam behavior as they see fit.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9260 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
cf93c2c6fc
Fixed issue when the last waypoint of a motion path was not triggering listeners
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9259 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
7f6ce84ffd
Implemented setSpeed for animationTrack as it needs special treatment
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9258 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
1945a0c1c0
BatchNode and GeometryBatchFactory now uses the material's isEqual method to gather the geometries to batch
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9257 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
55b8188d20
Material has now a isEqual method that compares materialDef, material params and material additional render state
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9256 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
533fb86c50
Down to 260 Javadoc warnings from 324
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9255 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
0af3e46a45
Added move speed and rotate speed getters in FlyByCamera
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9253 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
ee69225ad0
fixed some normal calc issues in LODGeomap
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9252 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
940232406e
* Fixed town.zip by getting it from googlecode downloads
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9248 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
9378179d94
- Fixed camera "twisting" when rotating up/down when zoomed-in. The min rotation is hard-coded to -90 degrees down (the up remain settable).
...
- Added flag to enable rotating down when zoomed out.
- Added getter/setter to enable/query if down rotation is only on "close view" (zoomed-in).
- Javadoc for certain method clearly explaining the "angles" are in radian.
Note:
To enable down rotation when zoomed out, you have to call setDownRotateOnCloseViewOnly with FALSE and also set a minimum radian with setMinVerticalRotation(radian) as it is by default to 0.
Ex:
chaseCam.setDownRotateOnCloseViewOnly(false);
chaseCam.setMinVerticalRotation(FastMath.DEG_TO_RAD * - 90);
This would enable rotation when zoomed-out down to -90 degrees, effectively having the camera looking up to its tied spatial.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9247 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
94e0937bb6
Fixed an ArrayIndexOutOfBound in animationFactory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9246 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
07e96d02eb
Fixed an issue in AnimationTrack when time was skipped out of bounds of the animation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9245 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
8ab5a211e2
Removed previously committed System.out from AndroidAudioRenderer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9244 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
218f082c8b
Properly stopping and resetting Medialayer in AndroidAudioRenderer to be able to play an audio node more than once without failing.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9243 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
d6bf9372bf
Fix to 3D material definition for blender loader.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9242 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
1a771236cf
fix NPE in AndroidHarness when quitting (thanks iwgEric)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9241 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
511a11fc7c
Moved the creation of the guiFont into a separate
...
method that can be overridden by subclasses.
This isn't really complicated enough to move to
an app state and the fact that the field is
exposed is already sort of "unclean" anyway.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9240 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
8eae2cfd8a
Cinematic, fixed time seeking when having several SpatialAnimation with a speed > 1
...
fixed an issue in soundTrack crashing when time was < 0
properly implemented GuiTrack stop() method
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9239 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
191bd21b40
Removed AndroidHarness specific calls from the OGLESContext.
...
- The harness is now a system listener and dispatch the system events to the jme app
- Every Harness related code is now in the harness (exit hook dialog, and mapping addition, spash screen hiding,....)
- Added a handleExitHook flag to configure if the Harness should handle exit or not.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9238 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
e769d453ec
added recalculateAllNormals() to TerrainQuad
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
d2b727cfd8
Android : OGLESContext can now finish the activity when being destroyed, this way calling app.stop() from jME finished the associated activity.
...
This feature can be disabled by setting a flag in the MainActivity.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9234 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
2bde71b08a
Early out on initializePending and terminatePending
...
if the array is empty.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9233 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
654c44abdd
Jme nifty render device optimization :
...
- Banished color buffer updating at render time (except for gradient quads that uses vertex color)
- fully transparent quads are not rendered anymore (that avoid rendering transparent layers allowing complex layout for free).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9232 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
6087a930df
Formatted code of RenderDeviceJme before comming changes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9231 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
nor..67
50f266f843
- optimize BatchNode.batch a bit
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9224 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
5671358657
Soft particles implementation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9223 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
787e912591
Fixes to AWT textures blending.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9222 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
Sha..om
9ddb941daa
* Fix javadoc error in Transform.loadIdentity()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9220 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
b2e086bbee
* Added ResolutionInverse (thanks kwando)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9210 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago