PSp..om
81837959b1
A refactoring of the joystick class to provide more
...
information about buttons and axes and allow slightly
easier hook-up of stanard triggers.
The events have also been expanded to include the
actual JoystickAxis and JoystickButton objects.
Changes to the JInput joystick support coming next
commit. Android joystick stuff was modified to compile
but is totally broken with this change until the code
can be properly updated.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9760 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
iwg..ic
8daa039ecc
Add methods to control FlyByCamera zooming speed.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9759 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
iwg..ic
47cb989c63
Added mapping of Android Scale Gesture (ie PinchZoom) to mouse wheel. If mouseEventsEnabled is set, mouse wheel reacts to the gesture.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9758 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
c31c7a406b
BatchNode : fixed bounding issue
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9755 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
5f88d137a8
* Add RenderManager.setUsingShaders() method in case it is used directly (without RenderManager.render()).
...
* Fix issue where LwjglOffscreenBuffer's thread would freeze after it has been destroyed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9753 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
384f4ac1c2
Lighting and Shadows (PSSM only) :
...
- re introduced the alphaDiscardThreshold as explained in prvious commit. It's not binded to the AlphaTestFallOff fixedfunc binding
- Added a small poly offset to post shadow technique, this greatly help in fixing shadow acne.
- Added Poisson disc sampling PCF Filtering for shadows
- Properly passed the shadow map size as a define in the shaders and remove the hardcoded value
- Pssm15 don't use the textureSize function anymore and use the same shadow map size define ( this increased performance quite a bit)
- Optimized the shaders code a bit
- Better PSSM test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9750 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
2915316e45
One can now have a block ForcedRenderState in a technique defnition. this renderstate if filled will be forced into the renderer when the technique is forced
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9749 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
eab37f7fce
Reverted changes in RenderManager from previous commit as they were not meant to be committed and unrelated to the change
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9748 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
5111fd8b66
Implemented fixedfunc binding for AlphaTestFallOff
...
- Made the relvent changes in lwjgl1Renderer
- Changed the check in the lwjglRenderer (note that it's deprecated in opengl 3)
- Removed the test in the OglESRenderer since GL_ALPHA_TEST/GL_ALPHA_FUNC no longer exists in OGLES 2, this must be handled in the fragment shader aka the alphaDiscardThreshold that is coming back in an upcoming commit.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9747 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
f7a653088f
* Put rangeCheck() back
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9743 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
105d27fddf
* Problem: Slow. Solution? Speed.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9742 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
47563c2cf1
* .. and here's the change that makes the previous change actually faster
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9741 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
dbc59934a7
* Added new image codec that should be faster for byte component image formats like RGBA8
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9740 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
f9e99ab956
* Fixed rather silly bounding box computation bug. Thanks to @raistm .
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9733 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
5635bc2ff1
Geometry : fixed an issue where batching information were copied over cloning causing problem because the cloned geometry was marked as batched but was not.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9731 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
2577485727
BufferUtils : ensureLargeEnough now set the limit to the buffer capacity if it exists to avoid creating a new buffer instead of reusing the previous one.
...
see http://jmonkeyengine.org/groups/development-discussion-jme3/forum/topic/bugbufferleak-in-ensurelargeenoughbitmaptextpage/?#post-188976
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9730 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
a2ff0ba179
* Fix issue where a bone weight in a vertex was set to all zero would cause the vertex to snap to 0,0,0
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9726 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
8c2bdebbae
* AnimControl now forces the animation map to be non-null in all cases - when creating a new AnimControl, cloning it or loading from J3O.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9725 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
c929d0ca41
Bugfix: added jme serialization for CameraNode, LighNode, CameraControl and LightControl (as suggested by @rectalogic ).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9721 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
a498a1cdc9
Changing default value for controlDir. It is now SpatialToCamera instead of CameraToSpatial.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9718 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
07a6ca931f
* Fix "particlesPerSecond set to 0 accumulates timeDiff" issue
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9713 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
6aefda2e38
* BatchNode / GeometryBatchFactory now batch animated models correctly. Note that any control(s) are removed during the batching process, and must be re-added after batching for animation to work.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9712 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
2a11aae3a4
* ImageRaster now supports Android. However the constructor can no longer be used. Instead user should create it by using ImageRaster.create() which automatically defers the handling to JmeSystem.
...
* TestImageRaster tests both reading and writing from various types of formats now by chaining the image conversions
*
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9710 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
3c4405868a
* Fix incorrect bounding box calculation when points are not centered on origin
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9706 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
9ad757596b
* Fixed issue where using images with pregenerated mips would cause performance loss due to them being generated again and again
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9703 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
iwg..om
39f265f50e
Adding Android Sensor support as simulated joysticks. Only orientation is supported right now, more sensor types to be added later. When device orientation changes, Joystick[0] is updated just like using an actual joystick. Users need to add "joystickEventsEnabled = true" to the MainActivity to enable the orientation joystick so battery life is conserved if sensor data is not desired. See http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for the long history.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9700 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
e253546982
ChaseCamera : added a hideCursorOnRotate flag to the chaseCam to prevent interfering with nifty.
...
See forum post
http://jmonkeyengine.org/groups/gui/forum/topic/nifty-window-not-accepting-input-after-clicking-into-the-scene/?topic_page=3&num=15#post-189063
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9697 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
5c9afd9d59
LightNode now properly works with SpotLight
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9696 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
96b60664a9
- add Filter support to AssetManager (thanks to @rectalogic )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9684 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
133bd21ab9
- Fixed bug where if you set minDistance that is higher than the current distance, the camera view would still remain at the old distance.
...
- Same as above but for maxDistance.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9680 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
206a6b74f3
UserData : setUserData(someKey,null) now properly removes the user data from the map.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9670 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
a04d5dde01
BufferUtils : Apply changes made by Empire Phenix to properly track direct memory. This feature is defaulted to off.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9669 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
37710098a2
ParticleEmitter : created a RadialParticleInfluencer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9664 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
27930a7cd9
DefaultParticleInfluencer / NewtonianParticleInfluencer : Fixed initialVelocity attribute naming that was kept as startVelocity while acessors where get/setInitialVelocity.
...
- Also changed serialization to reflect this change and incremented the serialization verison of DefaultParticleInfluencer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9663 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
aacc136aa8
ParticleEmitter : RotationSpeed has now an effect when setting a faceNormal to a ParticleEmitter
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9661 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
0ddc10a0c0
* Fixed minor javadoc issue
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9657 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
6f5d4ef943
* Added ViewPort.clearProcessors() to remove all processors from a viewport
...
* Make JmeSystem error message regarding delegate more readable (split to another line)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9656 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
f5f3a85042
* Added new ImageRaster thing, it can let you read and write pixels on jME3 images without caring about the underlying format. NOTE: None of the jME3 internal classes use it yet, the code has yet to be ported.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
69cbad9ce9
* Deprecated Intensity formats and RGB10, these never worked, and never will
...
* Fixes to Alpha16, Luminance16, Luminance16F, Luminance32F, Luminance16Alpha16, Luminance16FAlpha16F, RGB16, RGB16F_to_RGB111110F, RGBA16 image formats.
* Added support for ARGB4444 format on destop
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9654 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
pot..om
16851eb1d8
Removing Android Sensor Support (undo r9610). Preparing for new way of implementing sensor support on Android.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9646 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
3bd77d3048
Changed the way EffectTrack and AudioTrack are serialized.
...
EffectTrack and AudioTrack can now porperly update their reference to the Spatial they are using upon loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9634 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
ae3cc96caa
Fixed issue http://code.google.com/p/jmonkeyengine/issues/detail?id=524
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9633 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
ef98888ce7
EffectTrack now disable and cull the emitter once all particles are gone
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9625 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
2ab5e4abbe
* Nifty GUI now uses Unshaded.j3md for rendering which is cleaner
...
* Nifty GUI performance much faster, but global font text isn't taken into account in OGL1 mode (fix TBD)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9624 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
38ff6f7560
* Fixed issue where setting an unset define then setting an already set define would cause the unset define to not be updated in the shader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9623 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
dba5ba5851
* Fixed culling with asymmetric frustums
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9621 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
896c0d31a5
* Forgot to commit this quite crucial class ..
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9619 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
b0286ae5ff
* Fixed "IllegalArgumentException: Comparison method violates its general contract!" issue with CollisionResults
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9618 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
20566963f8
* Add javadoc for InputManager.setMouseCursor()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
pot..om
a76f3a2cab
Reset viewport size to current camera settings after reading the framebuffer.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9611 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago