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
2012-09-13 14:47:38 +00:00
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
2012-09-10 23:18:40 +00:00
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
2012-09-10 23:09:52 +00:00
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
2012-09-09 23:39:45 +00:00
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
2012-09-06 03:51:46 +00:00
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
2012-09-05 21:26:05 +00:00
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
2012-09-01 21:10:41 +00:00
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
2012-09-01 08:36:17 +00:00
rem..om
5c9afd9d59
LightNode now properly works with SpotLight
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9696 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-31 19:20:09 +00:00
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
2012-08-24 18:17:18 +00:00
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
2012-08-23 06:20:15 +00:00
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
2012-08-19 21:56:06 +00:00
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
2012-08-17 14:36:59 +00:00
rem..om
37710098a2
ParticleEmitter : created a RadialParticleInfluencer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9664 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 21:40:25 +00:00
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
2012-08-16 21:33:49 +00:00
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
2012-08-16 21:30:31 +00:00
Sha..rd
0ddc10a0c0
* Fixed minor javadoc issue
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9657 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 03:27:20 +00:00
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
2012-08-16 03:20:53 +00:00
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
2012-08-16 03:18:22 +00:00
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
2012-08-16 02:19:47 +00:00
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
2012-08-12 01:35:56 +00:00
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
2012-08-10 22:23:13 +00:00
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
2012-08-10 22:17:27 +00:00
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
2012-08-06 18:50:56 +00:00
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
2012-08-05 23:50:54 +00:00
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
2012-08-05 22:00:48 +00:00
Sha..rd
dba5ba5851
* Fixed culling with asymmetric frustums
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9621 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 20:39:05 +00:00
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
2012-08-05 05:41:49 +00:00
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
2012-08-04 23:33:04 +00:00
Sha..rd
20566963f8
* Add javadoc for InputManager.setMouseCursor()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:29:42 +00:00
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
2012-08-04 19:48:35 +00:00
pot..om
bb631ab13a
Adding support for defining external (or internal in Android's case) sensors. This is still a work in progress. Major task yet to complete is defining the coordinate system to return the sensor data. 3 sensor types are defined: Magnetic, Accelerometer, Orientation. Right now the sensor data is returned in device coordinates for Magnetic and Acceleration, and World (Earth) coordinates for Orientation. Sensors use the Input Manager to define triggers and listeners like all other input types. Only Android has an implementation for SensorInput at this time. See forum post http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for details of the operation and current status.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9610 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 01:55:37 +00:00
rem..om
1fbc0cc406
Audio and Effect tracks added a couple of accessors
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9609 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-03 21:06:07 +00:00
rem..om
91f2353a57
Re-introduced WorldMatrixInverseTranspose in UniformBindingManager
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9603 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-30 07:13:00 +00:00
pot..om
eb024346ff
Added constructors and method to allow users to set the file path to store the screenshots.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9597 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-29 01:52:05 +00:00
pot..om
0deeb597f1
Screenshots are now supported on Android. Be Aware, file location for screenshots is now based on JmeSystem.getStorageFolder. This means that on Desktop systems, the screenshots will be placed in the user.home location instead of the application directory. Other changes include: Moved ScreenshotAppState to core, added takeScreenShot method, force glViewPort to full screen to handle cases where the last postView ViewPort isn't full screen. See post http://jmonkeyengine.org/groups/android/forum/topic/screenshotappstate-for-android/
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9595 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-28 23:06:19 +00:00
rem..om
a597f1b19e
Created AudioTrack and EffectTrack to add sound or particle effects to an existing Animation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9589 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-26 16:02:00 +00:00
rem..om
ef6644b58f
FilterPostProcessor now correctly clears the color of the previous render when rendering a new filter, except when in multiviewports.
...
This fixes the color bleeding when enabling AlphaToCoverage. (see post http://jmonkeyengine.org/groups/graphics/forum/topic/multi-sampling-issues/#post-183919 )
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9586 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-25 16:28:52 +00:00
Sha..om
94f424f203
* ViewPort will only set refresh flags on scene if its a Geometry (since normally a node based scene graph would have these flags set already).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9580 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-23 14:52:24 +00:00
rem..om
f3d56b3ee6
BatchNode : fixed an issue where the material map entry was passed to the material.contentEqual instead of the material.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9574 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-21 05:47:40 +00:00
Sha..rd
c7186886bc
* OGLESShaderRenderer.readFrameBuffer() can now read from the main framebuffer in RGBA format.
...
* Add JmeSystem.writeImageFile() for a platform independent image writing method. Desktop and Android implementations are available.
* ScreenshotAppState no longer depends on AWT or Desktop Java, instead it uses JmeSystem.writeImageFile() which will run on Android as well.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9571 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-20 01:06:15 +00:00
Sha..rd
a3255e4f45
* Javadoc fixes to FastMath
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9570 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:52:35 +00:00
Sha..rd
9d95528e21
* Fixed issue where setReverbEnabled(false) after setPositional(false) did not actually remove reverb. Reverb is now removed automatically when setPositional(false) per contract of the method.
...
* Formatted the classes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9569 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:46:04 +00:00
Sha..rd
5497fcc7e6
* Fixed issue where attaching scene to viewport does not force it to update
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9568 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:44:26 +00:00
rem..om
c02b24da12
Cinematics : renamed all XXXTrack in cinematic.event to XXXEvent, so there is no confusion with the Tracks in the animation system.
...
Old XXXTrack classes are now deprecated an just extend the corresponding XXXEvent class.
Also removed PositionTrack, RotationTrack and ScaleTrack for they are deprecated since alpha 3.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9567 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-18 21:16:05 +00:00
rem..om
94ae185d6d
Animation tracks is now a SafeArrayList instead of an array. One can now add a track to an Animation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9565 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-18 16:26:05 +00:00
rem..om
96ae823504
Fixed viewport uniforms binding
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9561 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 15:55:15 +00:00
Sha..rd
0a3f7903a4
* Added methods to BufferUtils to create Vector4f buffers or set them
...
* Start implementing issue 504 (capacity -> limit)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9556 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:39:25 +00:00
Sha..rd
f401c9c1da
* Material world parameters are now set in uniformBindingManager instead of RenderManager
...
* Fix issue 497 -> TempVars are no longer used to set world parameters so they cannot leak onto other params or lighting values
* Uniform is no longer serializable
* Cleaned up uniform from old/outdated stuff
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9555 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:36:06 +00:00
Sha..rd
d46ee26002
* The bounding box will compute faster, maybe even more faster on Android .. If its bad, please go ahead and complain
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9548 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 04:02:57 +00:00