95 Commits

Author SHA1 Message Date
Nehon
8d01c5a26f MatDef is not Savable anymore. Kind of reverted previous commit and implemented and very straight forward exporter for J3mds that doesn't use the Savable process of jme3 since it's designed to save the whole graph and not only subparts of it like materials and material defs. The API stays the same though 2016-05-10 13:06:04 +02:00
Nehon
81053352ac initial and partial implementation of a j3md exporter with test 2016-05-09 17:08:32 +02:00
Eirenliel Allier
681b2101dc Fix building with JRE 1.7 2016-04-26 11:21:34 +03:00
Eirenliel Allier
794932104b Fix compatibility with Java 7 2016-04-26 11:12:37 +03:00
Eirenliel Allier
4b6be2a789 FBX Importer cleanup 2016-04-26 10:16:03 +03:00
Eirenliel Allier
f65dd517c9 Reworked original FBX importer 2016-04-26 10:10:26 +03:00
Riccardo Balbo
70ef220c2b Fix material sharing 2016-04-18 11:52:06 +02:00
Kirill Vainer
3f5cc4963e FBX: use new loader by default 2016-04-10 23:20:41 -04:00
Kirill Vainer
876015ab47 deprecate alpha test / point sprite 2016-04-10 12:09:36 -04:00
Nehon
493855bac9 LineWidth 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) 2016-03-20 21:36:28 +01:00
Nehon
107123820b Fixed material exporting NPE when the additionalRenderState is null 2016-03-17 14:04:48 +01:00
Nehon
e0ffff3af0 Better test for material loading, also ensured that the J3MExporter writes UTF-8 files 2016-03-11 21:27:46 +01:00
Nehon
3245c9ac89 Silence test...anyway who does tests? 2016-03-11 18:58:53 +01:00
Nehon
d1e707feb0 Testing something so the Test can properly Test the Test I want it to Test 2016-03-11 18:36:53 +01:00
Nehon
bcea9bfe51 Better regex testing in TestMaterialWrite 2016-03-11 18:16:48 +01:00
Nehon
5e6d2e8ca3 J3MExporter : allows to save Materials to j3m files.
Added proper test in jme3-plugins
2016-03-11 17:45:29 +01:00
Kirill Vainer
b4baaadc79 JmeExporter: remove useless return 2015-05-03 15:59:32 -04:00
Kirill Vainer
ed2be5e542 FBX: new FBX importer (not yet enabled - old importer still used by default)
Still needs work:
 * Skeletal animation (many issues with transform hierarchies)
 * N-gons triangulation (only quads supported at the moment)
 * Light & Camera importing
 * Z-up to Y-up correction
 * Morph animation
2015-04-19 18:08:28 -04:00
Kirill Vainer
6f29772862 FBX: fix build error due to rename 2015-04-19 13:42:25 -04:00
Kirill Vainer
0a5b68983e FBX: Rename FBX -> Fbx. Support FBX 6.x IDs in FbxDump. 2015-04-19 13:33:43 -04:00
shadowislord
ba8349a0cf FBX: ContentTextureKey to disable cache
FBXDump remove useless import
2015-04-19 13:24:44 -04:00
shadowislord
d55a859240 FBXLoader: add class to dump FBX binary files as text 2015-02-28 19:07:20 -05:00
shadowislord
47e1c336e6 XMLImporter: make sure to close stream if exception occurs 2015-02-28 18:29:38 -05:00
shadowislord
d3b71cd946 OgreXML material loading: some material state was not reset, causing it to leak to other models 2015-02-24 22:09:57 -05:00
shadowislord
9759e24961 OgreXML materials: inherit more parameters from TextureKey
Allows modifying the key in a AssetLoadListener to modify the anisotropic filter
2015-02-21 15:40:42 -05:00
shadowislord
85bba59541 OgreXML: Use the placeholder texture for missing textures 2015-02-21 15:35:07 -05:00
shadowislord
4090b6f1de OgreXML Loader: set jME3 material name based on ogre material name 2015-02-15 17:01:12 -05:00
shadowislord
badefdf4e4 Fix OgreXML loading crash when no material specified for geometry 2015-02-10 20:15:29 -05:00
shadowislord
7a09fbbeb0 Fix the last part of issue #90 2015-01-31 16:18:13 -05:00
Paul Speed
9eca2251a9 Handle more gracefully the case where a texture
directive has no image specified.  Prior to this
it was throwing an ArrayIndexOutOfBounds exception
which was silently swallowed even though the
import fails.
2014-12-20 03:49:53 -05:00
Kirill Vainer
9b1b760056 Merge pull request #200 from GreenCubes/master
Fix loading FBX with absolute image path
2014-12-08 21:41:40 -05:00
Rena4ka
718bb09db1 Fix loading FBX with absolute image path 2014-12-09 05:30:31 +03:00
Nehon
e8ca5fe8ff fixed Issue in MeshLoader introduce in a previous commit 2014-11-16 19:04:50 +01:00
shadowislord
c3542649b5 Fix the issue mentioned in PR #186 2014-11-12 22:11:46 -05:00
shadowislord
c8a2a7260e Correct the previous PR a bit
* Support 1D and 3D texture coordinates specified by ogre exporter as well as 2D
2014-11-12 22:03:57 -05:00
NemesisMate
c1ce9b0779 Fixed "float2" added by some generators
As commented in: http://hub.jmonkeyengine.org/forum/topic/unable-to-import-3ds-max-models/#post-285056
2014-11-12 22:29:21 +01:00
shadowislord
e17375665d Fix crash when loading ogre models due to changed lighting material 2014-11-10 23:30:59 -05:00
Rena4ka
1b43cb6d4a Fix some FBX loader problems
Fix exception when loading geometry without gui, fix loading nodes
without models (nested nodes)
2014-09-17 10:09:46 +04:00
Rena4ka
f28c31d851 Fix and extend FBX file loader
Fix using AssetManager.loadModel() with fbx file causing to throw
AssetLoadException.
Implemented loading of new file format .fba - .fbx file with animation
mapping.
2014-08-18 06:19:28 +04:00
tort32
e5002c1428 Implemented FBX file loader 2014-08-16 05:35:02 +04:00
Rena4ka
478ca7b843 Implemented FBX file parsing 2014-08-16 05:35:01 +04:00
shadowislord
ad7fdb6fab * Deprecate texture wrap modes not supported in OpenGL 3
* Make sure engine is not using them anywhere
2014-06-05 22:51:51 -04:00
shadowislord
99af4d9bd5 * Deprecate usage of TextureKey.setAsCube() and TextureKey.setAsTexture3D() - this is now handled by the TextureKey.setTextureTypeHint() method instead 2014-05-31 18:39:44 -04:00
shadowislord
6b12d5c638 * Fix many javadoc errors mostly related to incorrect HTML or missing references 2014-05-31 13:12:46 -04:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00