rem..om
29dbdc08a4
Filters : fixed depth buffer rendering for additionnal passes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8176 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
90a7917e1a
Cinematic : removed accessors with a typo
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
d614244f0f
* Consitency between Matrix4f.invertLocal() and Matrix3f.invertLocal(): Now both of them compare determinant to 0 to check if inversion is possible. This fixes an issue with no lighting when a really small scale is applied to scene objects
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8168 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
471f449017
* Fix crash on context.restart(). Reset shader sources when shader itself is reset
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8166 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
f421e2a876
* Removed shiny check in Lighting.frag (for ATI Radeon X1600 and similar)
...
* Applying default values for materials inside old J3O files
* Default shininess in TerrainLighting
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8163 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
5a3f191135
* Reverted r8152, r8157 and r8158
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8159 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
dan..om
b34a3c02e1
Added Texture2DArray and Texture3DArray.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8157 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
dan..om
911fc1409d
Removed unused imports.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8156 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
dan..om
03c22a1dee
Added two new methods to convert ColorRGBA to Vector3f and Vector4f. These should be very useful when using shaders.
...
Formatting.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8155 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
dan..om
7042720106
Appended the proper OpenGL constants to Javadoc for BlendMode.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8154 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
dan..om
87435a37d3
Fixed output param to Logger's warning.
...
Added"name" parameter when exception is thrown so it's easier to know what the name is.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8153 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
dan..om
99c6a41de3
Added Vector2Array, Vector3Array and Vector4Array cases to getValueAsString() method.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8152 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Sha..om
7929111a3a
- Fixed normal vector incorrect in Mesh.getTriangle() (Thanks Kaelgaga)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8147 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sky..ok
50792c460b
Fix for typos in Texture javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8136 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
cd474b2be9
Engine :
...
- WIP : Added new batching system : GeometryBatch, that allow batched geometries to be transformed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8128 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
27c5b3cfb0
Filter Pass can now render its own depth buffer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8088 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
943e4c805d
Prevent boundingBox to create new vectors in distanceToEdge thanks to maximusgrey
...
http://jmonkeyengine.org/groups/graphics/forum/topic/boudingbox-and-vector3fs/#post-140072
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8077 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
roo..li
b3a37f93b7
Dome.java: Renamed accessor for inverted boolean.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8041 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
roo..li
3877740cd8
Dome.java: Updated javadoc to explain effect of parameters and to distinguish between use as SkyDome, pyramid, or cone. Renamed inverted boolean.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8040 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
36dd462c4f
Test rundown part 1 :
...
- fixed NPE in FilterPostProcessor
- fixed compilation error in terrain lighting
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8028 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
db0a4f23a8
* New block language parser
...
* Rewrote J3M loader
* AssetManager.unregisterLocator() must be implemented
* Added support for material default vars
* Apply NVIDIA spot light fix for TerrainLighting
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
0316bec713
SkyFactory : you can now specify the sky sphere radius when creating a sky to avoid near plane clipping when it's set too close to the radius value.
...
see this post http://jmonkeyengine.org/groups/graphics/forum/topic/why-is-the-skybox-culling-when-i-adjust-my-camera-frustum/#post-139378
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8023 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
70af91d981
Engine : added texture type hint to the texture key
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8012 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
2636343ac7
* Fix hard edge bug for spot lights on NVIDIA cards
...
* Fix bump mapping issue that was there since the beginning of time ... flipping normal.y only worked for pond_normal.png texture and IS NOT CORRECT in most cases. Now the texture itself has been adjusted to be correct while the flipping of normal.y removed
* Fix crash when playing sound in simpleInitApp()
* Fix issue where Spatial.setModelBound() would do absolutely nothing
* Skies created via SkyFactory now don't suffer from "premature culling" bug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sky..ok
6c2332d833
Javadoc fixes and links for the com.jme3.animation package; Added missing license header
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8009 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
PSp..om
b3e488ff76
Fixed to properly update the buffer when the extents
...
are changed.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8008 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
2ddc537ddc
* Forgot to commit proper exception for generated textures in MatParams
...
* OBJ/MTL loaders now use logger instead of System.out for warnings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8007 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
91477b73f5
Engine :
...
- Added Volume texture 3D loading support to the DDSLoader
- Added a test case for texture 3D loading
- fixes a minor log issue in Material.java
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
6c7082a7e3
engine : added texture3D support based on darkfalkon Texture3D code and Kaelthas testcase
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8002 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
ac8a9dc0ce
- make AppSettings final
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7999 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
59d7bcdee6
- globally reduce asset paths in AssetKey constructor so that no key type can produce relative elements in the asset name
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7996 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
c6bd03eeab
Added LinearExtrapolation to FastMath thanks to Wezrule http://jmonkeyengine.org/groups/features/forum/topic/2-requests-for-features/#post-138082
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
77dd6761ee
* Added fix for when an mesh xml animation has no tracks will no longer throw NPE
...
* FileLocator now supports "." as a path
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7990 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
984721cc75
* AnimControl now supports abstract animation (doesn't have to be BoneAnimation)
...
* Misc javadocs
* Fix for SoundHandleJme.stop()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
2d2ce703d9
* Added AbstractControl.getSpatial() as otherwise AnimEventListener is kinda useless as it only gives the AnimControl as the reference and to get userdata you need the spatial itself
...
* World space particles are now influenced by rotation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
9e5f9be5ec
SpotLight : reduced the number of float varying by 5 in the shaders :
...
- computed the spotDirection in view space on the java side in Material and pass it as a uniform -> vec4 spotVec disapear
- this implies to decode the cos values for falloff in the frag shader instead of the vert shader, but allows to reduce light vec from vec4 to vec3
All in all it shouldn't be that much of a performance hit, since the matrix multiplication of spotVec occur once per geometry instead of once per vertex, we could go further and compute it once per frame.
On the other hand decoding of the cos values happens once for each pixel instead of once for each vertex ( a floor a mult and a fract). I guess this should be balanced in a rich scene.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7978 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
2767600fe3
* Proper aging for particles emitted in a frame
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7958 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
6c24af2831
Particle Emitter : faceNormal is now correctly saved
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7955 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Sha..om
a1e1057622
* Added javadoc for ParticleEmitter.setMeshType()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7951 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
f5dceb6c4d
Particle Emitter :
...
- Added possibility to change the mesh type after initialization
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7947 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
865c380b4e
Particle Emitter :
...
- Changed cloning method to clone(boolean cloneMaterial), and added a clone() method that calls clone(true). The missing clone(boolean) method was preventing the particle emitter to be correctly cloned when loading it from a j3o file yielding weird results.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7946 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
2b802d5272
Particle Emitter :
...
- fixed NPE when loading a ParticleEmitter from a j3o
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7942 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
c6aafbd0ef
Bugfix: temp var was not released.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7940 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
8f59984d00
Particle Emitter :
...
- fixed setNumParticle method to correctly update the mesh buffers
- added a getMaxNumParticle that returns the max number of particles of the emitter
- changed testMovingParticles and testPointSprite to change the numParticle when hitting the space bar
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7939 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
ae2fda8626
Spot light : fixed issue that was preventing point lights to work correctly when a spot light is in the scene
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7916 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
73aa30785b
* AssetPathURL now accepts non-relative asset paths
...
* ZipLocator will now crash if the specified zip file does not exist
* Fixed crash when restarting context with pixel format changes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7914 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
f182b5d91b
* Javadoc for some classes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7912 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
026a72d57e
* Fix crash in TestEverything
...
* Fix crash in TestWalkingChar
* Fix crash in TestDopper
* Fix crash in TestApplication
* Fix deprecation warnings in audio tests
* Fixed issues with particle emitter cloning and import/export
* Fixed TempVars crashes in BoundingSphere
* Fixed incorrect deprecation warning in AudioNode
* Added smart caching to materials
* Added test to verify that particle export and cloning is working correctly
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7907 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
7cd213b940
* Fix for ParticleEmitter.clone()
...
* Enable smart cache for models
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7906 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Sha..om
66d78be974
* asin -> atan
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7905 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago