3c56afeae6Converted Application to an interface and renamed the old Application to LegacyApplication. This is a breaking change for any class extending Application directly. And regardless, if you refer to Application then you will need to clean build your app... and any of your dependencies that also refer to Application. Basically, anything using an AppState will need to be clean built against the next alpha.
v3.1.0-alpha4
Paul Speed
2016-03-28 01:47:33 -04:00
ab6fb03171Converted spatial over to use Cloner to do its various deep and semi-shallow cloning. I'd be very surprised if nothing is broken as there is only so much testing I can easily do. Also various fixes for places I forgot to call super.cloneFields().
Paul Speed
2016-03-27 06:14:52 -04:00
0a876b04d2Added a TestCloneSpatial example to do some basic clone testing.
Paul Speed
2016-03-27 06:11:41 -04:00
95d5f58d68Modified the run task to pass through the log configurion settings system property.
Paul Speed
2016-03-27 06:10:50 -04:00
f7c16e878eModified the clone function lookup to support inheritence. It's just too useful for things like Mesh which has a dozen or more subclasses... more useful than the limitations.
Paul Speed
2016-03-27 05:38:43 -04:00
2028f3b3f8Added 'finer' logging for the clone() method to provide visibility for debugging. Added a setClonedValue() method to force uncloned or precloned references in some specific use-cases. Added an isCloned() method to tell if an object has already been cloned in this cloner's 'session'.
Paul Speed
2016-03-27 04:53:12 -04:00
c6aac78f42Added a clone() method and implement Cloneable. Removed whitespace from the ends of lines.
Paul Speed
2016-03-27 04:51:31 -04:00
da9d38fee6Updated the Tank maps, (SP2 generates smaller maps) also reverted last calibration changes as it was screwing up the real life models...
Nehon
2016-03-26 18:44:00 +01:00
e2f180811cPBR calibration with recent changes
Nehon
2016-03-26 15:36:37 +01:00
7190da4df0PBRLighting Uses the world normal fetched from the texture...
Nehon
2016-03-26 10:47:49 +01:00
65a8ee0f2ePBRLighting now use the world normal to fetch irradiance instead of the reflection vector. Also added some comment for the parallax fix to explain what it does and where it comes from
Nehon
2016-03-26 10:32:59 +01:00
7b29c58fe0JmeCloneable related changes to TerrainQuad and TerrainPatch. Fixed something I missed in NormalRecalcControl.
Paul Speed
2016-03-26 05:29:22 -04:00
eda92656ddUpdated AudioNode with a JmeCloneable cloneFields() method to clone its fields. Some small change in behavior since the new methods will clone the filters, too, to avoid 'user surprise'.
Paul Speed
2016-03-26 04:19:59 -04:00
2f246b25bbAdded cloneFields() method to BitmapText thought it's probably fruitless since BitmapText isn't even properly saveable and couldn't possibly have worked for any dynamic text with the old clone() method. Also a bunch of white space changes removing spaces at the ends of lines.
Paul Speed
2016-03-26 04:08:51 -04:00
3f1c696e26Adding a comment about the strange shared fields in BitmapTextPage that I'm not going to touch with a ten foot pole.
Paul Speed
2016-03-26 03:55:58 -04:00
7665fef2deParticleEmitter and related classes (ugh) now implement JmeCloneable. It hasn't replaced the old clone() method yet and is still untested.
Paul Speed
2016-03-26 03:46:48 -04:00
6e999aa79bTired of committing around the generated version.prpoerties file... so I'm remove it and fixing it with a .gitignore.
Paul Speed
2016-03-26 03:45:34 -04:00
754c256a66Merge branch 'master' into PBRisComing
Nehon
2016-03-25 23:50:19 +01:00
07088452ffFixed binormal calculation in Single pass lighting
Nehon
2016-03-25 23:49:07 +01:00
2bdb3de2f5Started implementing the JmeCloneable stuff for Spatial and Mesh. Still need to catch some of the outer subclasses of Node and Geometry. Nothing is hooked up or tested yet.
Paul Speed
2016-03-25 04:31:10 -04:00
493855bac9LineWidth is now a RenderState parameter, One can change the lineWidth used to render a mesh wireframe or a mesh in Lines mode by using material.getAdditionalRenderState().setLineWidth(value)
Nehon
2016-03-20 21:36:28 +01:00
8477fa781bFixed another NPE when missing serialized waypoints and fixed having different names for write/read
MeFisto94
2016-03-20 20:25:39 +01:00
c4525aa550Fixed MotionEvent clone for Spatial as it was resulting in controls added twice to the spatial. Also removed a useless line in all the constructors.
Nehon
2016-03-20 18:56:19 +01:00
23fe0658a6Fixed a NPE when Serializing a Spline without points. Also fixed a Typo.
MeFisto94
2016-03-20 12:45:19 +01:00
15c9c083cdAllow MotionEvents to be cloned
MeFisto94
2016-03-20 10:11:04 +01:00
8b1ddbe60fFirst round of getting JmeCloneable implemented... added support for Cloner to the controls that implemented cloneForSpatial(). Unused until spatial cloning is implemented.
Paul Speed
2016-03-20 02:47:16 -04:00
b218f4104eForgot to commit the change in the Cornell box model
Nehon
2016-03-17 18:05:53 +01:00
be3dc06e28Bugfix: fixed a bug that caused NPE during vertex groups loading when mesh block was saved without its parent.
jmekaelthas
2016-03-17 18:05:27 +01:00
dff4befafbAdded an option to not render backfaces shadows with the shadow renderer and the shadow filter. It's the default for the renderer but not for the filter as it may have some edges artifacts.
Nehon
2016-03-17 17:58:41 +01:00
32be69f3e6Remove a lot of duplicate code for shadows
Nehon
2016-03-17 14:34:18 +01:00
107123820bFixed material exporting NPE when the additionalRenderState is null
Nehon
2016-03-17 14:02:12 +01:00
ef35af958bRemove logging on touch events
iwgeric
2016-03-17 08:57:21 -04:00
13f68c623cBugfix: fixed small bug in face triangulation and several computations in the Edge class.
jmekaelthas
2016-03-15 17:24:23 +01:00
48b3f1a4d3Bugfix: fixes to face triangulation and some edges computations.
jmekaelthas
2016-03-15 17:18:16 +01:00
26719e0047Fixed sign post material and adjusted ambient lights for the spot lights tests
Nehon
2016-03-14 20:29:58 +01:00
0b487ee9f3Moved the file writing in screen shot app state to its own method... 1) because it's a little cleaner, 2) because it means subclasses can hook it if desired.
v3.1.0-alpha3
Paul Speed
2016-03-13 04:44:54 -04:00
e0ffff3af0Better test for material loading, also ensured that the J3MExporter writes UTF-8 files
Nehon
2016-03-11 21:27:46 +01:00
5c1d442b00Missing getHeight present on jbullet
NemesisMate
2016-03-11 18:11:33 +00:00
3245c9ac89Silence test...anyway who does tests?
Nehon
2016-03-11 18:58:53 +01:00
d1e707feb0Testing something so the Test can properly Test the Test I want it to Test
Nehon
2016-03-11 18:36:53 +01:00
bcea9bfe51Better regex testing in TestMaterialWrite
Nehon
2016-03-11 18:16:48 +01:00
5e6d2e8ca3J3MExporter : allows to save Materials to j3m files. Added proper test in jme3-plugins
Nehon
2016-03-11 17:44:00 +01:00
cb56fd88ebFor some reason the J3MLoader never loads the material name. Not that it's really important, but since we have the name field... let's read it...
Nehon
2016-03-09 22:31:46 +01:00
f83c7006f0Removed some cloneForSpatial() methods that weren't doing anything that the super class would do. Adding @Override to cloneForSpatial() methods in jme3-core controls and CloneableTracks.
Paul Speed
2016-03-11 05:46:31 -05:00
eb2e2f4cdcAdding @Override to cloneForSpatial() methods in examples.
Paul Speed
2016-03-11 05:45:18 -05:00
2b81011668Adding @Override to cloneForSpatial() methods in terrain lib.
Paul Speed
2016-03-11 05:38:32 -05:00
20f62cbd64Adding @Override to cloneForSpatial() methods in bullet lib.
Paul Speed
2016-03-11 05:37:07 -05:00
10947e8b50Modified the JmeCloneable's clone() method to be jmeClone() so that implementing objects will still be able to keep a regular public clone() method that may do their own selective deep cloning. This allows explicit demarcation between the normal 'user' facing clone() and the two step cloning process used by Cloner.
Paul Speed
2016-03-10 04:25:43 -05:00
68425480cbRemoved a bit of commented out dead code.
Paul Speed
2016-03-10 03:45:11 -05:00
7628b0f9e3Fixed collision group listeners not being notified
Fadorico
2016-03-09 15:08:56 -05:00
947904b71dAdded public method getGeometry on Batch class.
InShadow
2016-03-09 07:49:07 -08:00
8bc2348046Removed some commented out code I forgot to remove.
Paul Speed
2016-03-09 00:59:51 -05:00
90af571f76Added a test/demo showing how to use the cloner with various examples of the kinds of classes it can work with.
Paul Speed
2016-03-09 00:59:21 -05:00
70154f1b1dAdded a simple deep cloning that can replace all of our odd post-fixup piece-meal stuff with proper full-object-graph shared reference cloning.
Paul Speed
2016-03-09 00:54:01 -05:00
35de6bd6d3Upping source compatibility to 1.7. Even 1.7 is end-of-lifed by now but at least it's newer than the ancient 1.6.
Paul Speed
2016-03-09 00:52:39 -05:00