Kae..pl
ccb31e646b
Small fix to musgrave texture generator.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8065 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
de8053c740
Removing this directory until the person who committed
...
the three different cases of Rock.PNG can check in the
right ones. Otherwise, no one on a non unix OS can
update SVN. :P
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
7a954c0650
removed a premature commit to terrain tangents that isn't fully working yet
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
77718d1f15
flipped terrain texture coordinates. New tangent calculations. Warning if heightmap is different size than specified terrain
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8060 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
11b250ffe1
Support for texture's tube projection.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8059 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..om
cdf464123d
Updated BookSamples terrain and water code, textures
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
3e1646a6cd
Licence blocks added to texture generators.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8057 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
8f1e07a557
Moving projection calculations to a separate class.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8055 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
843cce9b30
Cube mapping for textures support.
...
Providing proper texture mapping data to UVCoordinatesGenerator.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..om
ade83e8454
BookSamples code update
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8047 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
5f5eb708da
- Added steep parallax mapping, activate it by setting SteepParallax attribute to true in lighting material
...
- Refactored paralax calculation code in Parallax.glsllib
- Added a boolean param to lighting material PackedNormalParallax to specify if the parallax map is stored in the alpha channel of the normal map (it was already implemented in the shader). added a dds file and a material using this
- The parallax height can now be set by users by setting the ParallaxHeight attribute. default is 0.05
- Deleted old normal map for water
- Inverted green channel of the brickwall normal texture to look good with recent change in normal calculation in lighting material
- Created a test case for parallax mapping where you can swich from classic to steep parallax using spacebar, and where you can tweak the parallax heigh by using I and K keys.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
b86b658c93
Fixed material default value loading
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8045 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
75b320b7d6
Better normal map for water
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
6c9395c4e9
Creating common setup for both types of loaders.
...
Fixing a bug with loading objects from all layers when using BlenderModelLoader.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
daa86cfec7
Disabling loading all assets by default. Now unlinked assets or those being on inactive layers will not be loaded if they are not requested to.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8042 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 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
13 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
13 years ago
Kae..pl
d6574a8cc7
Importing generated textures as 3D textures.
...
UV coordinates generator added (will handle different UV coordinates generation methods in the future).
MaterialHelper refactoring.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8039 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
ab26912f60
Adding changes pointed out by madlion.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 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
13 years ago
sha..rd
f6f378ec55
* Use the same pbuffer pixel format for everything. Provides better compatibility.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8025 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 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
13 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
13 years ago
bre..ns
9bd9e1dc08
fixed add terrain bug, now they all use the same action
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8022 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 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
13 years ago
Sha..om
c77f1c6cfb
* Fix for x window crash on Display.destroy() on linux
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 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
13 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
13 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
13 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
13 years ago
sha..rd
e5be9cef83
Lighting material
...
* Hopefully fix incorrect parallax map
* Multiply specular by diffuse factor to prevent physically impossible shininess (compare TestNormalMapping to understand the difference)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8006 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sha..rd
17b949fea2
Blender Loader
...
* Enable mipmaps for packed and generated textures
* Better handling of material flags for 2.58
* Allow loading of meshes with no vertices instead of crashing
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8005 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 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
13 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
13 years ago
nor..67
c26e4d8e42
- revert previous change as wrong image paths might result
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
65c228ff15
- fix NiftyJmeDisplay so that other locators can be registered for NiftyGUI
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8000 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ac8a9dc0ce
- make AppSettings final
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7999 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3081862ced
- add support for material name mappings to MaterialExtensionLoader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7997 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 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
13 years ago
rem..om
10366623f7
Added FXAA filter to the core thanks to phate666 for its implementation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7992 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
c5aba505fc
* Fixed AssertionError in SceneLoader when loading multiple scenes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7989 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
roo..li
59b00bbae9
Added CameraNode and new navigation to TestPhysicsCharacter.
...
Added a variant of createPhysicsTestWorld with more spheres.
Changed the size of golem in TestWalkingCharacter to fit step length.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7983 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
roo..li
3a3a5de8c9
Added javadoc, fixed tiny typo, reformatted sample a bit.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7982 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
20f5e9d200
Fixed vertex lighting broken since last spot light changes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7981 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
5476be99f7
SpotLight : Applied the same changes to terrain lighting
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7979 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