platform/upstream/assimp.git
7 years agoMerge pull request #1212 from aoowweenn/umw_dev
Kim Kulling [Wed, 17 May 2017 10:01:46 +0000 (12:01 +0200)]
Merge pull request #1212 from aoowweenn/umw_dev

MikuMikuDance Format

7 years agoMerge pull request #1275 from ab4d/master
Kim Kulling [Wed, 17 May 2017 09:34:35 +0000 (11:34 +0200)]
Merge pull request #1275 from ab4d/master

Fixed build error in ObjExporter :: GetMaterialLibFileName

7 years agoObj-Exporter: fix build.
Kim Kulling [Wed, 17 May 2017 08:13:07 +0000 (10:13 +0200)]
Obj-Exporter: fix build.

7 years agoMerge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Wed, 17 May 2017 07:25:30 +0000 (09:25 +0200)]
Merge branch 'master' of https://github.com/assimp/assimp

7 years agoLWOLoader: fix link in loader description.
Kim Kulling [Wed, 17 May 2017 07:25:07 +0000 (09:25 +0200)]
LWOLoader: fix link in loader description.

7 years agoFixed build error in ObjExporter :: GetMaterialLibFileName
Andrej [Tue, 16 May 2017 20:18:47 +0000 (22:18 +0200)]
Fixed build error in ObjExporter :: GetMaterialLibFileName

7 years agoMerge pull request #1274 from ab4d/master
Kim Kulling [Tue, 16 May 2017 20:09:59 +0000 (22:09 +0200)]
Merge pull request #1274 from ab4d/master

Improved obj exporter to export materials to fileName.mtl file instead of fileName.obj.mtl

7 years agoUsing single quote for one character parameter in find_last_of method call
Andrej [Tue, 16 May 2017 19:56:49 +0000 (21:56 +0200)]
Using single quote for one character parameter in find_last_of method call

7 years agoImproved obj exporter to export materials to fileName.mtl instead of fileName.obj.mtl
Andrej [Tue, 16 May 2017 13:55:40 +0000 (15:55 +0200)]
Improved obj exporter to export materials to fileName.mtl instead of fileName.obj.mtl

7 years agoRevert "Creating fileName.mtl file instead of fileName.obj.mtl"
Andrej [Tue, 16 May 2017 13:47:57 +0000 (15:47 +0200)]
Revert "Creating fileName.mtl file instead of fileName.obj.mtl"

This reverts commit 5757980ea5b00d4c68fe7fcaa204212c31a2c8d7.

7 years agoCreating fileName.mtl file instead of fileName.obj.mtl
Andrej [Tue, 16 May 2017 13:34:50 +0000 (15:34 +0200)]
Creating fileName.mtl file instead of fileName.obj.mtl

7 years agoMerge pull request #1268 from VennGrayDog/b1
Kim Kulling [Mon, 15 May 2017 19:37:26 +0000 (21:37 +0200)]
Merge pull request #1268 from VennGrayDog/b1

Add TokensForSearch in BlenderLoader

7 years agoMerge pull request #1269 from assimp/issue_1266
Kim Kulling [Mon, 15 May 2017 19:33:42 +0000 (21:33 +0200)]
Merge pull request #1269 from assimp/issue_1266

closes https://github.com/assimp/assimp/issues/1266: fix wrong delete

7 years agoissue-1266: add unittest for it.
Kim Kulling [Mon, 15 May 2017 19:18:34 +0000 (21:18 +0200)]
issue-1266: add unittest for it.

7 years agoSpatialSort: use std::vector::clear().
Kim Kulling [Mon, 15 May 2017 17:41:08 +0000 (19:41 +0200)]
SpatialSort: use std::vector::clear().

7 years agocloses https://github.com/assimp/assimp/issues/1266: fix wrong delete
Kim Kulling [Mon, 15 May 2017 07:55:39 +0000 (09:55 +0200)]
closes https://github.com/assimp/assimp/issues/1266: fix wrong delete

Instead of delete delete [] must be used.

7 years agoMerge pull request #1263 from jamesgk/gltf-export
Alexander Gessler [Mon, 15 May 2017 07:12:57 +0000 (09:12 +0200)]
Merge pull request #1263 from jamesgk/gltf-export

