4288 Commits

Author SHA1 Message Date
David Bernard
d3d5e6f9cb SDK: Scene move the code from NewGeometry into each Action 2014-06-09 22:59:58 +02:00
normen
4d39fc86aa Merge pull request #149 from davidB/sdk_scene_addprimitives
SDK: scene add primitives
2014-06-09 22:08:37 +02:00
David Bernard
ed06161f49 SDK: add action to Quad, Line geometries in SceneExplorer and a NewGeometrySettingsTopComponent to configure the creation. 2014-06-09 20:46:47 +02:00
David Bernard
8b33d6b62d SDK: can create primitives geometries (Box, Sphere) in SceneExplorer 2014-06-09 20:46:38 +02:00
shadowislord
a166e8cb17 * Avoid "AL not closed" error by joining with audio thread when exiting app 2014-06-08 22:01:39 -04:00
shadowislord
d3ba691600 * Introduce GeometryGroupNode as abstract class for implementations that group / optimize geometries
* Reimplement BatchNode on top of GeometryBatchNode
2014-06-07 18:34:37 -04:00
shadowislord
b090305865 * Make sure we load the auxilary jinput library as well (required on windows) 2014-06-07 17:29:13 -04:00
shadowislord
fd63fcedb9 * Don't use native bullet specific method in TestNativeLoader - fix compile error 2014-06-07 17:08:23 -04:00
Nehon
d8bbb4e9f9 Fixed an issue where you couldn't chain several shadow renderers. Thanks to Perjin for narrowing down the issue.
Now a shadow renderer properly cleanup the parameters set to a material when the post shadow pass in done
2014-06-07 21:27:10 +02:00
shadowislord
67f402df75 * Remove use of instance variable in BIHTree, instead use TempVars 2014-06-07 15:26:04 -04:00
shadowislord
e637cd0b7a * NativeLibraryLoader: More hacks .. Use the proper loading method based on the library name.
* TestNativeLoader: More concrete test that uses a custom natives folder and ensures all natives load properly and prints their versions.
2014-06-07 14:09:42 -04:00
shadowislord
cc20781a02 * Ensure LwjglOffscreenBuffer extracts the required natives
* Fix Installer class in SDK to use NativeLibraryLoader.setCustomNativesFolder() instead of the Natives.setCustomDir()
2014-06-07 12:53:55 -04:00
Nehon
6ec736c005 Fixed a bug in the user data dialog box, when values were not populated when using a custom UserData class 2014-06-07 14:32:53 +02:00
jmekaelthas
51215a352e Feature: added automatic action mapping instead of explicit mapping in
BlenderKey.
2014-06-07 13:33:02 +02:00
shadowislord
03f8df05b6 LwjglRenderer - Preparing for abstraction layer shift
* All GL calls are done via static imports
 * Once again remove dependency on GL21 / GL30 - with the generator it will be possible to choose whether to target GL2+extensions or GL3 core
 * ContextCapabilities is field in Renderer, not allowed to use GLContext to retrieve it anymore
 * Assume depth textures are always supported (they should be since GL1.4)
2014-06-06 23:29:25 -04:00
shadowislord
2e796444a5 * Enable mipmapping in TestTextureArray 2014-06-06 23:20:24 -04:00
shadowislord
a08c7ae193 GLAutoGen
* Fix references to OpenGL** caps
 * Fix symbol corruption when two constants are referenced on the same line
 * Allow exporting to files
2014-06-06 23:10:49 -04:00
shadowislord
36483c4b49 * Avoid conflicts when extracting both 64-bit and 32-bit libraries to the same folder .. This is mainly for the bulletjme library which doesn't specify "64" at the end of the filename 2014-06-06 21:18:50 -04:00
shadowislord
34826360d6 * Native bullet was marked as a non-JNI library for some reason - that's fixed now 2014-06-06 21:15:24 -04:00
shadowislord
48ccb0fe56 * Fix jinput native library loading - now the JNI library name is based on the name in the jar 2014-06-06 21:05:15 -04:00
shadowislord
54ffe15dda * Switch to new native library loader
* Deprecate old library loader
 * Add warning when the requested number of antialiasing samples cannot be satisfied
 * Cleaned up LwjglContext.determineMaxSamples()
