Kim Kulling
96661ae4cd
fix the build
2014-12-02 08:51:20 +01:00
Kim Kulling
15e0175007
fix compiler warning.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-12-01 23:35:57 +01:00
Kim Kulling
951431db94
add missing documentation.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-12-01 21:27:48 +01:00
Kim Kulling
bc0fd00e96
Merge pull request #414 from l337r007/collada-tristrips
...
Collada: tristrip support: helps a lot :-). Thanks for that!
2014-12-01 20:48:10 +01:00
Kim Kulling
7a31a68cfc
adapt c-api to get ImporterDesc for a given loader ( see https://github.com/assimp/assimp/issues/412 ).
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-12-01 20:34:15 +01:00
Wolfgang Herget
926b7e98cc
Tristripped version of cube.dae generated using openscenegraph.
...
Command line used:
OSG_OPTIMIZER="TRISTRIP_GEOMETRY" osgconv cube.dae cube_tristrips.dae
2014-12-01 18:08:21 +01:00
Kim Kulling
1f13158b31
fix vs2013 compiler warnings and add missing doxygen tags.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-11-29 12:12:32 +01:00
Kim Kulling
098ddd3a95
make copy constructor and a assignment operator private to avoid misuse of helper class scope guard
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-11-29 11:56:39 +01:00
Kim Kulling
26ac1e2c72
update gitignore file.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-11-29 11:35:48 +01:00
Kim Kulling
9f80a2a2a9
update parser.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-11-29 11:33:49 +01:00
Kim Kulling
005ddf9733
Merge pull request #419 from sth519/patch-1
...
Default to latest installed iOS SDK by default
2014-11-29 11:27:35 +01:00
sth519
4050f42ef1
Default to latest installed iOS SDK by default
...
The iOS 7.1 SDK isn't available anymore in the current version of Xcode, so the script doesn't work without modification.
By setting IOS_SDK_VERSION to an empty value, the script will default to a symlink* which always points to the latest installed SDK.
* /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
2014-11-27 14:37:46 +01:00
xantares
d13b51b467
Update build.sh
2014-11-27 09:27:46 +01:00
xantares
5c6921e2ea
remove useless ASSIMP_BUILD_STATIC_LIB option
...
BUILD_SHARED_LIBS must be used instead
2014-11-27 08:58:29 +01:00
Alexander Gessler
e707a07ff9
Merge pull request #416 from olitheolix/python3_quicktest
...
Python3 quicktest
2014-11-23 09:56:29 +01:00
Oliver Nagy
1e9f3a802d
PEP8 and updated docu strings.
2014-11-23 15:42:19 +11:00
Oliver Nagy
3721b19a61
pyassimp/quicktest now runs without installing pyassimp first.
2014-11-23 15:42:11 +11:00
Oliver Nagy
fc039ee0e2
pyassimp/quicktest is now Python 3 compatible.
2014-11-23 15:23:31 +11:00
Alexander Gessler
b450ecbed2
Merge pull request #415 from olitheolix/master
...
Replaced 'xrange' by 'range' to maintain Python 3.x compatibility.
2014-11-22 13:25:08 +01:00
Oliver Nagy
f12a0a3b1c
Replaced 'xrange' by 'range' to maintain Python 3.x compatibility.
2014-11-22 16:24:32 +11:00
Wolfgang Herget
c08a5581dd
ColladaParser::CopyVertex: don't make a local copy of the vertex' indices.
...
Instead, we address the relevant indices in the main vector directly by
adding the input offsets to the per-vertex base offset.
2014-11-20 17:53:06 +01:00
Wolfgang Herget
8dead93504
ColladaParser: don't arbitrarily limit number of per-vertex attributes.
2014-11-20 16:42:41 +01:00
Wolfgang Herget
ca3ce4703d
Rename ColladaParser::CopyPrimitive to ::CopyVertex.
...
That's a bit closer to what the function actually does.
2014-11-20 13:12:09 +01:00
Wolfgang Herget
13a157ea66
For Polylists, manually compute the start offset outside CopyPrimitive.
2014-11-20 13:10:15 +01:00
Johannes Ebersold
e568c2df9d
ColladaParser::ReadIndexData: don't rely on the specified number of primitives.
...
Especially TriStrips don't specify triangle count upfront, so one needs to
sum up the count of triangles read from all <p> tags in a tristrip collection.
2014-11-19 14:40:43 +01:00
Johannes Ebersold
72f67ea0cd
Whitespace changes
2014-11-19 14:40:42 +01:00
Johannes Ebersold
593484829b
Add Function ColladaParser::ReadPrimTriStrips.
...
This does the index mangling for reading tristrips.
2014-11-19 14:40:42 +01:00
Johannes Ebersold
0f40dcca7e
Add calculation for nuber of Primitives for TriStrips
2014-11-19 14:40:42 +01:00
Johannes Ebersold
7c4bf383d7
Move vertex copy operation into switch statement.
...
We will be adding special handling for Tristrips in an upcoming commit,
which unfortunately doesn't map to a common copy loop as it is.
2014-11-19 14:40:42 +01:00
Johannes Ebersold
4ef244f672
Extract function ColladaParser::CopyPrimitive
2014-11-19 14:40:42 +01:00
Johannes Ebersold
70d2c8571b
ColladaParser::ReadPrimitives: get rid of "idx" iterator.
...
We will be adding non-sequential access to the indices vector in one of the upcoming commits.
2014-11-19 14:04:49 +01:00
Johannes Ebersold
543bd5c0d0
ColladaParser::ReadPrimitives: rename "a" to currentPrimitive
2014-11-19 13:51:22 +01:00
Kim Kulling
7be4badd76
Merge pull request #413 from jdduke/fix_ns_obj_material
...
Support lowercase 'ns' and 'ni' obj material tokens
2014-11-19 10:23:20 +01:00
Jared Duke
c7b6b5ea2f
Support lowercase 'ns' and 'ni' obj material tokens
...
Previously, the obj material parser would interpret all key tokens
starting with 'n' as 'newmtl' tokens. However, there are other tokens
that can start with 'n', namely 'ns' and 'ni' for material properties.
Make the parser robust to such cases, despite their canonical forms
being uppercase.
Resolves #410 .
2014-11-18 16:56:46 -08:00
Kim Kulling
dbf9536213
bugfix: add correct handling for metric line end for example file.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-11-02 20:30:45 +01:00
Kim Kulling
1a5695ff48
update: add parsing of metric nodes.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-11-02 19:01:04 +01:00
Kim Kulling
6843c42da1
update:
...
- merge master into branch
- fix metrix header parsing.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-10-28 21:45:09 +01:00
Kim Kulling
f84589fec4
Merge branch 'master' into opengex_support
2014-10-24 15:24:32 +02:00
Kim Kulling
94f61300c2
bugfix:
...
- remove and comment some gcc compiler warnings for not used vaiables.
2014-10-23 21:02:43 +02:00
Kim Kulling
cee583db06
bugfix: fix compiler warning: converting double to float.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-10-22 23:05:25 +02:00
Kim Kulling
43dbd6d873
update: add some files to .gitignore.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-10-22 21:37:25 +02:00
Alexander Gessler
2d7ce22569
Merge pull request #405 from TimothyGu/patch-1
...
Correctly set Libs.private field in pkgconfig file
2014-10-15 00:52:55 -07:00
Timothy Gu
8656a35134
assimp.pc.in: Add static libs to Libs.private
2014-10-14 22:29:08 -07:00
Timothy Gu
060f3c33d9
CMakeList: Support setting Libs.private
2014-10-14 22:28:14 -07:00
Alexander Gessler
b483be3069
Merge pull request #402 from jdduke/disable_bmesh
...
Temporarily disable Blender BMesh conversion
2014-10-10 22:46:25 -07:00
Jared Duke
a1a1bf77a8
Temporarily disable Blender BMesh conversion
...
Disable BMesh conversion while associated unresolved issues receive due
attention. Referencing #400 , #373 , #318 #315 and #132 .
2014-10-10 14:16:42 -07:00
Kim Kulling
487c9449d2
bugfix: search for token checks for the given tokenlist against the lowercased info coming from the asset file. So we also have to used a lowercased token. Thanks to Robinson for the report.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-10-10 15:59:42 +02:00
Kim Kulling
dad152e726
Merge pull request #399 from filipwasil/Android_JNI_Asset_extraction_support
...
Android JNI asset extraction support (API 9+)
2014-10-08 13:17:23 +02:00
Filip Wasil
88f6e8213b
Android JNI asset extraction support (API 9+)
...
- installation fixes
Signed-off-by: Filip Wasil <filip.wasil@tieto.com>
2014-10-07 17:05:14 +02:00
Filip Wasil
7224476ee1
Android JNI asset extraction support (API 9+)
...
Signed-off-by: Filip Wasil <filip.wasil@tieto.com>
2014-10-07 16:33:43 +02:00