2336 Commits

Author SHA1 Message Date
Zer..om
75d861eae1 Added javadoc to getChild to explain that its really getDescendant
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10498 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-22 22:49:23 +00:00
rem..om
723e3c0e30 Commit patch from abies that drastically reduce the garbage creation when switching techniques. It also reduce grabage collection for the AbdtractShadowRenderer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-21 19:09:52 +00:00
rem..om
0186a20983 Fixed issue where the BAtchNode was throwing an ArrayIndexOutOfBound exception when batch was called twice in a row
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10496 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-20 20:38:14 +00:00
rem..om
05e080100e Added support for int arrays uniforms. thanks to abies.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-20 17:53:50 +00:00
rem..om
3d76821f02 WaterFilter fixed refraction map artifact that was producing black "waves" on the screen borders.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-19 21:30:32 +00:00
PSp..om
0998f47847 Enabled/disable statistics with the view. This
prevents stats from being collected unless they
are viewed.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-17 06:28:26 +00:00
PSp..om
ff5d121038 Allow the Statistics collection to be enabled and
disabled.  It turns out that this generates a measurable
amount of garbage per frame... partially due to a change
I made elsewhere.  It used to be that the frame values
were never cleared unless the stats were displayed...
thus the HashSets were always populated with the old
frames' values.  When I added a default app state to
clear them every frame the hashsets regrow every time
and generate ~1 meg of garbage every 15 seconds.  Not
a lot but unnecessary.
I think this way is more explicit and we no longer
rely on a side-effect.
A related change will be checked in for the StatsView
to properly enable/disable collection.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-17 06:26:31 +00:00
rem..om
e92172d2b7 Fixed issue in BufferUtils where quaternion and verctor4f were initialized with 3 zeros in the buffer instead of 4.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-16 12:04:04 +00:00
rem..om
cffb44f3d0 Fixed zoomSensitivity in chaseCamera, removed the zoomSpeed.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-15 22:04:27 +00:00
rem..om
995763d114 Fixed an issue in android config chooser. Some device seems to not have a rgb8 opaque config (BEST). In this case the config chooser will attempt to find a rgba8 config (BEST_TRANSLUSCENT) before falling back to fastest.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-15 21:56:59 +00:00
rem..om
4d91089b3a Android texture util now supports uploading a sub texture to the GPU, even as a bitmap.
This makes Nifty batch rendering work on android.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-15 20:45:36 +00:00
iwg..om
a53c052f74 Fix issue with how Android logging is handled.
- Replaced standard Android logging Handler to avoid Android issue with only logging Level.INFO -> Level.SEVERE log records.  
- Moved logging Handler initialization to AndroidHarness instead of in JmeSystem so logging in AndroidHarness and app startup could be logged.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10485 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-15 01:28:07 +00:00
rem..om
5fd4687080 Cinematics : GuiTrack is now deprecated in favor of GuiEvent
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10482 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-10 12:56:56 +00:00
jul..om
586ea98f00 Removes useless debug logs from NewtKeyInput
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-10 09:25:03 +00:00
rem..om
76b4306d10 ShaderNodesLoader : removed unused jogAmp dependency that slipped in....
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10480 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-09 22:40:55 +00:00
rem..om
6ab93d4007 ShaderNodesLoader : Better way to compute define conditions
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10479 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-09 22:39:13 +00:00
voi..om
75569f4c04 Nifty-1.3.3-SNAPSHOT (build 2013-03-09) added + first Nifty batched renderer integration (optional)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10478 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-09 20:32:01 +00:00
rem..om
f773bbdd38 DefaultImageRaster : attempt to fix NPE when the raster is initialized with an Image that has not been rendered yet.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10477 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-09 09:13:39 +00:00
rem..om
c591260ab5 WaterFilter : the size of the reflection map can now be changed at run time.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10476 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-09 08:54:10 +00:00
nor..67
c1efd70e3d - fix newt display dependency
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10475 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-08 22:45:40 +00:00
jul..om
32e6516a47 Fixes the debug pipeline which was only working with GL4bc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10472 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 21:14:49 +00:00
jul..om
974b09c47b Adds a field for the JoyInput implementation into JoglContext
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10471 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 21:08:18 +00:00
jul..om
44f7c81567 Fixes a bug in the support of vertical synchronization
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10470 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 21:06:24 +00:00
rem..om
a5c19f54c3 Android : Added a FINE log of all the display configurations available on the device when the context starts.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10469 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 19:03:32 +00:00
rem..om
bfb1b21d6b Android : FINE or lower log levels are now displayed in output when configured so
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10468 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 19:02:26 +00:00
Kae..pl
3888036176 Bugfix: fixed an error that could create wrogn vertex to bone group assignment. This caused animation to be played badly because some vertices remained in their places instead of moving with the proper bone.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10463 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 09:35:35 +00:00
voi..om
23c1fddf8f Added support to upload/modify sub texture to Renderer interface introducing a new method:
public void modifyTexture(Texture tex, Image pixels, int x, int y);
Implementations added for LWJGL and JOGL. LWJGL seems to work. JOGL is untestet. Android implementation needs to be done by someone else (but is already prepared for).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10462 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-04 23:28:58 +00:00
nor..67
ee4834d9dc but anyway, there you go
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-04 18:44:36 +00:00
rem..om
1d7a631430 Android : MultiSampling is now supported on android
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10460 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-04 15:14:16 +00:00
Kae..pl
fc96e52a4c Bugfix: fixed lowes weight removal method that did not remove all lowest vertices that were necessary (thanks to Tobias Downer for finding it :) ).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10459 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-04 11:06:18 +00:00
rem..om
9a28fed581 Android : changed the way the pixel config is passed to the OGLESContext. It's now passed in the appSettings.
This is a first step toward a generalization of the use of appSettings in the AndroidHarness.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10458 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-04 09:30:24 +00:00
rem..om
1871a1831d Better TestMultiPostWater
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10457 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-03 10:31:10 +00:00
jul..om
503adbfd85 Tolerates a failure in the parsing of GLSL version string and then assumes GLSL 1.00 is supported only on the Raspberry Pi
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10455 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-01 17:24:51 +00:00
jul..om
67d5628721 Fixes remaining compile errors in JoalAudioRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10453 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-27 23:22:44 +00:00
jul..om
284beda03b Fixes some compile errors in JoalAudioRenderer (work in progress)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10452 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-27 23:18:44 +00:00
jul..om
76de5e345e Fixes a compile error in NewtMouseInput
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10450 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-27 21:25:50 +00:00
jul..om
724eeb3407 Updates JogAmp JARs (GlueGen build 640, JOAL build 404, JOGL build 921) and adds the missing JARs for ARM V6 soft float & hard float
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10449 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-27 21:23:08 +00:00
rem..om
a400851908 Fixed imports in TestShaderNodes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10443 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-26 21:58:33 +00:00
rem..om
7a79d7160e Reverted accidental commit of GeometryList
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10442 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-26 21:55:59 +00:00
jul..om
ce31958ece Improves OpenGL-ES support (especially for Raspberry Pi), contribution of Erkki Nokso-Koivisto (with small changes), converts ABGR to RGBA only if the extension GL_EXT_abgr is not supported
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10440 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-26 20:00:03 +00:00
rem..om
1091069059 Shader Nodes implementation :
Test case


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10435 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-26 19:39:46 +00:00
rem..om
241cbce7e6 Shader Nodes implementation :
Sample Shader nodes and test material definition

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10434 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-26 19:39:18 +00:00
jul..om
0360f9a44a Improves OpenGL-ES support (especially for Raspberry Pi), contribution of Erkki Nokso-Koivisto, uses the default profile
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10433 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-26 19:35:14 +00:00
rem..om
55d065ab78 Shader Nodes implementation :
Core system

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10432 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-26 19:18:29 +00:00
rem..om
9e3a98931a AndroidInput : Discarded new events when the eventQueue is full to avoid an overflow error. This should only append when more than 1024 events are generated before they've been transformd to JME input events.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10431 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-25 18:00:19 +00:00
rem..om
a5dbe2306c Removed some code that was forcing nearest filtering for textures filtering on android
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10430 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-25 17:39:07 +00:00
rem..om
304878c712 Fixed issue where effect and audio tracks were looping even if they shouldn't
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10429 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-25 09:23:36 +00:00
Kae..pl
0a90ff21d2 Refactoring: removed unused class.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10428 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-24 20:02:34 +00:00
Kae..pl
687c1216ab Refactoring: removing unused code.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10427 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-24 19:59:33 +00:00
rem..om
e296b717b7 Commit Paul's MemoryUtils to JME3 util package
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10426 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-24 08:39:31 +00:00