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
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
13 years ago
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
13 years ago
rem..om
91f2353a57
Re-introduced WorldMatrixInverseTranspose in UniformBindingManager
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9603 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
a3255e4f45
* Javadoc fixes to FastMath
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9570 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
rem..om
96ae823504
Fixed viewport uniforms binding
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9561 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
7825249952
* Made some classes pretty, hope you like it
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
27e97c34da
* 'FixedFunc' technique were wiped out entirely. Not useful since now we choose default technique based on caps anyway.
...
^ Make sure to fix your materials by removing the 'FixedFunc' name from your fixed pipeline techniques! Or remove then entirely if the material doesn't support OpenGL1 ...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9546 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
55d75c5abc
* Shader now stores shader language in the ShaderSources instead of the Shader itself (everything makes a lot more sense now).
...
^ Make sure your shader languages are appropriate for each shader type (vert / frag) in your J3MS!
* Shaders no longer have the "usable" member and the renderers don't use it either (its useless)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
af7435ffdf
* jME3 now shows error dialog on exception by default (unless user overrides handleError)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9544 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
c2ac08f70b
MotionPath : fixed waypoint triggering on low framerate.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
a6c4f99412
FastMath: fixed javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9539 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fd9f274049
* Committed fixes to mesh animation classes (not currently used). See http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/fix-to-ogre-mesh-animations-deserializing
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9534 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
d649505a6c
Modified to do the method lookups on first class
...
access and removed the (now) unnecessary threading
synchronization stuff.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9528 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
53dd4c2941
Some additional null checks while I'm in the area.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
11f686b1e0
Some cheap defensive checks that make a nicer
...
(and more local in some cases) error for the caller.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9349bd97c6
MotionPath.setSpeed can now be fed with a negative value to go backward. Waypoints will be properly triggered and the spatial will stop if it reaches the end of the path.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
c373f70d01
* Fixed issue where a model loaded from J3O would crash on render (thanks ghoust)
...
* Uniform.toString() now handles the case where name = null
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
5730bf67d8
* Removed useless code / formatted DefineList
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
b007fd672a
* Added IndexBuffer.wrapIndexBuffer() for wrapping any buffer (convenience method)
...
* All index buffers now rewind the buffer before allowing any read/write ops
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fd03d28d81
* Added AssetKey.clone()
...
* WeakRefCloneAssetCache will attempt to collect GCd assets more often by not relying WeakHashMap to do so
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
7b9b9905ef
* Removed workarounds for setting material parameter with m_ prefix. From now on it will only be supported when loading really old J3O files.
...
* Small optimization: if technique is already loaded, define list will not be reconstructed on define change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
5ac9953f62
Implemented the ability to change the mouse cursor.
...
The way to do this is by calling inputManager.setMouseCursor("path/to/cursor/in/assets/cursor.ani").
NOTE: Supported formats are "RIFF-wrapped" .ani, .cur and .ico. Those can be found everywhere on the web and are the majority of icons found. If the file format is unrecognized the loader will crash with an appropriate message (hopefully).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
b97f8c1271
BatchNode : fixed an issue when a geometry was not unbatched when removed with sometihing else than removeFromParent
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9462 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
855676173a
Re fixed material contentEquals crash when technique is null...but better
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9459 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
3e35e32b2d
Fixed material contentEquals crash when technique is null.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9458 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
2f2c44d6b1
* TangentBinormalGenerator will replace the tangent buffer if it already exists on the mesh, instead of crashing
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9445 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
68551c8c17
* Fix issue 490
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9444 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago