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
13 years ago
Kae..pl
9a44e32fb2
Image loading changed during textures loading (using AssetManager now).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8074 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
b5e4914ac7
Additional locators added to locate blender resources.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8073 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
b8df569d86
renamed split to splat
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8072 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
17143f8a3f
added the working terrain textures back in
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8071 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
fa46b16e87
changed normal and tangent generation for terrain to handle scale, removing artifacts
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8070 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
1dbd617d2d
Added a method to register classes in bulk.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8069 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
8f90e62fec
A change from a while back that presents a slightly better
...
error message than an NPE but still isn't very helpful. This
usually only happens when things are totally confused, ie:
stream corruption or more likely misregistered classes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8068 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
8198719cdf
removed commented out code
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8067 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
14cc4eb3b2
improved heightmap smooth algorithm
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8066 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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