GLTF exporter: convert animation time from ticks to seconds

7 years agoAdded TokensForSearch in BlenderLoader to allow CanRead return true for in-memory...
VennGrayDog [Mon, 15 May 2017 06:27:14 +0000 (02:27 -0400)]
Added TokensForSearch in BlenderLoader to allow CanRead return true for in-memory files.

7 years agoMerge pull request #1264 from smokris/master
Alexander Gessler [Sun, 14 May 2017 22:39:36 +0000 (00:39 +0200)]
Merge pull request #1264 from smokris/master

Add support for reading texture coordinates from PLY meshes with properties named 'texture_u' and 'texture_v'

7 years agoMerge pull request #1267 from VennGrayDog/b1
Alexander Gessler [Sun, 14 May 2017 22:39:05 +0000 (00:39 +0200)]
Merge pull request #1267 from VennGrayDog/b1

Fix location of config.h

7 years agoFix location of config.h
VennGrayDog [Sat, 13 May 2017 18:09:21 +0000 (14:09 -0400)]
Fix location of config.h

7 years agoAdd support for reading texture coordinates from PLY meshes with properties named...
Steve Mokris [Thu, 11 May 2017 19:21:37 +0000 (15:21 -0400)]
Add support for reading texture coordinates from PLY meshes with properties named 'texture_u' and 'texture_v'.

7 years agoGLTF exporter: convert animation time from ticks to seconds
jamesgk [Thu, 11 May 2017 18:04:23 +0000 (11:04 -0700)]
GLTF exporter: convert animation time from ticks to seconds

7 years agoMerge pull request #1248 from NcJie/fixed-android-atof-not-found-issue
Kim Kulling [Thu, 11 May 2017 08:55:59 +0000 (10:55 +0200)]
Merge pull request #1248 from NcJie/fixed-android-atof-not-found-issue

Fixed no member named 'atop' in global namespace issue for Android ND…

7 years agoMerge pull request #1258 from jamesgk/gltf-export
Kim Kulling [Thu, 11 May 2017 08:46:06 +0000 (10:46 +0200)]
Merge pull request #1258 from jamesgk/gltf-export

GLTF exporter: ensure animation accessors have same count

7 years agoAMPImporter: fix coverity findings.
Kim Kulling [Wed, 10 May 2017 17:34:50 +0000 (19:34 +0200)]
AMPImporter: fix coverity findings.

7 years agoSTEPFile: fix coverity findings.
Kim Kulling [Wed, 10 May 2017 16:50:51 +0000 (18:50 +0200)]
STEPFile: fix coverity findings.

7 years agoMerge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Wed, 10 May 2017 16:30:36 +0000 (18:30 +0200)]
Merge branch 'master' of https://github.com/assimp/assimp

7 years agoAMFImporter: fix coverity findings.
Kim Kulling [Wed, 10 May 2017 16:29:42 +0000 (18:29 +0200)]
AMFImporter: fix coverity findings.

7 years agoMerge pull request #1259 from Squareys/fix-cmake-install
Kim Kulling [Wed, 10 May 2017 07:37:04 +0000 (09:37 +0200)]
Merge pull request #1259 from Squareys/fix-cmake-install

[One-Line-Change] Fix config.h not being found during cmake --build . --target install

7 years agoX3D: fix coverity findings.
Kim Kulling [Tue, 9 May 2017 20:54:04 +0000 (22:54 +0200)]
X3D: fix coverity findings.

7 years agoFix config.h not being found during install
Squareys [Tue, 9 May 2017 19:51:49 +0000 (21:51 +0200)]
Fix config.h not being found during install

7 years agoX3DImporter: fix coverity findings.
Kim Kulling [Tue, 9 May 2017 19:35:21 +0000 (21:35 +0200)]
X3DImporter: fix coverity findings.

7 years agoAMFImporter: make test against nullptr dereferencing meaningful.
Kim Kulling [Tue, 9 May 2017 19:03:20 +0000 (21:03 +0200)]
AMFImporter: make test against nullptr dereferencing meaningful.

