1066 Commits

Author SHA1 Message Date
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
javasabr
87562bfbae fixed NPE. 2017-01-24 06:43:39 +03:00
javasabr
c2219ecce5 removed the comment and returned a final modification to the method. 2017-01-23 23:05:46 +03:00
javasabr
f016469933 to prev 2017-01-23 22:50:30 +03:00
javasabr
6c3100f929 Added cloneable and jmeCloneable interfaces to shadows renders and filters 2017-01-23 22:34:03 +03:00
javasabr
1be4a48223 changed access to some methods of shadow render. 2017-01-23 09:08:47 +03:00
Nehon
f7181c38dc Removed all xxx15.frag shaders and used GLSLCompat to have the same shader whatever version it's used for 2017-01-22 14:08:22 +01:00
Nehon
a64594eea9 Better cloning for TechniqueDefs 2017-01-20 23:33:17 +01:00
Nehon
51eccfea2e Imported the glslCompat directly in multisample.glsllib to have it to work properly with glsl 1.5+ 2017-01-20 23:33:17 +01:00
mitm001
756a7c2683 Update MotionEvent.java
Corrected minor spelling and class naming errors.
2017-01-19 10:41:13 -07:00
Nehon
b0ed053472 Fixed a cloning issue and some tests 2017-01-15 20:32:42 +01:00
Nehon
d537a1c22e Added a GLSL150 to most of the shaders used in the engine (except deprecated ones).
All shaders now import the GLSLCompat.glsllib
2017-01-15 19:02:10 +01:00
Nehon
12a2f0f63c One can now define several versions for the shader in a Technique in a J3md file, ie:
VertexShader GLSL150 GLSL110 : "path/to/shader/file.vert"
FragmentShader GLSL150 GLSL110 : "path/to/shader/file.frag"

Versions must be separated with spaces. They will be matched together when creating the technique so they have to follow the same order for different shaders.
2017-01-15 18:57:53 +01:00
Nehon
4777c591b1 GLSLLoader now moves all extensions declaration found in the dependencies at the top of the shader code 2017-01-14 23:13:08 +01:00
Nehon
f2709858bb Got rid of the sorting for Technique selection 2017-01-14 18:53:18 +01:00
Nehon
cb04548fd5 Techniques are now weighted and sorted depending on their LightMode and GLSL version 2017-01-14 15:25:43 +01:00
Nehon
c713a06146 Fixed Backface Shadows param for PBRLighting 2017-01-14 15:25:43 +01:00
sgold@sonic.net
d4cd3f916d fix errors in how vector projection is calculated 2017-01-14 01:15:31 -08:00
empirephoenix
6493337477 Merge pull request #588 from JavaSaBr/added_lwjgl3_allocator
implemented LWJGL3 BufferAllocator
2017-01-11 08:29:06 +01:00
javasabr
a131d22518 reverted the name of the allocator filed. 2017-01-01 19:33:41 +03:00
javasabr
b442bcd9c1 removed unnecessary field. 2017-01-01 19:33:10 +03:00
Nehon
bf2369a50a Fixed MikktSpaceTangentGenerator that was not replacing existing Tangent buffers on the mesh. That could cause crashes when the old tangent buffer did not have the same amount of components 2016-12-30 10:09:00 +01:00
javasabr
d468c20fba implemented LWJGL3 BufferAllocator 2016-12-30 11:33:23 +03:00
mitm001
4a37ec467c Update AbstractAppState.java 2016-12-24 16:13:52 -07:00
Paul Speed
d8875a7898 Convert Skeleton and Bone over to use the JME cloner system for cloning...
this should do automatic fix-up and hopefully make bones attachments work
properly again in clones.
2016-12-13 06:04:21 -05:00
empirephoenix
de1acb6a9b Merge pull request #576 from Fadorico/upstream
Write/read the width and height of a quad
2016-12-07 13:01:23 +01:00
empirephoenix
4663258904 Merge pull request #535 from papaspace/custom-blend-func
Added RenderState.BlendMode.Custom
2016-12-07 13:00:21 +01:00
empirephoenix
2d6bfc3853 Merge pull request #571 from grizeldi/patch-1
Added cleanup for ChaseCamera
2016-12-05 11:25:13 +01:00
empirephoenix
63b0600b81 Merge pull request #572 from jMonkeyEngine/define_list_fix
Fix DefineList regression
2016-12-05 11:22:03 +01:00
Paul Speed
c7c239a56f Modified BitmapTextPage to always deep clone its mesh since otherwise
BitmapText objects end up sharing them and that's bad.
2016-12-04 20:35:57 -05:00
Paul Speed
f81c14de7c Another bitmap text clone fix. The text pages array (the list of the actual geometry of
the bitmap text) wasn't really being cloned... only the elements were.  This meant that
that a cloned BitmapText object would continue to share the meshes from the original.
2016-12-04 15:49:42 -05:00
Paul Speed
dbb1f14471 Another fix for BitmapText cloning where the regular clone() was
completely bypassing the JME cloner framework... and making a bad
clone.
2016-12-04 15:31:32 -05:00
Paul Speed
440096441d Fixed the cloned Letters to use the cloned StringBlock instead of the
original reference.
2016-12-04 14:24:45 -05:00
Paul Speed
9fda417a66 Fix for issue #577 StringBlock cannot be cloned with the cloner because
it is package private and the cloner cannot instantiate one directly.
Since it is extremely unlikely (read: impossible) that there would ever
be shared StringBlock references between BitmapText objects then it is safe
to just clone it directly.
It is important to note that BitmapText never really did support clone
before and only pretended to... so this wasn't really a regression.
2016-12-04 04:24:57 -05:00
Fadorico
3b829c7365 Write/read the width and height of the quad 2016-11-24 18:11:25 -05:00
Kirill Vainer
86f6f040e3 Fix #550 2016-11-23 21:05:20 -05:00
Kirill Vainer
a84c0eb25c add 0/0.0 param case to material test 2016-11-23 20:35:23 -05:00
Kirill Vainer
68b34037f8 define 0/0.0 int/float values in shader 2016-11-23 20:14:23 -05:00
empirephoenix
9856555074 Merge pull request #570 from TehLeo/master
Integer Texture Support
2016-11-22 11:20:38 +01:00