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
Sha..om
78bbe9b251
* Fix issue where blender animation importer was truncating the animation duration to an integer (thanks rectalogic)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9626 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-06 20:57:45 +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
0a38ca0cf4
* GLSL spec allows having unset uniforms/attributes/varyings as long as they are not used in the shader, thus they are now always in scope
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9622 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 21:59:58 +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
277a2bcc4d
* SDK build fixed. Normen now owes me a beer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9620 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 05:53:50 +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
ac0f3a107c
* Fix issue where setting texture on renderer with no mipmaps and then setting the same texture with mipmaps would prevent them from being generated (fixed for desktop GL1/GL2 and android)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9617 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 23:17:29 +00:00
Sha..rd
e78474a5b1
* Fix issue 506
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9616 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 21:52:17 +00:00
Sha..rd
be58274ab8
* Fix issue 520 again: pressing mouse over jme and releasing over nifty did not tell jme about the release.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9615 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:39:15 +00:00
Sha..rd
f82be26af8
* Fix issue 520
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9614 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:34:16 +00:00
Sha..rd
8e153c0379
* LwjglGL1Renderer: do not set vertexbuffer on mesh if vertexcolor is disabled. This fixes issue where an unshaded material still uses vertex colors even if they are disabled.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9613 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:32:57 +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
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
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
Sha..rd
6c12291559
* Missed this one yesterday, removed FixedFunc name from UnshadedArray.j3md
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9558 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:42:20 +00:00
Sha..rd
eae0a18246
* Fix crash in SaveGame class due to lack of regex escape -> used char token instead
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9557 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:40:32 +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
9b9fa57de4
* Formatting and names in ShaderDebug
...
* Remove shininess=0 in TestParallax, its bad
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:33:09 +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
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
2012-07-10 04:00:03 +00:00
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
2012-07-10 03:56:51 +00:00
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
2012-07-10 03:53:53 +00:00
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
2012-07-10 03:49:05 +00:00
Sha..rd
cc3577acdc
* Android renderer now supports configuration changes (see: http://jmonkeyengine.org/groups/android/forum/topic/supporting-device-configuration-changes/#post-181170 )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:46:44 +00:00
Sha..om
5d982c71d1
* Applied wezrule's patch: http://jmonkeyengine.org/groups/physics/forum/topic/making-an-object-hover-purely-by-applying-forces/#post-181360
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9542 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-09 14:08:00 +00:00
Sha..rd
050f630383
* Fix issue 514
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9541 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-08 19:39:18 +00:00
Sha..rd
0ba541ecd1
* Display initialization will not continue if crash is encountered
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9535 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-30 18:07:32 +00:00
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
2012-06-30 18:03:51 +00:00
Sha..rd
8d7b054b31
* Sky shader now normalizes direction in fragment shader instead of vertex shader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9533 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-30 18:01:50 +00:00
Sha..rd
c498e79511
* Gui shader now supports vertex color on GL1
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9532 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-30 18:00:53 +00:00
Sha..rd
ca3f1d941a
* Fix issue 505
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9506 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-16 19:47:38 +00:00
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
2012-06-15 02:27:08 +00:00
Sha..rd
8cf238a262
* Fix crash when loading animated OgreXML model exported from blender2ogre 0.5.7
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:53:20 +00:00
Sha..rd
5730bf67d8
* Removed useless code / formatted DefineList
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:52:35 +00:00
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
2012-06-14 00:52:04 +00:00
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
2012-06-14 00:25:21 +00:00
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
2012-06-14 00:21:50 +00:00
Sha..rd
fbf29530f3
* Deprecated FloatToFixed: You should use regular floats on Android instead of using fixed decimal format (most mobile GPUs support float anyway)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:18:04 +00:00
Sha..rd
37aa17302f
* Octree/Octnode: construct method now takes arguments for max depth, max volume, and tris per node
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:17:03 +00:00
Sha..rd
1ef93999a3
* Fix issue 391
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9447 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-01 22:37:02 +00:00
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
2012-06-01 20:44:23 +00:00
Sha..om
68551c8c17
* Fix issue 490
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9444 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-01 04:16:13 +00:00
Sha..om
59336dee4d
* Fix issue 464
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9443 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-01 04:09:27 +00:00
Sha..om
3cdeb6ed4d
* Fix issue 476
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9442 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-01 04:05:37 +00:00
Sha..rd
4ee09fa52e
* Ogre3D models exported from blender2ogre / Blender 2.63 now work by avoiding submeshname DTD violation
...
* Small grammer fix in FileLocator exception
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9441 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-01 03:09:50 +00:00
Sha..rd
fedcc577a2
* The javadoc will have the protected fields now
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9439 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-31 00:35:24 +00:00
Sha..rd
1009cd18b0
* Running jME3-android in emulator with GPU emulation now supported but sometimes there are opengl errors (?)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9428 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-25 04:25:44 +00:00
Sha..rd
e18d1c261c
* Prevent ActionListener.onAction( ... , true ) from being called repeatedly when using AWT panels
...
* Formatting in AwtMouseInput
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9426 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-25 00:29:35 +00:00
Sha..rd
c34189dfe5
* Removed all "verbose logging" parts of OGLESShaderRenderer, as it made the code hard to read. This sort of logging functionality should be done in a "GL Wrapper" sort of class instead.
...
* The AndroidImageInfo.notifyBitmapUploaded() method is now called at the end of the upload as expected
* Huge overhaul of TextureUtil. It automatically compresses textures to ETC1 if selected by user. In addition, it will use hardware mipmap generation if possible, and fallback to software if not (e.g. for compressed textures)
* Add support for DXT1 format (usually supported on NVIDIA Tegra devices). The BrightSky.dds skybox now works on Android if the device supports it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9410 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 22:11:59 +00:00
Sha..rd
4be1d2be1e
* AndroidImageInfo now supports getting notification when the bitmap has been successfully uploaded to GL
...
* AndroidAudioRenderer no longer prints silly debug messages
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9409 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 19:56:39 +00:00
Sha..rd
8b5f4cba36
* BufferUtils.destroyDirectBuffer() now works on Android
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9408 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 19:54:58 +00:00
Sha..rd
29b2596359
* Removed various misc handling code from AndroidHarness to OGLESContext/JmeAndroidSystem to ease using jME3 outside of AndroidHarness
...
* Misc formatting changes in AndroidConfigChooser
* AndroidLogHandler now takes parameters into account
* Added additional settings in AppSettings to configure mouse emulation
* JmeSystem will now automatically try to load JmeAndroidSystem if it fails to load JmeDesktopSystem
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9407 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 19:53:13 +00:00
Sha..rd
05d5c611e1
* AndroidAssetManager no longer fails on missing plugin classes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9406 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 19:49:36 +00:00
Sha..rd
e71f33ef7a
* Removed Geometry.setTransformRefresh() which was identical to Spatial.setTransformRefresh()
...
* SimpleBatchNode now calls setTransformRefresh() directly instead of duplicating the code
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9405 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 19:47:51 +00:00
Sha..rd
45534ab0b8
* FlyByCamera now uses Quaternion.normalizeLocal()
...
* Quaternion.normalize() which was deprecated has now been removed
* Quaternion.normalizeLocal() now returns "this" object
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9404 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 19:42:30 +00:00
Sha..rd
0090d4eaad
* Fix spelling/grammer errors in BatchNode javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9401 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-19 21:40:50 +00:00
Sha..rd
a99d94c263
* Fix bug where animation loop mode "Cycle" would start at the end of the animation at each cycle causing discontinuities in the animation
...
* Fix bug where blending between the animations of a bone that did not have keyframes on the 2nd animation would fail and cause snapping / incorrect blending
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9400 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-19 20:57:08 +00:00
sha..rd
2cec3f82eb
* Fix ClassCastException when loading old blender-based j3o files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9381 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-13 01:13:45 +00:00
Sha..rd
4fc046a0e1
* Particle meshes now call updateCounts() when number of particles changes. This might fix native crashes in some cases.
...
* Removed completely useless merge sort on the entire particle array from ParticleTriMesh ...
* Added a small note in the javadoc of VertexBuffer.updateData() regarding bizarre issues
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9380 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-12 19:48:49 +00:00
Sha..rd
30dfa52f51
* TGA loader now supports loading colormapped (non-RLE only) images
...
* A non-supported format now yields correct message in TGA loader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9379 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-12 19:19:26 +00:00
Sha..rd
cac820803b
* Better checking for MRT in renderer (first against max color attachments then against draw buffers)
...
* Now uses only OpenGL2 draw buffers instead of relying on GL_ARB_draw_buffers existing
* copyFrameBuffer() was non-functional when used against the main framebuffer because the width/height were set to zero erroneously, now it uses the current viewport parameters.
* Added TestRenderToCubemap to demonstrate render to cubemap functionality, it also uses MRT to render to all the cube sides
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9378 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-12 18:38:31 +00:00
ShA..Rd
960837fe02
NORMEN IS ALWAYS RIGHT
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9360 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-08 17:45:41 +00:00
ShA..Rd
2339b7d2e5
* Fix Material.hashCode/equals and RenderState.hashCode()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9359 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-08 16:16:45 +00:00
ShA..Rd
3d60482b46
* Fix paul complaining
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9340 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-01 14:19:12 +00:00
ShA..Rd
807a3e6fc5
* Fix incorrect format for DepthStencil in TextureUtil (fix potential GL issue)
...
* Fix tex3DThumb.frag compile error (implicit int -> float conversion)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9339 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-01 14:15:39 +00:00
ShA..Rd
ac59c1ffdf
* Fix link error in glow material techniques
...
* DesktopAssetManager now works as before (flipY and generate mips options are enabled)
* Fix crash in TestSimpleWater
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9322 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-19 02:25:10 +00:00
Sha..rd
7ec115a768
* AssetManager now returns AudioData instead of AudioNode (similar to new Material() type behavior)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9321 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-16 04:49:21 +00:00
Sha..rd
60e0e46344
* Remove usage of "SimpleTextured" shaders from other materials
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9320 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-15 21:20:37 +00:00
Sha..rd
9390125d6c
* NativeObjectManager is now limited for 100 objects deleted per frame to reduce spikes with large heap config
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9319 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-15 19:38:39 +00:00
Sha..rd
0751d9ff76
* Added methods to DesktopAssetManager: addToCache/getFromCache/deleteFromCache/clearCache
...
* Added new method to AssetCache interface to specify that registerAssetClone() won't be used (for the methods used above)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9318 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-15 18:30:04 +00:00
Sha..rd
c8fa79fbd6
* Fixed issue where an ogre3d animation with no tracks would load, but cause a NPE when loaded again from J3O
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9317 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-15 17:20:04 +00:00
Sha..rd
ad01d36915
* Added shader validation system. Requires either NVIDIA Cg or GPU Shader Analyser to be in the path. Run the ShaderCheck class to see which jME3 shaders fail validation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9316 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 20:22:13 +00:00
Sha..rd
5d37b914e1
* Removed deprecated material definitions
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9315 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 20:19:13 +00:00
Sha..rd
2d12c4eaf8
* Fix compile error in TestPostWater
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9314 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 20:16:49 +00:00
Sha..rd
9c2257ff8e
* Added TestCustomLoader example for asset manager
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9313 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 20:07:34 +00:00
Sha..rd
12d3e277e6
* Added new Jheora video system, however as advertised, audio will NOT work. If you want to try and fix it, go ahead.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9312 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 20:05:56 +00:00
Sha..rd
988110e360
* Removed deprecated methods from AudioNode
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9311 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 20:01:15 +00:00
Sha..rd
924d83ffdb
* Fixed up ThreadingManager to actually work with the asset manager, even though nobody uses it
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9310 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 20:00:42 +00:00
Sha..rd
bd4214f3bd
* AssetCache is now an interface and can be extended by user. Moved to com.jme3.asset.cache package.
...
* Added 3 implementations of AssetCache: SimpleAssetCache, WeakRefAssetCache and WeakRefCloneAssetCache
* Added AssetProcessor interface that handles cloning and post processing of assets after they are loaded
* AssetKey can now configure which cache/processor to use for a particular asset type
* Added AssetManager unregisterLoader method
* AssetManager now supports more than one AssetLoadListener
* Javadoc improvements in AssetManager
* Asset interface now renamed to CloneableSmartAsset (which more accurately describes its behavior and use case)
* DesktopAssetManager now makes proper use of the new AssetProcessor/AssetCache classes when handling asset loading
* Added proper equals/hashCode methods to many AssetKey subclasses, which is required for the new system to work properly
* All AssetKeys were rewritten to work with the new asset system
* loadAsset(AudioKey) now returns an AudioNode and not AudioData, similar to the behavior of loadAsset(TextureKey) returning a Texture and not an Image. Because of that, the key storage in AudioData has been removed.
* Texture, Spatial, and Material are all cloneable smart assets now and will be cleared from the cache when all instances become unreachable
* Improved the existing TestAssetCache test to make sure the new system works
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9309 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:58:17 +00:00
Sha..rd
0c37fc46e9
* Fix crash in TestAbsoluteLocators
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9308 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:45:34 +00:00
Sha..rd
79194f054c
* License and formatting in GeneratedTextureKey
...
* TestJoystick now assigns input mappings for all joysticks instead of just the first one
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9307 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:43:24 +00:00
Sha..rd
633871f58f
* TestLeakingGL no longer uses Mesh.setInterleaved() which is deprecated
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9306 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:42:01 +00:00
Sha..rd
90f32dc703
* Proper equals/hashCode methods in OgreMaterialKey/OgreMeshKey
...
* Formatting in MaterialExtensionSet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9305 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:38:42 +00:00
Sha..rd
f844ca429f
* JmeFormatter now uses non threadsafe StringBuilder for performance
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9304 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:36:02 +00:00
Sha..rd
f6b5335976
* Formatting and minor changes in Curve, Cylinder, PQTorus
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9303 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:34:19 +00:00
Sha..rd
0aa5efb028
* Added license text for asset exceptions
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9302 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:32:11 +00:00
Sha..rd
c67e6d32c5
* Since AssetManager registerLoader/Locator method that take a string class are deprecated, AssetConfig will no longer use them
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9301 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:30:47 +00:00
Sha..rd
0c1294c57c
* Mesh/GImpact collision shapes now support triangle strips/fans through Mesh.getIndicesAsList() method
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9300 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:29:07 +00:00
Sha..rd
1da836ea72
* Blender user properties no longer savable, as it is not allowed to have non-core data in j3o
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9299 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:28:01 +00:00
Sha..rd
f68475319a
* Added new image format: Depth24Stencil8, for framebuffers and textures that need stencil data
...
* Renderer now uses getArray() to access mesh's buffers
* GL image format data now stored in a special data structure for easier management (instead of huge switch/case statement)
* Android texture loading: If the format is not supported by GLES spec, the texture upload will fail
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9298 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:26:22 +00:00
Sha..rd
cf9d5b5ebc
* Remove some useless files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9297 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:21:41 +00:00