rem..om
a9eec4c1b2
Jaime model, and test case
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10052 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
bre..om
c7d42dede5
removed physics error from TerrainGrid tests
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9977 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
PSp..om
67750ff7a5
Added a dump of the buttons.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9773 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
12 years ago
Sha..om
0995dcf9b6
* Change shadow direction to demonstrate bug
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9766 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
12 years ago
rem..om
c31c7a406b
BatchNode : fixed bounding issue
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9755 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Sha..rd
6cddcf8f1d
* Fix crash in TestWalkingChar
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9707 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
13 years ago
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
13 years ago
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
13 years ago
bre..ns
461882701d
uncommented some textures in TerrainTestAdvanced
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9590 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
9b9fa57de4
* Formatting and names in ShaderDebug
...
* Remove shininess=0 in TestParallax, its bad
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9276987aac
WaterFilter forgot the heightmap for the test case
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9552 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
68892dfee3
WaterFilter can now be constrained to an area in the scene based on a center and a radius. This allows to have several water areas in the same scene with different sets of parameters
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
656c129de8
added a second example to HelloTerrain test
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9538 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9349bd97c6
MotionPath.setSpeed can now be fed with a negative value to go backward. Waypoints will be properly triggered and the spatial will stop if it reaches the end of the path.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
37aa17302f
* Octree/Octnode: construct method now takes arguments for max depth, max volume, and tris per node
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
a6033d0193
- Added TestCursor + 3 types of cursors for user testing.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3450b171c2
- change TestSweepTest to apply the location to the spatial before adding the physics control to avoid having the obstacle at 0/0/0 in the first frame
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9448 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
9292ac9898
- add Tests for physics raytest and sweeptest (thanks to @wezrule )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9435 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
33a69d4536
Softened terrain API to allow for different tiling implementations. Added MultiTerrainLodControl
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9434 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
4dd46f4c5b
jme3tests: Updated HUD code to use setDisplayStatView(false) instead of guideNode.detachAll(). Recentered crosshairs.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9399 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
9264e0ea32
reverting unnecessarily broken committed test to working original. ;-)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9398 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
9c3efe2e7a
registerLocator(string,string) is deprecated, replaced them by registerLocator(string,class) in these jmetest classes.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9394 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
f654109aa4
added in a NeighbourFinder interface to TerrainQuad so it can be used for tiling outside of TerrainGrid
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9385 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
cac820803b
* Better checking for MRT in renderer (first against max color attachments then against draw buffers)
...
* Now uses only OpenGL2 draw buffers instead of relying on GL_ARB_draw_buffers existing
* copyFrameBuffer() was non-functional when used against the main framebuffer because the width/height were set to zero erroneously, now it uses the current viewport parameters.
* Added TestRenderToCubemap to demonstrate render to cubemap functionality, it also uses MRT to render to all the cube sides
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9378 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
92e2e35aef
- change Material.equals to Material.contentEquals
...
- update BatchNode, GeometryBatchFactory and Test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9349 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
807a3e6fc5
* Fix incorrect format for DepthStencil in TextureUtil (fix potential GL issue)
...
* Fix tex3DThumb.frag compile error (implicit int -> float conversion)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9339 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
ac59c1ffdf
* Fix link error in glow material techniques
...
* DesktopAssetManager now works as before (flipY and generate mips options are enabled)
* Fix crash in TestSimpleWater
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9322 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
7ec115a768
* AssetManager now returns AudioData instead of AudioNode (similar to new Material() type behavior)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9321 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
2d12c4eaf8
* Fix compile error in TestPostWater
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9314 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago