1891 Commits

Author SHA1 Message Date
Kae..pl
65afa0bbc8 Fixes to spot light loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9117 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-28 10:25:11 +00:00
Sha..rd
db4188c797 * InputManager will throw exception if joysticks are disabled instead of returning null
* Allow use of negative program IDs in LwjglRenderer (will continue instead of crashing for "Invalid ID received from driver" errors)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9116 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-28 06:19:51 +00:00
Kae..pl
3a84693f68 Many changes:
- simplified implementation for bones loading
- static bones poses discarded
- loading of object animation for blender 2.50+ added (didn't work for these versions before)
- several small bugfixes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9115 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-27 21:22:11 +00:00
nor..67
fb68a176b5 - fix DefaultServer initialization, it would place a null in the channels list (tcp/udp channels) if there was no UPD poprt specified.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9114 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-27 14:47:33 +00:00
nor..67
9817fa4ef6 - fix GhostObject overlapping objects in native bullet (thanks to @ttrocha) (Fixes issue 457)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9113 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-26 15:39:07 +00:00
rem..om
26665e5df0 GeometryBatchFactory now correctly transforms tangents buffer (it was not taking the 4th component into account)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9108 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-22 11:00:54 +00:00
rem..om
e1d4d66877 BatchNode now correctly accounts for tangents buffer. (the initial copy of the buffer was only accounting for 3 components instead of 4).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9107 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-22 10:50:03 +00:00
rem..om
82b1e94953 Added SpashScreen support for android thanks to iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9106 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-21 09:59:10 +00:00
Sha..om
d6af43a5cb * Removed yet another check for "unknown" joystick type
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9105 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-21 04:52:57 +00:00
Sha..rd
ed1fd4a253 * Try to fix the guys problem with the joystick
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9104 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-20 03:09:22 +00:00
rem..om
33b6bcb20c BatchNode now use bulk copy for untransformed buffers like GeometryBatchFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9103 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 20:02:00 +00:00
rem..om
4c7e271606 Fixed Garnaout issue with cinematic \o/
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9102 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 19:42:27 +00:00
PSp..om
38f56d3f2e GeometryBatchFactory now bulk copies the untransformed
buffers instead of copying them one element at a time.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9101 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 06:22:09 +00:00
PSp..om
1545a83abb Implemented a more efficient way of bulk copying
a vertex buffer's elements to another.
Also modified copyElement to call the new copyElements
call with a size of 1... since they were nearly identical
minus the * len mods.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9100 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 06:21:25 +00:00
PSp..om
e6dc1b7183 Modified GeometryBatchFactory to be thread safe
from other readers of the meshes upon which it is
operating.  At least in theory.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9099 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 06:08:50 +00:00
PSp..om
606b676d69 Modified so that read-only operations will not
clobber each other if done from other threads
and provided a way to safely access the whole
buffer if only read-only access is required.
Round 1 of a fix for GeometryBatchFactory...


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9098 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 05:57:43 +00:00
Sha..om
0f41e1fee1 * nifty - fix incorrect conditional in InputSystemJme.onMouseButtonEvent()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9097 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 00:00:40 +00:00
nor..67
697d23ddc0 - fix FXAA shader BlindCoding(TM) bug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9096 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-18 01:36:13 +00:00
sha..rd
d0699f5c60 * FXAA now supports baseline GLSL 1.00 instead of GLSL 1.3
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9095 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-18 01:14:06 +00:00
sha..rd
e9a28ced31 * Cleaned up FXAA shader, moved requirement to GLSL 1.3, removed dependency on EXT_gpu_shader4
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9094 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-18 00:07:40 +00:00
Sha..rd
b38e545036 * Fix Android 2.2 - 3.2 crash
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-17 02:13:17 +00:00
bre..ns
a59339054a moved some of the terrain utils into tool options in the scene explorer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9080 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-17 01:36:13 +00:00
bre..ns
d28b580640 fixed bug in terrainQuad, uses worldTranslation for coordinate offset now for height adjustment
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9079 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-16 17:17:05 +00:00
nor..67
1cede40383 - make AssetConfig more robust when loading assetmanager config from file
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9074 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-16 00:24:30 +00:00
Sha..rd
22c28bf39a * Remove error message when loading old j3o with TerrainPatch
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9072 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 23:54:05 +00:00
Sha..rd
9dfe1b12f3 * New J3O format version: fixed incorrect serialization of savable versions for certain class hierarchies
* XML import/export now supports global format version 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9070 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 23:17:10 +00:00
Sha..rd
e7eba5b155 * Fixed error in TerrainPatch loading
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9067 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 22:08:49 +00:00
Sha..rd
96bde02de6 * Fix compile error in FrameBuffer, setRefreshNeeded() -> setUpdateNeeded()
* LwjglRenderer - Will only upload buffers that are used by a shader 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9066 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 21:01:41 +00:00
nor..67
60f7963cf4 - add storage folder support to android renderer, thanks @iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 20:36:50 +00:00
nor..67
b51c736e80 - rephrase and clarify some TextureAtlas javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 19:54:14 +00:00
nor..67
3b91333636 - add ImageToAwt fallback (using reflection, no AWT dependency) to TextureAtlas conversion
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9062 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 19:33:27 +00:00
nor..67
8a08f8d505 - add grayscale (Luminance8/Luminance8Alpha8) texture support to TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9061 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 19:02:17 +00:00
nor..67
2511d6960e - add VehicleWheel.getDeltaRotation(), thanks to @niclas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9060 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 17:46:47 +00:00
nor..67
d918cefc17 - add more javadoc to TextureAtlas
- draw images used on multiple maps properly to secondary maps, print warning

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9059 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 17:20:41 +00:00
nor..67
d18460ae33 - small javadoc fixes for TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 15:33:03 +00:00
nor..67
64c5e75684 - add lots of javadoc with examples etc to TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9057 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 15:11:18 +00:00
nor..67
1dab3c2172 - fix svn
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 05:09:39 +00:00
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
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