7 years agoColladaExporter: remove self assignment.
Kim Kulling [Tue, 9 May 2017 18:59:01 +0000 (20:59 +0200)]
ColladaExporter: remove self assignment.

7 years agoCoverity: fix finding in COBLoader.
Kim Kulling [Tue, 9 May 2017 18:15:30 +0000 (20:15 +0200)]
Coverity: fix finding in COBLoader.

7 years agoUpdate license info.
Kim Kulling [Tue, 9 May 2017 17:57:36 +0000 (19:57 +0200)]
Update license info.

7 years agoGLTF exporter: ensure animation accessors have same count
jamesgk [Fri, 5 May 2017 23:45:28 +0000 (16:45 -0700)]
GLTF exporter: ensure animation accessors have same count

7 years agoSpatialSort: use std::vector::resize( 0 ) to improve readability.
Kim Kulling [Mon, 8 May 2017 19:57:08 +0000 (21:57 +0200)]
SpatialSort: use std::vector::resize( 0 ) to improve readability.

7 years agoMerge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Mon, 8 May 2017 19:29:07 +0000 (21:29 +0200)]
Merge branch 'master' of https://github.com/assimp/assimp

7 years agoFix review findings.
Kim Kulling [Sat, 6 May 2017 18:57:17 +0000 (20:57 +0200)]
Fix review findings.

7 years agoBlender-Importer: fix coverity findings.
Kim Kulling [Sat, 6 May 2017 09:14:04 +0000 (11:14 +0200)]
Blender-Importer: fix coverity findings.

7 years agoMesh: fix coverity finding.
Kim Kulling [Sat, 6 May 2017 09:08:57 +0000 (11:08 +0200)]
Mesh: fix coverity finding.

7 years agoMesh: fix coverity bug.
Kim Kulling [Sat, 6 May 2017 09:04:40 +0000 (11:04 +0200)]
Mesh: fix coverity bug.

7 years agoMerge pull request #1254 from samitc/master
Kim Kulling [Thu, 4 May 2017 17:53:51 +0000 (19:53 +0200)]
Merge pull request #1254 from samitc/master

Improve performance of obj line break

7 years agoMerge pull request #1256 from johnmaf/bugfix/gltf-bin-uri
Kim Kulling [Thu, 4 May 2017 17:52:18 +0000 (19:52 +0200)]
Merge pull request #1256 from johnmaf/bugfix/gltf-bin-uri

Fix incorrect truncation of binary URI in glTF exporter

7 years agoSearch for .gltf extension at end of file name for buffer prefix.
John Senneker [Wed, 3 May 2017 19:11:31 +0000 (15:11 -0400)]
Search for .gltf extension at end of file name for buffer prefix.

Previously the code assumed that there would be only one '.' in the file
name, which is not a valid assumption. This patch fixes this issue, but
still assumes that the only occurrence of the string ".gltf" is at the
end of the file name. In particular, it will fail on a file name like
"/path/to/a.gltf/my_gltf.wrong_extension".

7 years agoMerge pull request #1252 from a-day-old-bagel/master
Kim Kulling [Tue, 2 May 2017 18:07:08 +0000 (20:07 +0200)]
Merge pull request #1252 from a-day-old-bagel/master

Shouldn't the configured "config.h" file be going into the binary directory?

7 years agoMerge pull request #1255 from heliocastro/fpic_fix
Kim Kulling [Tue, 2 May 2017 18:06:08 +0000 (20:06 +0200)]
Merge pull request #1255 from heliocastro/fpic_fix

Add missing CFLAGS -fPIC.

7 years agoAdd missing CFLAGS -fPIC.
Helio Chissini de Castro [Tue, 2 May 2017 14:45:37 +0000 (16:45 +0200)]
Add missing CFLAGS -fPIC.
This entry was missing due revert of CMAKE_POSITION_INDEPENDENT_CODE
usage. Reported by @Sailsman63

7 years agoMerge pull request #1253 from rdb/master
Kim Kulling [Tue, 2 May 2017 09:03:59 +0000 (11:03 +0200)]
Merge pull request #1253 from rdb/master

Fix static init ordering bug in OpenGEX importer

