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
bre..ns
bd114ed3ac
fixing whitespace
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7634 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
2073f58cf8
TerrainGridListener is extended to be able to change material of individual grid files.
...
Also added new grid test-data, cause it somehow disappeared
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7611 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
d6d3894fff
* New version of nifty * Added simple package.html for some of the jME3 packages
...
* Additional javadocs for com.jme3.renderer
* Removed Camera.setDirection()
* ImageBasedHeightMapGrid now uses AssetManager to find heightmaps
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7605 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
b8d1073014
Introduced a new Namer class, so the heightmap tiles' names can be generated independent from the terrain system.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7595 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
8cbb0f210d
* Small javadoc fixes
...
* Formatting for com.jme3.effect package
* Formatting for blender importer and networking tests
* All networking tests ported to new SpiderMonkey
* Removed all mentions of java.util.Serializable
* RMI now works under new SpiderMonkey
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7593 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
7d5adb24c3
bugfix: terrainQuads were translated using a constant 2, now it uses localScale isntead
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7576 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
83da85efd3
bugfix: heightmap.setHeightScale is set from grid's heightscale instead of constant 256f
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7570 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
5a79adc4fe
fixed bug in abstractHeightmap.smooth, thanks to ozonegrif
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7563 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
9b614ee389
fixed a bug in AbstractHeightmap.flatten
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7560 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
0248e92e3c
Added a terrain material that uses height and slope information to map textures instead of alphamap.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7542 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
4fa5522c8e
Added a terrain material that uses height and slope information to map textures instead of alphamap.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7530 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
58ede837c6
Added my own noise library as jar (noise-0.0.1-SNAPSHOT.jar), hope I didn't break any build stuff
...
TerrainGridTest is running smooth now using 257x257 sized TerrainQuads with fractal based heightmaps calculated on the fly.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7529 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
0bfd5aa2a3
fixed a bug calculating camera cell
...
Test is updated to not use LOD and physics for testing purposes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
34a47debb9
TerrainGrid added to terrain package, test included
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7483 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
6196de22f7
* Removed all deprecated classes, methods, and fields
...
* AudioNode now takes AudioRenderer in its constructor to allow audio.play() functionality
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago