4072 Commits

Author SHA1 Message Date
rem..om
a7f5be2ae4 Stopped the not editable Userdata warning to show up
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-29 15:02:17 +00:00
PSp..om
a62a2d0299 Added some methods for bulk-attaching a bunch
of app states at once.  This is useful when
attaching several app states from a different
thread because there is a guarantee that they
all get initialized together before any of their
update() methods are called.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10504 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-28 10:44:02 +00:00
rem..om
c689ba4e9b Fixed remaining black artifacts with post waters when using the 1.5 shader and also clamped refraction tex coordinates for under water in both shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10503 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-27 19:39:41 +00:00
voi..om
6f54913af3 Nifty-1.3.3-SNAPSHOT (build 2013-03-26): new method markBatchRenderImageAsUnloaded() available at NiftyImage class
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10502 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-26 00:43:09 +00:00
Zer..om
87172ad7eb Removed wierd import of org.bushe.swing.event.Logger; that was causing my build to fail locally and wasn't used anywhere.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10501 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-24 23:08:52 +00:00
Zer..om
ce07608e5c Added error logging to SettingsDialogue as requested by toolforger.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10500 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-24 21:48:44 +00:00
Zer..om
ceba00624a Changed node to spatial in the getChild javadoc to be more correct.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10499 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-22 22:51:20 +00:00
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
2037ece7d8 SDK: Add imports for new default setting for logging level in Android MainActivity.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10487 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-15 02:42:35 +00:00
iwg..om
d197cd43ff SDK: Add default setting for logging level in Android MainActivity.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-15 02:34:11 +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
2015d5b956 SDK : removed jme3Data folder that has nothing to do here
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-10 13:22:26 +00:00
rem..om
8cf44e7e3e SDK : MatDefEditor: fixed compilation warnings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10483 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-10 13:20:41 +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
bre..om
3079ca689f terrain height tool remembers undo history as an entire mouseDown event now. RMB now erases
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10474 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-08 20:20:48 +00:00
bre..om
ef700eff19 terrain paint tool remembers undo history as an entire mouseDown event now. RMB now erases
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10473 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-08 19:11:02 +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
bre..om
5f95807432 MaterialBrowser will remember browse path. Removed commented out code from TextureBrowser
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10467 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 18:20:27 +00:00
bre..om
48a6c4745d material browser sorts alphabetically. Material editor sorts mat-def list alphabetically
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10466 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 18:08:27 +00:00
bre..om
a1e7e024ea TextureBrowser is now sorted alphabetically and remembers your last selected texture and expands to its folder
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10465 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 17:42:09 +00:00
bre..om
b1657e6846 speaking of SDK, material property editor is now sorted alphabetically
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10464 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 16:00:43 +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
rem..om
08edd2715c SDK mat def editor :
- better handling of errors in the material definition
- the navigator now properly refreshs
- the editor is reloaded when a change occur in the text file


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10456 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-02 11:26:35 +00:00