7 years agomake array non static to support multithreaded
Amit Cirt [Mon, 1 May 2017 13:54:07 +0000 (16:54 +0300)]
make array non static to support multithreaded

7 years agoImprove performance of obj line break
Amit Cirt [Mon, 1 May 2017 13:32:49 +0000 (16:32 +0300)]
Improve performance of obj line break

7 years agoFix static init ordering bug in OpenGEX importer
rdb [Mon, 1 May 2017 13:11:22 +0000 (15:11 +0200)]
Fix static init ordering bug in OpenGEX importer

7 years agoMerge pull request #1247 from rspencer01/master
Kim Kulling [Mon, 1 May 2017 08:56:34 +0000 (10:56 +0200)]
Merge pull request #1247 from rspencer01/master

Adds texture type enum to pyassimp

7 years agoMerge pull request #1250 from heliocastro/irrxml
Kim Kulling [Mon, 1 May 2017 08:56:00 +0000 (10:56 +0200)]
Merge pull request #1250 from heliocastro/irrxml

- Apply mechanism to decide use for IrrXML external or internal

7 years agoMerge branch 'master' of https://github.com/assimp/assimp
Galen Cochrane [Sat, 29 Apr 2017 21:10:35 +0000 (15:10 -0600)]
Merge branch 'master' of https://github.com/assimp/assimp

7 years agoGroup libstdc++ entry in the compiler optionas as well
Helio Chissini de Castro [Sat, 29 Apr 2017 06:44:58 +0000 (08:44 +0200)]
Group libstdc++ entry in the compiler optionas as well

7 years ago- Apply mechanism to decide use for IrrXML external or internal
Helio Chissini de Castro [Thu, 27 Apr 2017 15:19:51 +0000 (17:19 +0200)]
- Apply mechanism to decide use for IrrXML external or internal

Several distributions usually decide for shared external libraries
instead of an usual embedded, for security reasons, duplicatiion issues.
This change enable the possibility to set SYSTEM_IRRXML=ON for detect
and build against a system installed irrxml.
By default, the internal copy is compiled.

Changes on build:
- Added a FindIrrXML cmake module.
- Moved the source recipe for proper CMakeLists inside contrib directory
- Includes aren't path based anymore, using the provided INCLUDE_DIR
- Compiler option are grouped in a singled entry on main CMakeLists

Note: Current internal assimp irrXML is older than upstream irrlicht 1.8.4.
To enable usage of this version, code need to be patched.

7 years agoUpdate Readme.md
Kim Kulling [Fri, 28 Apr 2017 17:30:21 +0000 (19:30 +0200)]
Update Readme.md

Update patreon button.

7 years agoUpdate Readme.md
Kim Kulling [Thu, 27 Apr 2017 14:59:33 +0000 (16:59 +0200)]
Update Readme.md

Fix typo

7 years agoFixed no member named 'atop' in global namespace issue for Android NDK compilation
Cong Jie [Thu, 27 Apr 2017 08:15:03 +0000 (17:15 +0900)]
Fixed no member named 'atop' in global namespace issue for Android NDK compilation

7 years agoMerge pull request #1246 from heliocastro/fix_docinstall
Kim Kulling [Wed, 26 Apr 2017 18:33:13 +0000 (20:33 +0200)]
Merge pull request #1246 from heliocastro/fix_docinstall

- Fix documentation install process.

7 years agoAdds texture type enum to pyassimp
Robert Spencer [Wed, 26 Apr 2017 13:05:45 +0000 (15:05 +0200)]
Adds texture type enum to pyassimp

Keeping the same style of `postprocess.py`, this is a port of the aiTextureType enum in [`material.h`](https://github.com/assimp/assimp/blob/master/include/assimp/material.h).

7 years ago- Fix documentation install process. It's nonsense second BUILD_DOCS
Helio Chissini de Castro [Tue, 25 Apr 2017 12:35:07 +0000 (14:35 +0200)]
- Fix documentation install process. It's nonsense second BUILD_DOCS
check on doc/CMakeLists since is already checked on main CMakeLists.
At same time, Doxygen becomes required as no documentation can be built
without it.
Output directory now uses the user defined HTML_OUTPUT instead of
forced dir.
- Added included GNUInstallDirs on same UNIX check, avoiding duplication
of checks

7 years agoMerge pull request #1239 from tgnottingham/master
Kim Kulling [Sat, 22 Apr 2017 12:22:29 +0000 (14:22 +0200)]
Merge pull request #1239 from tgnottingham/master

Set UVW index material properties for OBJ files.

7 years agoSet UVW index material properties for OBJ files.
Tyson Grant Nottingham [Fri, 21 Apr 2017 08:09:26 +0000 (01:09 -0700)]
Set UVW index material properties for OBJ files.

7 years agoMerge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Wed, 19 Apr 2017 17:57:56 +0000 (19:57 +0200)]
Merge branch 'master' of https://github.com/assimp/assimp

7 years agoUnittests: add validation for TestIOSystem parameters.
Kim Kulling [Wed, 19 Apr 2017 17:57:20 +0000 (19:57 +0200)]
Unittests: add validation for TestIOSystem parameters.

7 years agoMerge pull request #1234 from heliocastro/html_output
Kim Kulling [Tue, 18 Apr 2017 15:11:41 +0000 (17:11 +0200)]
Merge pull request #1234 from heliocastro/html_output

Enable doxygen been properly used from cmake build and install.

7 years agoEnable doxygen been properly used from cmake build and install.
Helio Chissini de Castro [Tue, 18 Apr 2017 12:51:17 +0000 (14:51 +0200)]
Enable doxygen been properly used from cmake build and install.

Current documentation lacks a proper directory handling and switch for
Unix like systems.
The option BUILD_DOCS are added as disable by default, even so the
Doxyfile file is generated for a manual build.

Option HTML_OUTPUT are made cached to be properly replaced, as usually
done by some Linux distributions

Microsoft CHM option is enabled if MSVC is detected.

7 years agoUnittests: prepare ctest usage.
Kim Kulling [Mon, 17 Apr 2017 19:25:57 +0000 (21:25 +0200)]
Unittests: prepare ctest usage.

7 years agocloses github.com/assimp/assimp/issues/1228: use test extension for exported test...
Kim Kulling [Mon, 17 Apr 2017 12:26:54 +0000 (14:26 +0200)]
closes github.com/assimp/assimp/issues/1228: use test extension for exported test files.

7 years agoUnittest: add missing test for ply-parser.
Kim Kulling [Mon, 17 Apr 2017 12:15:33 +0000 (14:15 +0200)]
Unittest: add missing test for ply-parser.

7 years agoMerge pull request #1232 from asmaloney/fix-spelling
Kim Kulling [Wed, 12 Apr 2017 11:24:55 +0000 (13:24 +0200)]
Merge pull request #1232 from asmaloney/fix-spelling

Fix spelling

7 years agoFix spelling
Andy Maloney [Tue, 11 Apr 2017 20:33:13 +0000 (16:33 -0400)]
Fix spelling

7 years agoMerge pull request #1231 from samitc/master
Kim Kulling [Tue, 11 Apr 2017 17:14:00 +0000 (19:14 +0200)]
Merge pull request #1231 from samitc/master

fix line breakes in obj files

7 years agofix line breakes in obj files
Amit Cirt [Tue, 11 Apr 2017 14:16:18 +0000 (17:16 +0300)]
fix line breakes in obj files

7 years agoMerge pull request #1226 from gbittoun/master
Kim Kulling [Sun, 9 Apr 2017 08:57:50 +0000 (10:57 +0200)]
Merge pull request #1226 from gbittoun/master

Python wrapping improvements

7 years agoCompilation fix: Removing the vector4 headers from code/CMakeLists.txt
Guillaume Bittoun [Sat, 8 Apr 2017 21:25:39 +0000 (23:25 +0200)]
Compilation fix: Removing the vector4 headers from code/CMakeLists.txt

7 years agoAdding a fallback to shader version 120 when version 130 failed to compile
Guillaume Bittoun [Sat, 8 Apr 2017 10:05:54 +0000 (12:05 +0200)]
Adding a fallback to shader version 120 when version 130 failed to compile

7 years agoInstalling assimp library as well
Guillaume Bittoun [Sat, 8 Apr 2017 09:16:28 +0000 (11:16 +0200)]
Installing assimp library as well

7 years agoMerge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Fri, 7 Apr 2017 15:50:20 +0000 (17:50 +0200)]
Merge branch 'master' of https://github.com/assimp/assimp

7 years agoadd missing doc.
Kim Kulling [Fri, 7 Apr 2017 15:50:13 +0000 (17:50 +0200)]
add missing doc.

7 years agoadd missing doc.
Kim Kulling [Fri, 7 Apr 2017 15:49:59 +0000 (17:49 +0200)]
add missing doc.

7 years agoadd missing doc.
Kim Kulling [Fri, 7 Apr 2017 15:49:43 +0000 (17:49 +0200)]
add missing doc.

7 years agoadd doc.
Kim Kulling [Fri, 7 Apr 2017 15:49:26 +0000 (17:49 +0200)]
add doc.

7 years agoadd missing image.
Kim Kulling [Fri, 7 Apr 2017 15:49:03 +0000 (17:49 +0200)]
add missing image.

7 years agoexport doc.# with '#' will be ignored, and an empty message aborts the commit.
Kim Kulling [Fri, 7 Apr 2017 15:48:18 +0000 (17:48 +0200)]
export doc.# with '#' will be ignored, and an empty message aborts the commit.

7 years agodoc updatedoc update
Kim Kulling [Fri, 7 Apr 2017 15:46:53 +0000 (17:46 +0200)]
doc updatedoc update

7 years agoCMake: Fix compatibility check for so-version of the assimp lib.
Kim Kulling [Thu, 6 Apr 2017 14:32:17 +0000 (16:32 +0200)]
CMake: Fix compatibility check for so-version of the assimp lib.

7 years agoMerge pull request #1221 from mhereman/bugfix/clang_4.0
Kim Kulling [Mon, 3 Apr 2017 10:49:00 +0000 (12:49 +0200)]
Merge pull request #1221 from mhereman/bugfix/clang_4.0

Fixed compiler error on clang 4.0 running on OSX

7 years agoFixed compiler error on clang 4.0 running on OSX
Maarten Heremans [Mon, 3 Apr 2017 09:07:43 +0000 (11:07 +0200)]
Fixed compiler error on clang 4.0 running on OSX

glTFExporter.cpp:585:35: error: ordered comparison between pointer and zero ('aiVector3D *'
      (aka 'aiVector3t<float> *') and 'int')
                if(comp_allow && (aim->mNormals > 0)) idx_srcdata_normal = b->byteLength;// Store index of normals array.

7 years agoMerge pull request #1220 from andre-schulz/fix-pdb-install-relwithdebinfo
Kim Kulling [Sat, 1 Apr 2017 20:14:55 +0000 (22:14 +0200)]
Merge pull request #1220 from andre-schulz/fix-pdb-install-relwithdebinfo

Fix PDB file installation in RelWithDebInfo configuration

7 years agoFix PDB file installation in RelWithDebInfo configuration
Andre Schulz [Sat, 1 Apr 2017 14:03:01 +0000 (16:03 +0200)]
Fix PDB file installation in RelWithDebInfo configuration

7 years agofixed cmake typo preventing use of assimp as submodule in builds that prohibit in...
Galen Cochrane [Fri, 31 Mar 2017 13:56:49 +0000 (07:56 -0600)]
fixed cmake typo preventing use of assimp as submodule in builds that prohibit in-source changes

7 years agoSetup: Fix setup-script.
Kim Kulling [Thu, 30 Mar 2017 19:15:51 +0000 (21:15 +0200)]
Setup: Fix setup-script.

7 years agoX3D: add working example.
Kim Kulling [Wed, 29 Mar 2017 19:13:44 +0000 (21:13 +0200)]
X3D: add working example.

7 years agoConfig.h.in: fix typo.
Kim Kulling [Wed, 29 Mar 2017 19:08:40 +0000 (21:08 +0200)]
Config.h.in: fix typo.

7 years agoMerge branch 'master' of https://github.com/assimp/assimp
Kim Kulling [Wed, 29 Mar 2017 18:56:55 +0000 (20:56 +0200)]
Merge branch 'master' of https://github.com/assimp/assimp