PSp..om
65f8dbf6ae
For the cases where a define has not actually
...
changed, don't reload the shader. This prevents
a lot of extra work from being done.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9139 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
1f0a77de26
Modified the define list to only recompile if
...
values have changed. Also, it returns a boolean
for set and remove on whether a change actually
occurred. This will be used by my next commit
to give a performance boost.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9138 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
b0cff4343e
* Fix View -> Model space for ViewProjectionMatrix
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9137 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
026a5bd0a6
Removed unnecessary System.out's.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9136 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
3bceee24fb
* Fixed syntax error due to implicit float -> vec3 conversion in PostShadowPSSM15.frag
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9134 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
b53a825d35
* Prevent crash when material technique has no world bindings defined. Fixes issue 454
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9129 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
230398c45b
removed some debug code
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9128 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
4edf262021
Fixed FloatBuffer support as well as other
...
buffers that are views of other buffers and
follow the same conventions.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9127 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
0e9f7ea22f
Fixes to limit rotation constraint.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9125 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
c576a12f83
i fixed the problem, are you happy now mark?
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9124 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
bfa243a619
PssmShadowRenderer now have a contructor that takes a material as a parameter to override the post shadow material
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9123 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
0c5e5341bd
Time in cinematic is now computed by stacking tpf
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9122 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
ebb2fca18f
Renamed the destroyByteBuffer method to destroyDirectBuffer
...
because it more appropriately says what it does and this is
a relatively new method. After changing it to work with
any direct buffer it seemed inappropriately named.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9121 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
9ecaf0b96e
Expand the destroyByteBuffer() call to take any
...
Buffer and do a safety check for isDirect().
This should let it free FloatBuffers, etc.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9120 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
b1d4c36fd7
* InputManager fix syntax error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9119 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
965974c18d
- javadoc html tag fix
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9118 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
65afa0bbc8
Fixes to spot light loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9117 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
rem..om
4c7e271606
Fixed Garnaout issue with cinematic \o/
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9102 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
nor..67
697d23ddc0
- fix FXAA shader BlindCoding(TM) bug
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9096 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
e7eba5b155
* Fixed error in TerrainPatch loading
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9067 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
nor..67
b51c736e80
- rephrase and clarify some TextureAtlas javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
nor..67
2511d6960e
- add VehicleWheel.getDeltaRotation(), thanks to @niclas
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9060 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago