995 Commits

Author SHA1 Message Date
Sebastian Weiß
28e4c9848f Removed call to Runtime.getRuntime().gc() every 10 frames, added call to Reference.clear() when an object is explicitly deleted. 2017-08-06 16:27:16 +02:00
Alexandr Brui
6785087057 Added a possibility to resize env cameras. (#699) 2017-08-05 16:01:50 +02:00
Alexandr Brui
3058c218c5 Added missed imports. (#691)
Used GLSL compat on the post shadow filter
2017-07-27 16:27:41 +02:00
Alexandr Brui
10bc250db7 Fix of the one parameter of shadows render. (#688)
* fixed applying the render back faces shadows option during creating a shadow filter.
2017-07-23 17:51:23 +02:00
Nehon
85dc89b0aa Shader Nodes: changed the way uniforms were replaced in the code, they are now assigned as any other input except for samplers that can't be assigned. 2017-07-16 00:03:05 +02:00
Nehon
385d2caeed Shader Nodes: Shader compatibility for texture function is now handled at generation time 2017-07-16 00:03:05 +02:00
Alexandr Brui
8abf23b2f2 Added missed gl versions (#680)
* Added missed GL versions and Caps.

* Added supporting 3.3, 4.0, 4.1, 4.2, 4.3, 4.4 and 4.5 GL core profiles.
2017-07-14 14:25:57 +02:00
empirephoenix
b56c9c79fc Merge pull request #679 from stephengold/master
testcases and fix for issue #357
2017-07-13 12:44:45 +02:00
Yan
22d73a57cd Update UniformBinding.java
fix typo
2017-07-13 15:06:33 +08:00
Nehon
54f283e8d2 Fixed an issue where the color space of a texture mat param was disregarded when loaded from a j3o. 2017-07-08 23:39:05 +02:00
Stephen Gold
8530b60294 testcases and fix for issue #357 2017-07-06 22:01:57 -07:00
Christopher Hughes
d3733fba15 Overrode SkeletonDebugger clone method. Ticket #660 2017-07-06 16:52:39 -04:00
empirephoenix
25570ba4b3 Merge pull request #672 from Saucistophe/master
Refactored Cylinder
2017-06-29 20:05:57 +02:00
empirephoenix
2a09771bc8 Merge pull request #663 from NemesisMate/patch-18
Fixed IllegalArgumentException when removing a LodControl from a spatial
2017-06-23 12:51:37 +02:00
stophe
ebaad20f2f Added a unit test and fixed indentation. 2017-06-18 23:56:14 +02:00
stophe
61c22d5709 Providing invalid parameters in cylinders generation throws an exception. 2017-06-18 21:27:57 +02:00
stophe
edf279a06d Refactored Cylinder generation to be more maintainable, readable, and fix #640. 2017-06-18 16:35:35 +02:00
Rémy Bouquet
530596838c Merge pull request #664 from iamcreasy/MeshPointDocFix
Mesh point doc fix
2017-06-04 21:30:43 +02:00
Nehon
ee9c6d366a ShaderNodeVariable now has a prefix attribute that is concatenated to the name when generating the shader (basically g_ and m_ when the variable is an uniform)
It avoid to change the name of the variable when loading the definition and always have weird inconsistencies with mat params because the name has a m_ or not.
2017-06-02 00:37:01 +02:00
Quazi Irfan GD
97135fa9bb Add missing override in Geometry 2017-05-27 14:13:57 -05:00
Quazi Irfan GD
cf07e094af Cleanup Mesh(Point) documentation 2017-05-27 00:40:04 -05:00
Quazi Irfan GD
1bfabd8d8f Update Mesh(Point) documentation 2017-05-27 00:30:12 -05:00
NemesisMate
88125da16d Fixed IllegalArgumentException when removing a LodControl from a spatial
LodControl throws an exception when the spatial being added to isn't a geometry, however, when the controls is removed it calls setSpatial with a null value triggering the exception throw. Now checking for this null value case.
2017-05-24 13:51:28 +01:00
grizeldi
23d6def5ed Made right trigger usable on Xbox based controllers 2017-04-26 18:05:49 +02:00
grizeldi
ddfa728d60 Add Xbone S controller mappings 2017-04-26 17:52:15 +02:00
Rafael Pax
543268593b NullContext thread safety
The fields `timeThen` and  `timeLate` are static. If multiple Applications are launched in different threads in headless mode, sync fails. This can be fixed removing the static modifier of the fields.
2017-04-24 19:57:34 +02:00
Nehon
d20cf3f20a Reverted changes in Spatial made for VR. 2017-04-12 23:59:30 +02:00
Nehon
29875e6085 Fixed InstanceGeomerty not working properly when using the lighting material and a non DirectionalLight
see https://hub.jmonkeyengine.org/t/instancednode-doesnt-work-with-light/38316/5
2017-04-12 20:33:28 +02:00
Stephen Gold
9905c4f011 getAttachmentNode(): move target selection from SkeletonControl to Bone 2017-04-06 14:12:52 -07:00
Stephen Gold
b2aa1ff9f1 fix SkeletonControl.getAttachmentNode() for odd models (such as Jaime) 2017-04-05 18:28:43 -07:00
Stephen Gold
5f9cf52c13 Merge pull request #633 from stephengold/master
add PointSize to Unshaded matdef, test with SkeletonDebugger
2017-04-05 13:35:51 -07:00
Stephen Gold
dcb92e1d15 Unshaded.vert: put declaration in #ifdef to avoid an unused uniform 2017-04-05 13:02:36 -07:00
Rémy Bouquet
b0a5384046 Moved worldMatrix declaration in instancing.glsl so that it works on android 2017-04-02 12:53:16 +02:00
Rémy Bouquet
09fa4f165e fixed bad comma in previous commit 2017-04-01 22:06:11 +02:00
Nehon
8caf05734c Fixed tangent and normal argument position in Skinning.glsllib 2017-04-01 05:45:04 +02:00
empirephoenix
eca531fdc8 Merge pull request #630 from rvandoosselaer/fix_appsettings_resizable
use the resizable parameter instead of a default 'true' value
2017-03-29 11:36:52 +02:00
Stephen Gold
259f599d1d add PointSize to Unshaded matdef, test with SkeletonDebugger 2017-03-23 13:33:08 -07:00
rvandoosselaer
81a301f8ef use the resizable parameter instead of a default 'true' value 2017-03-13 15:22:06 +01:00
Nehon
dc40faaff8 Moved DetailedProfiler to a more appropriate package 2017-02-12 15:54:40 +01:00
Julien Seinturier
52eb6946af Merge remote-tracking branch 'origin/master' into jme3-vr-dev 2017-02-10 12:43:04 +01:00
Julien Seinturier
41bead60e3 Creating a VRAppState 2017-02-10 11:10:05 +01:00
delt0r
f416d7af18 Fixed a exception in Materal toString with blender materials.
Some blender materials have null Material Param keys. This shouldn't
throw an exception in a toString method. So rather than throwing a
OperaitonNotSupported exception a string is returned informative of the
null state of the key.
2017-02-08 14:53:45 +13:00
Nehon
8dcc67a318 Fixed an issue in DetailedProfiler where time would become negative with low fps 2017-02-07 20:43:42 +01:00
Nehon
0610f703d7 Fixed a crash in the PBR shader when adding a light map. 2017-02-06 19:49:04 +01:00
Nehon
12fe7ba035 Added a DetailedProfiler and its associated AppState for detailed time profiling 2017-02-05 17:57:28 +01:00
Nehon
6b33ae470a Added a new step in AppProfiler for viewport processors and added method to pass the profiler to all processors. 2017-02-05 17:57:28 +01:00
Nehon
6a467ecb53 Added gpu profiling to Renderer and all the GL backends except ios 2017-02-05 17:57:28 +01:00
javasabr
ba4886da80 fixed saving spatial of motion event control. 2017-01-27 05:54:14 +03:00
Nehon
74858976eb Fixed an issue where ParticleEmitter had NaN bounds during the first update when added to the scene graph during the update loop 2017-01-26 21:09:02 +01:00
Nehon
390d35180b Soft particles now has only one shader and one technique to work with any glsl version 2017-01-24 20:06:12 +01:00