bre..ns
69fe43f079
added terrain.getNormal(x,z)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8200 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
a899fbc075
fixed TerrainGrid.getHeightmapHeight, fix thanks to @Makeshift
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8198 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
86124b9a04
terrain.getHeight now scales the result
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8195 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 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
13 years ago
bre..ns
3f6834d7c7
fixed terrain picking bug
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8138 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
6940694e14
* fixed bug with terrain collision and flat terrain having a zero-volume bounding box
...
* corrected terrain.getHeight()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8135 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
044e797da1
javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8081 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
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
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
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
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
ant..om
dfef1a6dfe
Fix: fixed a bug when using alphamaps with TerrainGrid
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7904 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
58d485467a
- fix lighting compile error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7894 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
99a4b00c15
- Added SpotLight light type.
...
- Implemented spot light shading for lighting (pixel and vertex lighting) and terrain shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7893 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
c54ce7be27
reduced terrain save j3o file size
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7883 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
026abb5a74
update: removed tileLoaded from TerrainGridListener, one should use tileAttached and tileDetached instead.
...
updated the tests as well
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7849 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
a24becee32
* Replaced all usages of ByteBuffer.allocateDirect() with BufferUtils.create***Buffer() so that memory can be tracked
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7845 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
7b93faa8e1
fixed but with normals not updating in terrain
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7844 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
668eaf9cfb
changed TerrainGrid methods to protected access
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7842 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
a5511a19dc
pulled ImageBasedHeightmap height color calculation out so it can be customized by subClasses
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7841 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
dde0c0a885
Fix: extended TerrainGridListener with ozonegrif's extension
...
this allows physics to be handled by the user rather than manipulating in the grid
see tests for details
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7840 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
07e096ae71
Fix: the new way to add physics to terrainGrid is to use the listener interface, see updated tests
...
new heightmaps are provided for TerrainGridTest
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7836 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
4eeab63f9f
fixed -1 offset in TerrainGrid
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7835 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
1a08b7b0f6
* fixed lod bug in TerrainGrid
...
* flipped the grid orientation to match the Quad's orientation
* removed blocking call to loading thread
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7833 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
08e5d1a68f
fixed AbstractHeightMap bounds check, thanks ozonegrif
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7830 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
bb718f942c
* javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7826 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
db83e48019
* fixed terrainGrid NPE on executor
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7825 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
9407f4c3d0
* delayed creation of TerrainQuad executorService unless absolutely needed
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
e3574d2fe7
part 2, renaming
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7820 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
1a78dd200c
removed unused geomap classes, replaced with single GeoMap class (part 1 of 2 part commit, blasted netbeans)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7819 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
c5d0b7b8e8
removed redundant RawArrayHeightMap
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7818 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
8c7469d210
fixed a bug with normals in TerrainLighting material
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7796 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
7314c5f613
* Fix lighting "early cull" issue for terrain lighting shader as well
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7794 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
9a3353698a
RigiBodyControl is applied to subquads instead of the whole terrain
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7789 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
1c4548123a
variable assignment for RawArrayHeightMap serialization
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7787 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
e6f6f94718
Added RawArrayHeightMap courtesy of OzoneGrif
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7786 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
70f1a6f323
* Cleaned up and simplified the Terrain API.
...
* Removed dependence on TerrainQuad for TerrainLodControl
* Comments, general cleanup
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7783 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
d9c3df086d
increased terrain diffuse texture limit to 12, including normals
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7759 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
0604418b3c
Fix: calculating localTranslation after gridChange
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7756 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
bcfeb06317
Fix: calculating localTranslation after gridChange
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7738 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
e4983751c7
fixed collisiongroup check on grid change
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7720 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
dfeff3c6af
Fix major bug: TerrainGrid.getHeight returned always 0 after first grid change happened
...
minor bug: updateModelBound missed from TerrainGrid update call, added collisionGroup check to physics, and failing with exception if material is not set before initialize() call
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7691 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
a6300ba55b
* Initial docs for com.jme3.scene.debug, com.jme3.scene.shape, com.jme3.scene.control
...
* Javadocs for com.jme3.scene.mesh
* Formatting for com.jme3.terrain classes
* Terrain updating thread now called "jME3 Terrain Thread"
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7667 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
2ded30739d
* bumped up terrain material texture support
...
* updated the test case example
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
4148e216b4
tweaks to getHeightmapHeight, removed old code
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7648 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
993b220922
* performance improvements to terrain height modification
...
* api change to let you pass in many points to be adjusted in the terrain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7643 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago