83 Commits

Author SHA1 Message Date
Stephen Gold
f652591281
remove unnecessary casts and tests for null, discovered using NetBeans (#1285)
* remove unnecessary tests for null, discovered using NetBeans

* jme3-core: remove unnecessary casts

* jme3-examples: remove unnecessary casts

* jme3-vr: remove unnecessary casts

* jme-plugins: remove unnecessary casts

* jme3-terrain: remove unnecessary casts

* jme3-desktop: remove unnecessary casts

* jme3-android: remove unnecessary casts

* remove unnecessary casts, discovered using NetBeans

* TerrainQuad: back out one casting delta that's not a removal

* TerrainPatch: simplify generateLodEntropies() after removal of the cast

* TerrainPatch: simplify reIndexGeometry() after removal of the cast
2020-02-13 10:21:51 -08:00
Stephen Gold
1a0b6ecac3
jme3-blender: remove TextureGeneratorWood and its dependencies (#1274) 2020-02-02 19:45:23 -08:00
Stephen Gold
0fd70b81c9
Add missing @Override annotations (#1270)
* jme3-core: add the missing @Override annotations

* jme3-desktop: add the missing @Override annotations

* jme3-bullet and jme3-jbullet: add the missing @Override annotations

* jme3-effects: add the missing @Override annotations

* jme3-terrain: add the missing @Override annotations

* jme3-examples: add the missing @Override annotations

* jme3-android: add the missing @Override annotations

* jme3-blender: add the missing @Override annotations

* jme3-ios: add the missing @Override annotations

* jme3-jogg and jme3-jogl: add the missing @Override annotations

* jme3-plugind: add the missing @Override annotations

* jme3-lwjgl and jme3-lwjgl3: add the missing @Override annotations

* jme3-networking: add the missing @Override annotations

* jme3-vr: add the missing @Override annotations
2020-01-30 09:16:47 -08:00
empirephoenix
80aed88f82 fix for NPE when being called from CombinedTexture with null baseImage (#1146)
* fix for NPE when being called from CombinedTexture with null baseImage

* formating only
2019-07-24 09:09:55 -07:00
Remy
adb88dcaeb when the image object has a ColorSpace value we pass it on, else we leave it at the default value. fix for #1106 (#1110) 2019-06-26 09:26:28 -07:00
Lou Hamersly
cde108c2c0 #1107-Fix Javadoc warnings in OpenJDK 9+ 2019-06-05 08:21:34 -07:00
Stephen Gold
2356320d30 more comment-only correction 2019-03-09 11:57:23 -08:00
Stephen Gold
f33252f4d0 spelling corrections in diagnostic messages 2019-03-02 17:41:21 -08:00
Stephen Gold
8ecddf4fa2 jme3-blender JavaDoc corrections (comments only) 2019-02-25 21:54:04 -08:00
NemesisMate
304550a0f4 Fix #324. Blender importer now respects the lightNode pos in the graph
The light is still being added, however, to the scene root node as this is the blender behavior and a wysiwyg is desired.
2019-01-27 15:37:32 -08:00
Stephen Gold
f40ba25a56 correct more grammar/spelling errors in comments 2018-02-23 22:20:22 -08:00
Stephen Gold
b159c847cc comment corrections: mostly spelling and grammar 2018-01-16 18:35:07 -08:00
MeFisto94
11a647a3d4 Blender TextureHelper: Make use of ImageLoader's new loadTexture capability 2017-12-20 23:28:17 +01:00
MeFisto94
3cd96b2053 Blender ImageLoader: Support Loading of HDR Files and many other 2017-12-20 23:28:17 +01:00
MeFisto94
9100cff4aa BlenderImporter: Don't silently fail when a packed file couldn't be loaded but use a Placeholder Texture 2017-11-27 08:27:57 +01:00
MeFisto94
1b76160410 Blender Importer: Don't crash when a packed texture couldn't be loaded 2017-11-27 08:27:57 +01:00
NemesisMate
5d729af1c4 Fixed a IndexOutOfBoundsException when residual weights are present 2017-11-27 08:23:13 +01:00
NemesisMate
893741701b Fixed #642
It was overriding the userDefinedUVCoords each time any one of them was used, so if different textures were depending on it, a new texCoord buffer was being created.
2017-11-27 08:22:30 +01:00
NemesisMate
a9cf6a348f Fix #646
Ignoring the alpha influencer (mapping) if the color one was found first.
2017-11-27 08:21:47 +01:00
NemesisMate
ab8ddd5ab5 Added missing var declaration. 2017-11-27 08:20:45 +01:00
NemesisMate
7aafb514bf Fixed #652
The issue was due to the texture blending with the object material. By default the material is gray (hence, a gray border). If the material color in blender is set to another color this is being the artifact's color. It can bee seen where the alpha in the texture isn't totally 0 or 1.
The current implementation weren't taking in account the material transparency when blending, so the fix is basically to use it just like blender does:
2017-11-27 08:20:45 +01:00
javasabr
0e340416fd fixed a problem with converting blend file when there are unsupported textures. 2017-03-04 11:09:39 +03:00
jmekaelthas
93080f506a Bugfix: fixed a bug that caused some models to be half-transparent when
it was not needed.
2016-05-17 19:29:24 +02:00
jmekaelthas
2024fe7acf Reduced the amount of warnings being logged during mesh triangulation.
The warnings are now collected and displayed only once for each mesh
they appear in.
2016-04-26 21:28:15 +02:00
jmekaelthas
008768f18c Feature: appending user defined UV sets to the mesh even if they are not
directly used by the model.
2016-04-04 18:57:56 +02:00
jmekaelthas
be3dc06e28 Bugfix: fixed a bug that caused NPE during vertex groups loading when
mesh block was saved without its parent.
2016-03-17 18:05:27 +01:00
jmekaelthas
13f68c623c Bugfix: fixed small bug in face triangulation and several computations
in the Edge class.
2016-03-15 17:24:23 +01:00
jmekaelthas
1b99896be4 Bugfix: fixed a bug that caused ClassCastException while loading linked
meshes.
2016-02-08 13:29:02 +01:00
jmekaelthas
c7dc73e85f Bugfix: fixed incorrect faces' triangulation. 2016-02-07 14:58:30 +01:00
jmekaelthas
84a38d1363 Bugfix: fixed an error that caused bad faces triangulation in some
cases.
2016-01-13 20:02:32 +01:00
jmekaelthas
7e185b25df Bugfix: fixed a bug that caused Bezier objects to use only the vertices
of its first bezier line (out of many).
2015-12-01 20:50:01 +01:00
jmekaelthas
153cb27d78 Bugfix: fixed error in Inverse Kinematics constraint (animations with
these constraint should look better now, although not yet perfect ;).
2015-11-29 19:34:03 +01:00
jmekaelthas
a80051c1ce Bugfix: very small wight values caused severe animation artifacts. 2015-11-09 22:17:39 +01:00
jmekaelthas
b34649d399 Bugfix: fix to importing blend files with linked content. 2015-10-27 21:05:32 +01:00
kaelthas
953a301d5e Bugfix: fixed a bug that caused importer to crash when the author of the
blend file assigned non existing UV coordinates group name to a mesh.
2015-09-26 12:30:26 +02:00
kaelthas
f1a0125dc2 Bugfix: fixed a bug that caused subdivision surface modifier to crash if
at least one not connected vertex was in the mesh.
2015-09-26 12:26:31 +02:00
jmekaelthas
89fe2e57be Bugfix: fixed some issues with bones' animations. 2015-07-21 22:23:15 +02:00
jmekaelthas
b0e751c81a Bugfix: avoiding infinite loops while applying constraints. 2015-06-28 15:48:49 +02:00
jmekaelthas
2d9a1b8737 Bugfix: include all bones in the chain of the IK constraint if the
specified chain length is zero.
2015-06-28 15:48:11 +02:00
jmekaelthas
483156f2ba Improvement: Inverse Kinematics now breaks the iteration if the computed
angle change drops below some minimal level.
2015-06-28 15:11:04 +02:00
kaelthas
4cec908a50 Inverse Kinematics: several minor memory and CPU optimisations. 2015-06-22 18:41:53 +02:00
jmekaelthas
f7a4fe9f25 Improvement of the Inverse Kinematics Constraint. 2015-06-18 23:51:17 +02:00
jmekaelthas
64ba4794e4 Bugfix: fixed a bug that occured for some users during logging out the
name of unknown data block.
2015-05-07 17:47:36 +02:00
jmekaelthas
20ea38e97e Bugfix: fixed some of the artifacts (unfortunately no all of them) that
appeared after IK constraint computation; the algorithm now selects the
best found solution among all iterations.
2015-04-16 22:18:36 +02:00
jmekaelthas
cd97741f9c Bugfix: fix for IK constraint: rotation locks are now applied only on
boned woning the constraint and not to all that define it as it was
before.
2015-04-12 17:39:18 +02:00
jmekaelthas
f9be42ee62 Bugfix: fixed problem with ipo curves computin during animations import. 2015-04-08 20:02:33 +02:00
Kai Börnert
9f32bcf7bb Hack fix for blenderloader.
The optimisation disabled would result in null TextureKeys.
-> This would then result in textures being embedded into the j3o file, seriously bloating the assets.

Signed-off-by: Kai Börnert <kai-boernert@visiongamestudios.de>
2015-04-07 01:26:13 +02:00
jmekaelthas
15ec285b1a Feature: added support for linear and constant interpolation types for
ipo curves.
2015-03-25 21:59:48 +01:00
jmekaelthas
a5c98a59be Refactoring: catching up wth latest jme3 core changes. 2015-03-23 21:01:21 +01:00
jmekaelthas
eb767e7580 Feature: added support for loading assets linked from external blender
files.
2015-03-23 20:09:45 +01:00