sha..RD
27bf244729
* Added glGetError() checks after every GL call (its ugly, I know, but it helps with debugging). Added option to disable it with constant on RendererUtil.ENABLE_ERROR_CHECKING.
...
* Set lastFb in OGLESShaderRenderer when context is reset, this is needed otherwise the state tracker would not work correctly.
* Fix issue with Mesh.Mode.Hybrid that wasn't rendering triangle fans correctly (was rendering them as triangle strips instead).
* Remove call to glPointSize in OGLESShaderRenderer (it would most likely crash anyway, since GLES10 calls can't be used in a GLES20 context)
* TestCustomMesh now uses shorts instead of ints for the index buffer. 32-bit indices are not supported on Android and are slower on Desktop, don't use them if you can avoid it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10525 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 01:01:24 +00:00
rem..om
01e2403f6c
Changed TestBatchNodeTower so that it doesn't use deprecated stuff anymore
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 10:27:10 +00:00
rem..om
ecc35e84c5
Shadows, enhanced TestShadowsPerf
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10520 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 10:05:27 +00:00
rem..om
b5014c5fbc
Implemented stable shadows for DirectionalLightShadowRenderer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-06 09:21:11 +00:00
rem..om
33ad135b28
added back the light in testenvmap
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10510 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-04 18:43:42 +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
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
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
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
nor..67
5746d0be4d
- fix some dependencies for AudioNode
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10418 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-20 19:18:45 +00:00
nor..67
bc36506776
- add black fog to WoI
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10412 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-15 00:38:23 +00:00
nor..67
39205d3b21
- add damping for local x/z forces to BetterCharacterControl, remove debug
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10411 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 23:33:35 +00:00
nor..67
cb1920eaff
- cleanup state detaching in WoI
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10410 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 22:53:34 +00:00
nor..67
8f5a8500a6
- fix coord display for WorldOfInception
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10409 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 22:46:15 +00:00
nor..67
50b7ed3b91
- fix coord display for WorldOfInception
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10408 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 22:44:26 +00:00
nor..67
bd76d72ec7
- add coord display for WorldOfInception
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10407 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 22:16:45 +00:00
nor..67
e100931c1f
- add first version of WorldOfInception
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10406 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 15:00:13 +00:00
nor..67
93c5cdbc71
- change PhysicsTestHelper soccer setup
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10365 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-09 00:42:47 +00:00
nor..67
191c8290f6
- add first version of BetterCharacterControl, WIP
...
TODO: damping of local x/z plane physics forces
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10363 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-08 03:09:35 +00:00
nor..67
7000a19a04
- fix PhysicsHoverControl
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10335 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-05 13:53:29 +00:00
nor..67
ea973c14c3
- change logging from logger.info() logger.fine and logger.warning()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-31 22:37:56 +00:00
rem..om
a9eec4c1b2
Jaime model, and test case
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10052 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-01 11:04:33 +00:00
rem..om
157fb96141
DirectionalLight shadows now work properly when the view cam is in parallel projection
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10030 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-15 12:27:26 +00:00
bre..om
fdf238cc08
moved player location in HelloTerrainCollision. Set a backwards compatibility scale for ImageBasedHeightmap
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10028 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-14 15:37:21 +00:00
bre..om
c909219a4e
Added TerrainTestAndroid and a smaller heightmap image for it
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10025 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-12 18:24:43 +00:00
bre..om
d68fba1fef
fixed TerrainGrid.getTerrainAtCell() and TerrainGrid.getTerrainAt(), updated TerrainGridTileLoaderTest
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9982 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:34:35 +00:00
bre..om
c7d42dede5
removed physics error from TerrainGrid tests
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9977 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-08 23:02:47 +00:00
rem..om
0dadaa80f5
Shadow system refactoring.
...
- Basic and PSSM shadow renderer are now deprecated
- There is now one processor and its filter conterpart for each light type
- created an abstract shadow processor that hold the common shadowing code. It's totally independent of the shadow technique used.
- extracted the CompareMode and FilterMode enum to their own files.
- renamed FilterMode enum to EdgeFilteringMode
- refactored the shader code, to avoid duplicate code. all shadow related code is now gathered into Shadows.glsllib and Shadows15.glsllib.
- added spot light Shadows
- removed the ShadowCamera class as it was not used.
- removed "pssm" in the naming of classes, shader and shader libs since it's not relevant anymore
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 08:38:56 +00:00
rem..om
66ddbb654d
Point light shadows first push. Working solution based on rendering 6 different shadow maps.
...
Made a PointlLightShadowRenderer and a PointLightShadowFilter.
- This will need a lot of refactoring as a lot of code is duplicated with the PSSMShadowRenderer
- Also i plan to change the Shadow map rendering to a cubemap instead of 6 separate textures.
Added a cornell box model and a test case
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9942 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-03 09:38:33 +00:00
sky..ok
01f1c8ff27
Replace NetBeans file templates with jME licenses
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 17:22:45 +00:00
sky..ok
28ce76245f
Change all source licenses to say 2009-2012
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 17:01:57 +00:00
rem..om
d82953b7b8
test PSSM: set the light dirrection to a non failing value until the issue is fixed
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9801 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-02 16:07:59 +00:00
nor..67
b9717e2faf
SDK:
...
- update to RC2 state / NetBeans 7.2
- breaks nightly builds for beta
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9799 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-02 15:45:58 +00:00
rem..om
cbafa1852b
Shadows : There is now an alternative to the PssmRenderer : the PssmFilter that has to be used as any other filter. It does the same ass the PssmRenderer except the post shadow pass is done in screen space making it run very faster on scene that have a lot of shadow recieving Geometries.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9787 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-29 09:38:53 +00:00
PSp..om
52b08cd0da
Updated to work with logical ID instead of name.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9784 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-27 21:34:42 +00:00
PSp..om
67750ff7a5
Added a dump of the buttons.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9773 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 04:41:34 +00:00
bre..om
c4574bff13
fixed an issue with TerrainGrid not having a large enough cache of tiles. Properly hooked in the tileDetached event
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9772 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 04:32:25 +00:00
Sha..om
0995dcf9b6
* Change shadow direction to demonstrate bug
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9766 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 15:02:48 +00:00
PSp..om
2970ff46b3
Updated the joystick test to allow better testing
...
of joysticks and gamepads. It now presents a gamepad
on the screen that updates itself whenever any connected
joystick or gamepad are used. This allows the tester
to compare the actual controller layout to the "default"
controller layout.
Information about the active joystick's available axes
and buttons is also rendered to the display.
A dump of all controllers and their components is written
to joysticks-###.txt file.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9762 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-23 04:18:49 +00:00
rem..om
c31c7a406b
BatchNode : fixed bounding issue
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9755 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-19 18:01:41 +00:00
bre..om
bd7c10ba80
Added more comments to the TerrainLighting test. Made the TerrainLighting material more forgiving if normal maps aren't set
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9751 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-18 22:24:04 +00:00
rem..om
384f4ac1c2
Lighting and Shadows (PSSM only) :
...
- re introduced the alphaDiscardThreshold as explained in prvious commit. It's not binded to the AlphaTestFallOff fixedfunc binding
- Added a small poly offset to post shadow technique, this greatly help in fixing shadow acne.
- Added Poisson disc sampling PCF Filtering for shadows
- Properly passed the shadow map size as a define in the shaders and remove the hardcoded value
- Pssm15 don't use the textureSize function anymore and use the same shadow map size define ( this increased performance quite a bit)
- Optimized the shaders code a bit
- Better PSSM test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9750 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-18 21:37:11 +00:00
Sha..rd
2a11aae3a4
* ImageRaster now supports Android. However the constructor can no longer be used. Instead user should create it by using ImageRaster.create() which automatically defers the handling to JmeSystem.
...
* TestImageRaster tests both reading and writing from various types of formats now by chaining the image conversions
*
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9710 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-09 23:39:45 +00:00
Sha..rd
6cddcf8f1d
* Fix crash in TestWalkingChar
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9707 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-06 03:52:32 +00:00
Sha..rd
f5f3a85042
* Added new ImageRaster thing, it can let you read and write pixels on jME3 images without caring about the underlying format. NOTE: None of the jME3 internal classes use it yet, the code has yet to be ported.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 03:18:22 +00:00
pot..om
16851eb1d8
Removing Android Sensor Support (undo r9610). Preparing for new way of implementing sensor support on Android.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9646 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-12 01:35:56 +00:00
pot..om
bb631ab13a
Adding support for defining external (or internal in Android's case) sensors. This is still a work in progress. Major task yet to complete is defining the coordinate system to return the sensor data. 3 sensor types are defined: Magnetic, Accelerometer, Orientation. Right now the sensor data is returned in device coordinates for Magnetic and Acceleration, and World (Earth) coordinates for Orientation. Sensors use the Input Manager to define triggers and listeners like all other input types. Only Android has an implementation for SensorInput at this time. See forum post http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for details of the operation and current status.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9610 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 01:55:37 +00:00
bre..ns
461882701d
uncommented some textures in TerrainTestAdvanced
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9590 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-27 15:09:30 +00:00
rem..om
c02b24da12
Cinematics : renamed all XXXTrack in cinematic.event to XXXEvent, so there is no confusion with the Tracks in the animation system.
...
Old XXXTrack classes are now deprecated an just extend the corresponding XXXEvent class.
Also removed PositionTrack, RotationTrack and ScaleTrack for they are deprecated since alpha 3.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9567 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-18 21:16:05 +00:00
Sha..rd
6c12291559
* Missed this one yesterday, removed FixedFunc name from UnshadedArray.j3md
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9558 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:42:20 +00:00