4298 Commits

Author SHA1 Message Date
jmekaelthas
e18ffccf8a Feature: added support for mask modifier. 2014-09-27 12:04:35 +02:00
shadowislord
b39772c401 Fix JDK6 compliance
syntax error in TestInstanceNode
2014-09-24 12:27:49 -04:00
Julien Gouesse
e448e46675 Merge pull request #174 from saloisio/master
Updated JOGL canvas classes to fix shutdown bug. Also added frame rate support.
2014-09-23 12:33:24 +02:00
saloisio
6dace77a7a Animator is stopped only if it is currently animating. 2014-09-22 09:36:37 -04:00
unknown
23a0800e1d Merge remote-tracking branch 'upstream/master' 2014-09-22 08:44:24 -04:00
shadowislord
661053689d Fix glClear not working properly if the last rendered model disabled depth or color writing (fix issue #639 on google code) 2014-09-21 18:19:54 -04:00
Normen Hansen
5d0ac012c9 SDK:
- remove useless help entry
2014-09-21 18:42:29 +02:00
Normen Hansen
d2749138ed - add nifty style to nifty jar collection (should be moved to separate library entry at some point) 2014-09-21 18:19:28 +02:00
Normen Hansen
7f44574d8a SDK:
- update core baselibs project.xml
2014-09-21 18:18:34 +02:00
Normen Hansen
727102843e SDK:
- add beansbinding.jar to nifty editor
2014-09-21 17:53:33 +02:00
Normen Hansen
d4a04b9808 SDK:
- Fix NiftyGUI editor build
- Attempt at making NiftyEditor work
2014-09-21 17:39:57 +02:00
Normen Hansen
5a222f1541 SDK:
- update library references
2014-09-21 16:39:57 +02:00
Normen Hansen
940fe70803 - fix dist task in jme3-examples to not run at config time 2014-09-21 16:38:47 +02:00
unknown
0644c286ef Updated JOGL canvas classes to fix shutdown bug. Also added frame rate
support.
2014-09-19 13:24:01 -04:00
normen
24984048e6 Merge pull request #173 from GreenCubes/master
Fix some FBX loader problems
2014-09-17 10:57:24 +02:00
Rena4ka
1b43cb6d4a Fix some FBX loader problems
Fix exception when loading geometry without gui, fix loading nodes
without models (nested nodes)
2014-09-17 10:09:46 +04:00
pspeed42
1f795a7485 Forgot some other water height specific things that need
to be initialized.
2014-09-16 00:06:02 -04:00
pspeed42
45591c99a1 Fixed a broken water height initialization issue that I
inadvertently caused with my previous cleanup.
2014-09-16 00:03:22 -04:00
shadowislord
b1211e55a4 Implement spot light v. frustum culling by converting the spot light into an oriented-bounding box and then performing frustum v. OBB intersection. 2014-09-14 00:33:40 -04:00
shadowislord
e76559a847 Set the light filter's camera in RenderManager.setCamera() as it is more appropriate. 2014-09-14 00:32:10 -04:00
shadowislord
b51f015fb9 Add rudimentary cone v. frustum intersection test for light culling.
Restrict spot light angles to be between [0, pi/2]
2014-09-13 23:16:59 -04:00
shadowislord
9435d28431 Update .gitignore with two more nbproject/private folders 2014-09-13 17:23:18 -04:00
shadowislord
13f2fbd244 Remove a weird line of code from TestHoveringTank 2014-09-13 17:20:55 -04:00
shadowislord
1c0d798707 Add support for light culling or "filtering".
When rendering a geometry, light filtering is performed against the geometrys' world lights
to avoid rendering lights which will not effect the rendering outcome.
If the light is outside the camera frustum OR the light is outside the model's bounding volume,
then it will not be rendered.
2014-09-13 17:10:33 -04:00
shadowislord
75a67d0611 Particle.j3md now supports shadow casting (only for triangle-based particles) 2014-09-13 16:46:52 -04:00
shadowislord
c98da31999 Make pond shader look less shiny 2014-09-13 16:41:20 -04:00
shadowislord
7cae92dc67 Fix rendering glitch in TestTransparentShadow (missing tangents for normal mapping) 2014-09-13 16:40:36 -04:00
shadowislord
bfc866774f Fix lighting crash when using environment mapping due to the addition of instancing 2014-09-13 16:06:11 -04:00
pspeed42
aea5e4af31 Added a basic AppProfiler implementation and corresponding
app state.  If the app state is attached then it's 'enabled'
state can be toggled with the F6 key.
It displays a continnuously updating bar graph of the application
wide frame timings for 'update' and 'render'... where 'update'
is all of the parts that aren't 'rendering', ie: running
enqueued tasks, updating states, updating controls, etc..
2014-09-12 02:09:36 -04:00
pspeed42
a517130528 Added hooks for detailed performance profiling.
Implementors can provide their own AppProfiler
implementation to collect and/or visualize timing
stats however they want, even at the viewport level
if they choose.
A basic profiler implementation will be following
shortly that does simple update vs render frame
timings.
2014-09-11 16:20:08 -04:00
pspeed42
3d32b012c2 Checking in the profiler classes separately as I work
around some commit issue with RenderManager.  Actually 
calling of these hooks will follow immediately.
Added hooks for detailed performance profiling.
Implementors can provide their own AppProfiler
implementation to collect and/or visualize timing
stats however they want, even at the viewport level
if they choose.
A basic profiler implementation will be following
shortly that does simple update vs render frame
timings.
2014-09-11 16:08:10 -04:00
pspeed42
70c10aac3a Added the base abstract app state class that was
originally from Lemur.  This provides more convenient
enabled-state management than the normal AbstractAppState
class.  In addition, it exposes convenience methods for
getting to other app states, the application instance,
etc..
2014-09-11 15:42:05 -04:00
Nehon
ead8393600 Made GeometryGroupNode.getGeometryStartIndex public 2014-09-11 21:23:05 +02:00
Nehon
a709ba9a77 Use of glBufferData instead of glBufferSubData in android renderer, because it seems to cause GL oom on some devices. 2014-09-11 21:23:04 +02:00
pspeed42
5a482e2b98 Added another Photoshop tyle blend mode: Exclusion
Performs a sort of color XOR with source and destination.
Very useful for UI highlighting but is a bizarre (and
potentially useful) effect in 3D.
2014-09-10 14:00:27 -04:00
shadowislord
a18c568579 Fix native bullet build on Linux
It is now partially static build, only depending on libc and libm.
2014-09-07 19:21:48 -04:00
shadowislord
ef9f6213f9 Add shared library extensions from other platforms to .gitignore 2014-09-07 19:15:32 -04:00
shadowislord
b067aaed0e Delete libbulletjme64.so from samples folder (why is it there anyway?) 2014-09-07 19:11:48 -04:00
shadowislord
39df98da34 Update gradle version from 1.11 to 1.12 (stable) 2014-09-07 19:09:13 -04:00
shadowislord
dbd9ed9d78 Merge pull request #126 from kwando/screen_blendmode
Add Screen blend mode.
2014-09-07 16:54:23 -04:00
shadowislord
82715fbf8c Merge pull request #155 from blay09/bug/handleerrorheadless
Prevent error dialog from being displayed in a headless context
2014-09-07 16:53:03 -04:00
shadowislord
3a6e1c5044 Merge pull request #168 from kwando/color_changes
fromIntARG and fromIntRGBA now returns self.
2014-09-07 16:30:53 -04:00
shadowislord
4599c4cc9d Fix crash in TestInstanceNode (do you guys even test??) 2014-09-07 16:29:52 -04:00
shadowislord
57d4dbb1b1 Merge pull request #172 from kwando/master
Move update logic into DefineList.
2014-09-07 16:26:53 -04:00
shadowislord
09aae64e8b TestInconsistentCompareDetection: Make sure we have more than 128 geometries in our scene graph to actually trigger the compare error 2014-09-07 15:55:53 -04:00
shadowislord
cc9b22de4c Change the compare function error in ListSort to be more user friendly and indicate the likely cause of the error. 2014-09-07 15:54:33 -04:00
shadowislord
2b83b65f69 Change the compare function error in ListSort to be more user friendly and indicate the likely cause of the error. 2014-09-07 15:46:27 -04:00
shadowislord
5f4428e640 Add test to trigger the inconsistent compare function detection in the sorting algorithm.
It modifies a texture on a material from another thread, which changes the material's sort ID,
thus causing the OpaqueComparator's compare method to violate the compare method contract.
2014-09-07 15:41:17 -04:00
shadowislord
73fc9bc1fd Revert 04f8956
The inconsistent compare function errors are due to user error, not engine error.
2014-09-07 15:38:07 -04:00
shadowislord
1d29bc3197 Make sure to throw exception if trying to use instancing but its not supported 2014-09-07 12:26:42 -04:00