2014-06-06 20:39:37 -04:00
shadowislord
17fd3d466e * Fix Remy's grammar and spelling 2014-06-06 20:09:20 -04:00
Rémy Bouquet
e82c3dca5a Merge pull request #148 from abies/master
Fix badly specified RGB10_A2 format
2014-06-07 00:23:29 +02:00
abies
6adb15abd6 Fix badly specified RGB10_A2 format 2014-06-07 00:04:10 +02:00
shadowislord
648477e8c2 Merge branch 'master' of github:jMonkeyEngine/jmonkeyengine 2014-06-06 16:51:47 -04:00
shadowislord
0d5ac77d52 * When renderer class is processed by GLAutoGen, perform auto-replacement against generated interface 2014-06-06 16:51:15 -04:00
Nehon
46f0f32afa Made the Material Editor properly handle the new -LINEAR statement of j3md when parsing material parameters 2014-06-06 20:53:16 +02:00
shadowislord
ffb9e287bd * Capabilities are now parsed and a GLCaps final class is generated from them 2014-06-06 14:20:31 -04:00
shadowislord
2774a8f679 * Use relative path to find renderer source code for GLAutoGen 2014-06-06 13:15:52 -04:00
shadowislord
0aeb807ffe * Added GL interface generator tool 2014-06-06 12:50:34 -04:00
shadowislord
2ca99b83de * More javadoc in NativeLibraryLoader 2014-06-05 23:59:24 -04:00
shadowislord
844e468eac * Fix two more un-compliant PostShadow shaders 2014-06-05 23:40:34 -04:00
shadowislord
65094e9ca1 * Put the shader compile log on the next line so its slightly more readable 2014-06-05 23:28:28 -04:00
shadowislord
bd500608dd * Fix "m_LightPos redefined" shader compile error in PostShadow.vert 2014-06-05 23:25:32 -04:00
shadowislord
be3a6c03b2 * Put comment markers around imported library contents when loading shader 2014-06-05 23:16:10 -04:00
shadowislord
ad7fdb6fab * Deprecate texture wrap modes not supported in OpenGL 3
* Make sure engine is not using them anywhere
2014-06-05 22:51:51 -04:00
shadowislord
c925104f5e * Ensure the statistics properly represent number of objects / triangles / vertices rendered when using instancing 2014-06-05 22:37:00 -04:00
shadowislord
948fdb21eb * Add new flag to Platform enum which specifies if its 32-bit platform or 64-bit.
* Add new but currently unused native extraction engine which supports user-specified native libraries as well as deferred extraction of libraries.
2014-06-05 22:32:06 -04:00
normen
e90ff15688 Merge pull request #144 from davidB/fix_sdk_addControlToLink
Fix sdk add control to link
2014-06-04 18:26:15 +02:00
David Bernard
932245d10b SDK: fix "Add Control" to JmeAssetLinkNode (no more NPE, and correct display and edition) 2014-06-04 15:32:28 +02:00
David Bernard
f26b53fcb7 SDK: remove duplicate code in AbstractSceneExplorer's constructor
One constructor with the shared logic, other constructor are just sugar
2014-06-04 15:32:16 +02:00
shadowislord
846960c28c Merge origin/master 2014-06-03 23:18:30 -04:00
shadowislord
2aad768c8a * Forgot to remove withSRGB from LwjglCanvas 2014-06-03 23:18:20 -04:00
shadowislord
cfcc86dd8b * When creating display pixel format, do not use withSRGB as it could cause display creation to fail (when gamma correction is enabled). Based on online research, it seems that it is not necessary, and simply enabling SRGB writes on the main framebuffer is enough.
* Added additional checks when enabling SRGB writes to ensure the default framebuffer actually supports it, and print a warning if it doesn't.
2014-06-03 23:16:34 -04:00
shadowislord
52cd458601 * Added two missing 32-bit image formats to TestImageRaster: ARGB8 and BGRA8 2014-06-03 23:10:49 -04:00
shadowislord
406d244e01 * ToneMap.frag: Fix warning about gl_FragColor when compiling for GLSL 1.5 and higher 2014-06-03 23:09:01 -04:00
shadowislord
71472bbf90 Merge branch 'master' of github.com:jMonkeyEngine/jmonkeyengine 2014-06-03 23:06:52 -04:00
shadowislord
65d83b37f0 * Deprecated LTC and LATC texture formats, OpenGL3+ does not support them. Instead RGTC / BC5 must be used.
* Add missing license to InstancedGeometry.
 * Minor cosmetic / doc changes.
2014-06-03 22:58:33 -04:00
normen
202267e398 Merge pull request #143 from davidB/fix_npe
SDK: fix NPE in JmeGeometry.propertyChange
2014-06-03 22:52:21 +02:00
David Bernard
2f248d15df SDK: fix NPE in JmeGeometry.propertyChange 2014-06-03 22:50:43 +02:00