Sha..om
55ab8f5d30
* Add convenience methods clearUniformsSetByCurrentFlag() and resetUniformsNotSetByCurrent() to Shader (normally this is performed by Material)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10772 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:59:37 +00:00
sha..RD
67ce41ee57
* Make sure to reset planeState and viewportChanged values in when cloning cameras
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10771 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:48:47 +00:00
sha..RD
228a8e2ebd
* VertexBuffer.invariant() - check that buffer position is zero and limit is non zero
...
* Remove unneeded null check when binding uniforms to uniform bindings
* Added Uniform.deleteNativeBuffers() to delete any buffers the uniform might be using (currently independent of Shader disposal)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10770 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:42:36 +00:00
sha..RD
d048d5d6c1
* Avoid FD leaking in AbstractHeightMap save
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10769 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:35:03 +00:00
sha..RD
f94bc8660c
* Avoid FD leaking in binary importer/exporter
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10768 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:29:59 +00:00
sha..RD
7c983e1a3b
* Display LWJGL version when context is created (why was this part removed?)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-21 02:33:51 +00:00
sha..RD
f3c53cf916
* MeshLoader: submesh names were not loaded properly due to incorrect check
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10654 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-21 01:57:29 +00:00
sha..RD
dec182b13f
* Fixed assertion error bug in NativeObjectManager.deleteAllObjects()
...
* Fixed ID collision bug in NativeObjectManager by introducing NativeObject.getUniqueId()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10637 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-01 21:56:06 +00:00
sha..RD
725fb33983
* Fixed bug where verts uninfluenced by bones would not work correctly in hardware skinning
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10633 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-27 21:29:35 +00:00
sha..RD
04196e40ea
* When deleting native object, avoid using toString() for logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10632 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-23 02:46:48 +00:00
sha..RD
7ecc8790a4
* Added overview / explanation on what Material.render() does
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10631 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-23 01:58:41 +00:00
sha..RD
efa80e0e2d
* Fix syntax error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10619 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-16 00:56:46 +00:00
sha..RD
d6fbd97482
* Add NativeObject.dispose() which deletes the object from GL driver, and if UNSAFE=true, also native buffers.
...
* Rename NativeObjectManager.registerForCleanup() -> registerObject() so that its not confused with enqueueUnusedObject()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10618 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-16 00:53:58 +00:00
sha..RD
bf2a663022
* Remove deprecated fields from shader class
...
* Add package private deleteNativeBuffers() in NativeObject (usage TBD)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10617 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-16 00:34:16 +00:00
Sha..om
e4478dc65c
* SkeletonControl: Update targets and materials only for the first camera in which a model is rendered.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10586 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-29 17:14:58 +00:00
sha..RD
199378ca2f
* Fix PerspectiveLodCalculator by not caching entropies in object (since they vary per block)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10573 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-25 00:40:25 +00:00
ShA..Rd
06c4dcd7f7
* Fix issue 574 (by extending JFrame instead of JDialog)
...
* Fix issue 561 by throwing exception on invalid values
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10570 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 18:01:17 +00:00
ShA..Rd
6e021b4504
* Fix issue 584 and issue 562 (minor typos)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10569 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:40:00 +00:00
ShA..Rd
bd39ff1b6e
* Fix issue 570
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10568 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:38:35 +00:00
ShA..Rd
d64eec7d1b
* Fix issue 569 by using googlecode server instead of jme website which blocks java connections for some reason
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10567 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:36:55 +00:00
ShA..Rd
a31c8ec884
* Ogre Importer: No longer crashes if submesh name index is out of bounds. Fix issue 548.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10566 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:25:28 +00:00
ShA..Rd
ada98f7033
* AppState documentation improvements according to issue 589
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10565 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:15:29 +00:00
ShA..Rd
7e6534c1b7
* UnshadedArray shader will attempt to enable the relevant texture array extensions, otherwise it shouldn't work at all (don't know why it did)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10564 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:01:25 +00:00
ShA..Rd
1aa0f9d7bd
* LwjglRenderer adds capability for texture array support if OpenGL 3 is available
...
* Renderer will check texture array support prior to uploading texture
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10563 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 17:00:25 +00:00
ShA..Rd
fbac631160
* TextureArray constructor ensures all images passed to it have the same format and dimensions, otherwise an IllegalArgumentException is thrown
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10562 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 16:58:40 +00:00
ShA..Rd
1f27804716
* Fix issue where lighting shader would not compile when vertex lighting is used (due to recent HW skinning changes)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10561 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-19 16:57:57 +00:00
sha..RD
0f21f19735
* Mesh.prepareForAnim() is now much smarter about what to do. It won't convert the buffers unless absolutely necessary and apply the proper usages to the buffers as needed.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10555 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 04:14:55 +00:00
sha..RD
b6afd61ef0
* Lighting shader now supports HW skinning
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:03:55 +00:00
sha..RD
d9e3af1795
* Unshaded material now supports HW skinning
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10553 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:02:55 +00:00
sha..RD
c21b60fbe7
HW Skinning
...
* Added check in shader for number of bones
* Fix crash when Skinning.glsllib is imported by shader
* Fix incorrect transform of tangent vector in shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10552 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:02:12 +00:00
sha..RD
8c1e5c9cf9
* Set AndroidHarness contentView to a TextView (not GLSurfaceView) onDestroy(), perhaps it will help with OOM issues
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:00:58 +00:00
sha..RD
281f9b6c20
* Fix various issues with HW skinning state in SkeletonControl. setHardwareSkinningPreferred(boolean) can be used to request HW skinning, and isHardwareSkinningUsed() to see if its actually being used or not.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10550 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 03:00:08 +00:00
sha..RD
b0f2e17db2
* List of native objects in NativeObjectManager is now a HashSet instead of an ArrayList, for faster add/remove calls
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10549 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 02:56:54 +00:00
sha..RD
5e6b9a3746
* Fix use of deprecated Box constructor in TestBox
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10548 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-18 02:55:32 +00:00
sha..RD
bd9f389108
* Added joystick mappings for wireless Xbox 360 controller. Back shoulder buttons are not supported because its not possible to convert axis into button at the moment.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10546 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-17 03:50:28 +00:00
sha..RD
07a459555d
* Added test to demonstrate what happens to a deleted texture when trying to use it with OpenGL
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-17 01:50:37 +00:00
Sha..om
3195940994
* Fixed issue 590 (Uniform.setVector4Length() re-allocating buffer even when not needed)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10544 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-16 15:21:41 +00:00
Sha..om
c972861331
* Fixed issue 583 (Matrix4f.multAcross() not working correctly)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-16 15:15:24 +00:00
sha..RD
a725516f00
* Fine, Eric.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10527 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 02:12:33 +00:00
sha..RD
cb0a2ed1cd
* Throw UnsupportedOperationException if multiple FBO color attachments are used on Android (only a single attachment, GL_COLOR_ATTACHMENT0, is supported)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10526 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 01:06:19 +00:00
sha..RD
27bf244729
* Added glGetError() checks after every GL call (its ugly, I know, but it helps with debugging). Added option to disable it with constant on RendererUtil.ENABLE_ERROR_CHECKING.
...
* Set lastFb in OGLESShaderRenderer when context is reset, this is needed otherwise the state tracker would not work correctly.
* Fix issue with Mesh.Mode.Hybrid that wasn't rendering triangle fans correctly (was rendering them as triangle strips instead).
* Remove call to glPointSize in OGLESShaderRenderer (it would most likely crash anyway, since GLES10 calls can't be used in a GLES20 context)
* TestCustomMesh now uses shorts instead of ints for the index buffer. 32-bit indices are not supported on Android and are slower on Desktop, don't use them if you can avoid it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10525 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 01:01:24 +00:00
sha..RD
9f4f321098
* Semi-colon.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10524 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 19:16:44 +00:00
sha..RD
30c7347cdf
* If the render buffer storage format is 0 (not supported), throw exception instead of passing invalid enum to a GL call
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 19:05:34 +00:00
sha..RD
bcf3b7e7b6
* Added proper checks for RGBA8 support. All formats now specify the renderBufferInternalFormat
...
* Added support for depth24 and depth24stencil8
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10522 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 19:01:04 +00:00
sha..RD
c994965510
* Fix GBF crash when merging with blender models (since they have index component count = 1)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10306 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-02 20:03:16 +00:00
sha..RD
d6448dd112
* Ensure bind pose format and num components matches base buffer. Fixes crash when batching model with 3D tangents
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10219 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-28 02:29:49 +00:00
Sha..om
cc9379b42a
* Check to ensure all buffers have the same number of components when merging.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10214 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-28 01:50:43 +00:00
sha..RD
84183ad154
* Material.setParam() now calls setTextureParam() instead of messing up internal state if the type is a texture
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-27 23:05:08 +00:00
sha..RD
9eb9463261
* Ensure that MatParam.value and MatParamTexture.texture always match, and throw exception if they dont
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10208 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-27 23:00:39 +00:00
sha..RD
fd0c0fc0a1
* Made all placeholder assets loaded have correct asset keys (based on the key that was used to load them)
...
* Also made the placeholder texture use repeat mode if the original was supposed to use it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10207 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-27 22:27:15 +00:00
sha..RD
65f384c06a
* Enable import J3O model feature, assets with absolute paths are copied as-is, whereas the model and relative assets are copied to the user selected folder
...
* Add dummy ProjectAssetManager feature to support ignoring absolute paths when loading from disk (necessary for the above)
* When gathering the asset list for a model, support ignoring absolute paths
* Added destination folder letter case fix needed for Windows when importing absolute path assets, it will use heuristic to match some asset against the import path and if so, change the letter case to match that of the asset.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10178 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-26 06:34:46 +00:00
Sha..om
d169b700f2
* Fixed interpreting unsigned value as signed causing out of bounds when using model with more than 128 bones
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10171 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-26 01:17:27 +00:00
sha..RD
455a621384
* Fix android native crashes and other bizarre problems with 32-bit index buffers
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10145 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-25 02:15:50 +00:00
sha..RD
289c25e7e8
* Possible fix for memory corruption issue on Android when compressed texture formats exceeds 16 entries.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10137 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-21 21:37:13 +00:00
Sha..om
5a90cd7082
* Fixed issue where OBJ loader would fail to parse faces correctly if they had more than 1 space in them
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-28 03:07:25 +00:00
Sha..om
85059fd8a0
* Fix height = radius bug in ConeCollisionShape
...
* Added docs
* Added getter for height and axis
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10008 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-26 17:05:41 +00:00
Sha..rd
5a3a1838f6
* Allow removal/addition of NiftyJmeDisplay from ViewPort
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-23 18:09:50 +00:00
Sha..rd
2e35519182
* Nifty will now set the BitmapText base color instead of using the material's color (which could override the color of the shared font)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9995 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 03:16:16 +00:00
Sha..rd
4aea96f4b9
* Made nifty mouse wheel rotation be the same as nifty LWJGL's renderer (1/-1 instead of 120/-120)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 03:14:51 +00:00
Sha..rd
e8f747e8ce
* Fix incorrect nifty display
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9993 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 02:07:12 +00:00
Sha..rd
b7c76799e2
* Attempt to fix SDK / AWT panels issue "Framebuffer doesn’t have any renderbuffers attached."
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-11 07:42:31 +00:00
Sha..rd
e9395812bc
* Partial fix for issue 504 (Android renderer only)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9990 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 22:03:37 +00:00
Sha..rd
ffa0639580
* Fix issue 526
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9989 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:57:54 +00:00
Sha..rd
2d69a5d159
* Fixed issue 460
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:55:11 +00:00
Sha..rd
0229a54b5e
* Fixed some "throw new NullPointerException" statements and replaced with IllegalArgumentException
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9987 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:47:19 +00:00
Sha..rd
7dae4d5238
* Fix issue 551
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9986 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:39:33 +00:00
Sha..rd
be59bd91fb
* Fixed issue 550
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9985 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:33:42 +00:00
Sha..rd
fead899369
* Fixed issue 511
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:08:11 +00:00
Sha..rd
6745c8ed63
* Made AppletHarness fields protected instead of private to allow extension
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9983 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:58:38 +00:00
Sha..rd
b3e63e9732
* Depth writes now completely disabled for all nifty elements - should fix various glitches when nifty is rendered with jME3 gui or 3D objects
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9981 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:30:56 +00:00
Sha..rd
9e03dba566
* Add checks for maximum texture resolution in all renderers
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:28:00 +00:00
Sha..rd
60f52b8ea6
* When specifying OPENGL3 in AppSettings, it is now Mac OS X compatible
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9875 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-21 22:45:57 +00:00
Sha..rd
4d01146519
* Add ImageRaster.getWidth() and getHeight()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9874 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-21 21:56:22 +00:00
Sha..rd
8efd28da76
* Some optimizations for defines and shader key. Computing "compiled" define list isn't necessary to execute a lookup against asset manager. Allows faster changes in defines.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9771 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 02:09:39 +00:00
Sha..rd
1a12437436
* Remove unneeded printlns in AudioNode and HDRRenderer
...
* Poly offset will become disabled if factor and units are set to 0.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9770 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 02:04:33 +00:00
Sha..om
d329e243fa
* dotScene loader: prevent issue when dotScene file is missing an externals section.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9767 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 15:49:22 +00:00
Sha..om
0995dcf9b6
* Change shadow direction to demonstrate bug
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9766 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 15:02:48 +00:00
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
2012-09-19 04:09:06 +00:00
Sha..rd
243bba48ff
* Improvements to GLSL loader handling of libraries. The order of #import is maintained, it is also possible to #import in the body of the shader (but it will not be included twice). Fixed issue 523.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9752 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-19 01:00:33 +00:00
Sha..om
13132e10cc
* Remy: please rename context.alphaTestEnabled to alphaTestFallOff and make it a float. Also, add FixedFuncBinding.AlphaTestFallOff and make J3MLoader parse it
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9746 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-17 16:41:28 +00:00
Sha..rd
f7a653088f
* Put rangeCheck() back
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9743 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-16 01:51:17 +00:00
Sha..rd
105d27fddf
* Problem: Slow. Solution? Speed.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9742 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-16 01:27:54 +00:00
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
2012-09-16 01:13:40 +00:00
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
2012-09-16 00:54:51 +00:00
Sha..rd
06d18c1366
* When a "severe" AssetNotFoundException is thrown for subassets, it won't be ignored by SceneLoader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9739 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-16 00:53:33 +00:00
Sha..rd
cf2bd1de24
* dotScene loader can now load cameras (loads them as CameraNode). Fixes issue 226
...
* dotScene loader now correctly loads materials in <externals> tag. This means models exported in "Separated Materials" mode now work. Also models exported in single material mode no longer require you to rename them to match the scene name. Fixes issue 519.
* dotScene loader also considers the ambient color in the <environment> tag and adds an AmbientLight to the scene.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9736 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 20:29:55 +00:00
Sha..rd
a5275875a7
* HoverTank blender model now references the correct textures (PNG -> JPG)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9735 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 20:18:35 +00:00
Sha..rd
a7bcb2b6e6
* Buggy model no longer has embedded lights
...
* Buggy model now uses J3M file by default
* Enabled specular for buggy - since specular color is set to black by default
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9734 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 20:07:42 +00:00
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
2012-09-15 19:36:42 +00:00
Sha..rd
a0d0b0922f
* ArmatureModifier now sets 0.0 weight if the vertex should not be influenced by any bones. This fixes "disappearing" object issues in animated models.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9732 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 19:35:59 +00:00
Sha..rd
2bfd91ef2e
* MeshLoader will no longer generate NaN weights for vertices with no bone-weight assignments. Instead it will generate zero which will cause those vertices to remain in the bind pose.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9727 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:26:08 +00:00
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
2012-09-14 05:24:10 +00:00
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
2012-09-14 05:22:31 +00:00
Sha..rd
1ddb7903db
* OBJ loader now supports loading models that use negative indices in the face statement
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9724 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:21:21 +00:00
Sha..rd
e848c53ef4
* Add small work around in MTL loader: Do not accept "d 0" or "Tr 0" as they hide the model
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9723 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:20:34 +00:00
Sha..rd
46fb4c43b4
* Fix UTF8 error in ConstraintDefinition
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9722 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:19:57 +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
6cddcf8f1d
* Fix crash in TestWalkingChar
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9707 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-06 03:52:32 +00:00