Commit Graph

370 Commits (7cbf4c4136bf9884fad408e6e388b10ba3ace635)

Author SHA1 Message Date
Kim Kulling 85c8d7b89b PyViewer: Add local path search path for ssimp lib. 2015-08-08 17:04:46 +02:00
Brian Schwind bcb0ca3efa Include correct headers, fix string length bug
- AssimpPCH.h appears to have been removed in #536
- There was a bug where if your model data had a null terminator, AndroidJNIIOSystem would incorrectly calculate the number of bytes it needed to write to the file (since it reads a compressed file from the Android assets, and then writes it to the internalDataPath directory for later importing)
2015-07-20 22:21:17 -04:00
Alexander Gessler b66e9acd72 Delete old Assimp.NET code and replace by a link to assimp-net, which is now the preferred way of using assimp from .net. 2015-04-16 12:37:49 +02:00
Ser Lev Arris 38a1abc908 ... method name ... 2015-03-28 15:01:01 +01:00
Ser Lev Arris 19d9b31d56 makro »lprintf« substitution gcc warnings cleanup 2015-03-28 14:45:21 +01:00
Ser Lev Arris 311c1ecadb typo in method name fixed 2015-03-28 14:32:06 +01:00
Ser Lev Arris 79768ddc14 prepare for removal of hardcoded struct and primitive sizes.
added getter to determine struct and primitive sizes.
(cleanup in the java code can be done later.)
2015-03-28 14:21:47 +01:00
Ser Lev Arris d2d41a8aee jni header update due new function 2015-03-27 19:03:58 +01:00
Ser Lev Arris bdf813ecf0 new function to get aiVectorKey size 2015-03-27 18:09:39 +01:00
Ser Lev Arris 9e4a499383 Fixes assimp/assimp#509 2015-03-27 11:04:23 +01:00
Ser Lev Arris f3ed79ab41 make use of travis languages, build java jar too.
https://github.com/assimp/assimp/pull/505#issuecomment-84198261
2015-03-21 10:32:15 +01:00
Ser Lev Arris 1ddcbf49da use ant to compile jassimp 2015-03-20 21:11:08 +01:00
arris69 9094770d38 fixed light and camera access. 2015-03-13 12:52:03 +01:00
arris69 8b22ba25ba removed debug function and add buildfile for android ndk-build command 2015-03-12 21:24:49 +01:00
arris69 ead3b26ea9 no one ever tried this java stuff???
(crashes if the model has a lot of meshes...)
2015-03-12 20:37:33 +01:00
Michael Dawson-Haggerty 25012f7b8a added list of supported formats, pulled from webpage and test/models 2015-01-27 22:53:31 -05:00
Michael Dawson-Haggerty 704e57db4e changed default postprocessing option to triangulate quad meshes 2015-01-27 22:47:05 -05:00
Alexander Gessler b6cc8d6da9 Add link to AssimpPascal headers
See https://github.com/ev1313/Pascal-Assimp-Headers
2014-12-12 02:43:15 +01:00
sth da93f5eb78 Update README.md for the iOS port
Just a small update to reflect the current state of the iOS port.
2014-12-10 19:37:18 +01:00
enkore fdf78fc13b README: Add a few lines on how to compile jassimp-native 2014-12-06 15:53:56 +01:00
enkore 6b4cbeea40 Fix outright compiler error in jassimp.cpp 2014-12-06 15:52:44 +01:00
enkore 6829af0dd6 Fix broken ant build 2014-12-06 15:52:26 +01:00
Kim Kulling 06f80024cb Merge pull request #418 from xantares/patch-1
remove useless ASSIMP_BUILD_STATIC_LIB option
2014-12-04 17:20:38 +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
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
Oliver Nagy f12a0a3b1c Replaced 'xrange' by 'range' to maintain Python 3.x compatibility. 2014-11-22 16:24:32 +11: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
Ryan Cole af4c30bc77 small typo fix
renamed getNumVertives to getNumVertices.
2014-09-12 01:48:41 +12:00
Michael Dawson-Haggerty 8d27a27445 fixed docstrings 2014-09-04 01:21:37 -04:00
Michael Dawson-Haggerty 7fff52bf86 cleaned up error message autoreplacement 2014-09-04 01:06:30 -04:00
Michael Dawson-Haggerty 5ae65987c0 added the ability to load from file objects with pyassimp.load, as opposed to only being able to load from paths 2014-09-04 01:04:00 -04:00
jmas-ogawa da1c9e8434 Fixed half-width from the full-width double quotes. 2014-04-14 23:04:36 +09:00
shaded enmity 050b38a69f Readme and cosmetics
Signed-off-by: shaded enmity <arul@shadeds-Mac.local>
2014-03-20 17:25:35 -07:00
shaded enmity aa8bdba920 Merge branch 'master' of https://github.com/Seed-Of-Hate/assimp
Mistake
2014-03-20 17:15:38 -07:00
shaded enmity 73c482a293 iOS Path Update
Signed-off-by: shaded enmity <arul@shadeds-Mac.local>
2014-03-20 17:15:09 -07:00
Seed-Of-Hate 81cc2c5de3 Update README.md 2014-03-20 17:11:46 -07:00
shaded enmity dd6a624f15 iOS Toolchain Readme
Signed-off-by: shaded enmity <arul@shadeds-Mac.local>
2014-03-20 16:27:49 -07:00
shaded enmity 2dc5a46e99 Zombie Removal
Signed-off-by: shaded enmity <arul@shadeds-Mac.local>
2014-03-20 16:25:07 -07:00
shaded enmity 9f4623bec7 iOS Toolchain Update
Signed-off-by: shaded enmity <arul@shadeds-Mac.local>
2014-03-20 16:21:28 -07:00
autosquid fd4f7f4572 for python binding to work on mac
add dylib to ext_whitelist for posix system
2014-03-11 00:34:49 +08:00
Michael Dawson-Haggerty f1e43f560a added additional search paths for dll on windows 2013-11-12 22:06:42 -05:00
Eximius e0935c7ec5 PyAssimp optimize: load Armadillo: 33.8s -> 6.7s 2013-11-03 08:53:58 +00:00
Faule Socke 945231ba94 Now actually fixed the bug with the normals.
pyassimp returned a list instead of a numpy array when the normals were
empty. This also applies to texture coordinates and other stuff which is
explicitly converted in _finalize_mesh.
2013-07-29 01:24:22 +02:00
Faule Socke 43ff04a53b Fixed a bug in the bugfix -.- 2013-07-28 22:22:49 +02:00
Faule Socke 3c02d24bf0 Fixed a bug returning not all material properties when accessing them.
Also fixed another bug occouring when no normals are provided in sample.py (lists do not have a any() method).
2013-07-28 02:10:49 +02:00
Bill Roeske 2494608927 [pyassimp] Fix py3.3 + 64bits issues
64-bit Compatibility:

The first four characters of a String material property would be cut
off. A String's length is defined in structs.py as a c_size_t
variable, which is 8 bytes wide on 64-bit Python. However, when an
aiString is used as an aiMaterial property in C/C++, the length is
truncated down to a 4-byte value on 64-bit machines (see
MaterialSystem.cpp aiMaterial::AddProperty() for details). A new
struct was declared in structs.py (MaterialPropertyString) and used
in core._get_properties().

Python 3.3 Compatibility:

The built-in function hasattr() changed in Python 3.2 to not
trap exceptions, which means a NULL pointer ValueException now
escaped when checking if a pointer was valid (hasattr(obj,
'contents') in core.call_init()) (see
http://bugs.python.org/issue9666 for details). A new helper
function was defined that preserves the legacy functionality of
trapping the exceptions (helper.hasattr_silent()) and used
throughout the code as a replacement for hasattr().

String objects would import as "bytes" rather than as a
string. This was most noticeable in the key names for
material properties, where the trailing ' of a bytes object
would remain after it was converted to a string. The
solution was to call decode() on the bytes object using
utf-8 decoding. This applies to various parts of core.py.

Closes #35
2013-06-03 10:38:30 +02:00
Séverin Lemaignan 43dd6fb3bc [pyassimp] Check cmd line args in sample.py 2013-06-03 10:37:48 +02:00
Séverin Lemaignan 024bd4c470 [pyassimp] Handle diffuse/ambient values stored as vec3 instead of vec4 2013-06-03 10:22:39 +02:00
Séverin Lemaignan da140f2a05 [pyassimp] Minor tuning in 3d_viewer.py 2013-03-30 14:35:50 +01:00
Séverin Lemaignan fa7ff915c1 [pyassimp] Renamed the 3d for better clarity + added a short README 2013-03-30 14:35:21 +01:00
Séverin Lemaignan 3574b6973c [pyassimp] Make sure sample.py and quicktest.py work 2013-03-30 14:35:21 +01:00
Séverin Lemaignan fb280d7cf5 [pyassimp] Make it easier to import pyassimp
'import pyassimp' (instead of 'from pyassimp import core') is now sufficient
2013-03-30 14:35:21 +01:00
Séverin Lemaignan b00ee8b24a [pyassimp] Minor fixes to the simplified open_gl viwer 2013-03-30 14:35:21 +01:00
Séverin Lemaignan bf7d39280e [pyassimp] Simplified and beautify simple_opengl_viewer.py
Since the new SDL based viewer is much better suited to interactive exploration, simplify
the basic OpenGL viewer to make it an easy introductive read.
2013-03-30 14:35:21 +01:00
Alexander Gessler c50926b43b Merge pull request #10 from severin-lemaignan/for-upstream
[pyassimp] New sample application based on SDL/pygame + various fixes
2013-01-19 17:48:22 -08:00
Rodrigo Benenson c883967735 Fixed pyassimp core.py 2012-11-29 19:07:56 +01:00
Rodrigo Benenson 24927ff4cc fixed sample.py 2012-11-29 19:06:26 +01:00
Séverin Lemaignan 6bcc5db350 [pyassimp] Minor formatting in README.md 2012-11-10 23:55:52 +01:00
Séverin Lemaignan d3dbde02d6 [pyassimp] Simplified and beautify simple_opengl_viewer.py
Since the new SDL based viewer is much better suited to interactive exploration, simplify
the basic OpenGL viewer to make it an easy introductive read.
2012-11-10 23:55:39 +01:00
Séverin Lemaignan 2cdda51455 [pyassimp] Added a new pygame/sdl based OpenGL viewer
This viwer uses a shader-based pipeline and has working keyboard/mouse
controls.

Makes a starting point for 'modern' OpenGL apps.
2012-11-10 23:52:42 +01:00
Séverin Lemaignan f1bf843b55 [pyassimp] Remove obsolete code 2012-11-10 23:02:11 +01:00
Séverin Lemaignan 76d2eb7057 [pyassimp] Rework material dict
- Normalize the names
- Do not create numpy arrays for the properties
2012-11-10 22:57:07 +01:00
Séverin Lemaignan bfbcdfbae1 [pyassimp] Fixed transformations in bounding box computation 2012-11-10 22:44:15 +01:00
aramis_acg 6d3cedc0b1 - add missing files from the last commit
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1334 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-11-10 16:01:55 +00:00
aramis_acg 4286c72e60 merge severin-lemaignan:for-upstream from github. This is a full rewrite of pyassimp, rendering it much easier to use.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1332 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-11-09 11:39:34 +00:00
aramis_acg 54040901f0 - update Assimp.NET
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1330 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-11-03 02:49:19 +00:00
scholza 9687531b20 jassimp initial import
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1297 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-24 19:11:04 +00:00
aramis_acg f7c232cfe8 merge git://github.com/gellule/assimp.git
Before, neither the texture index nor its semantic were kept in the
returned output. Now GetMaterialProperties returns a (name, color,
material, texture) tuple. Name is the name of the material. Color is a
dictionary of color properties. Material is a dictionary of material
properties. Textures is a triply nested dictionary addressed by the
following: textures[index][semantic][key]. See assimp documentation for
the meaning of index, semantic, and keys in general.



git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1106 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-01-11 00:27:49 +00:00
aramis_acg 380737c4c4 merge git://github.com/gellule/assimp.git
the strings used in materials and elsewhere in assimp. Because of this,
in PyAssimp3 strings in materials don't work properly on 64 bits
platforms. This commit adds a StringUInt32 ctypes structure and use it
in GetMaterialProperties as a workaround.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1105 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-01-11 00:26:54 +00:00
aramis_acg 3548127f02 # PyAssimp3: add dynlib to dll search path.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1093 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-11-30 13:15:12 +00:00
aramis_acg 6dc3bc1c88 # PyAssimp: fix data type for aiString::length. Thanks to Gellule for the patch.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1091 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-11-29 13:34:48 +00:00
mmathias01 7b14ea616e Update iOS README.txt, improve iOS build script and toolchain files.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1090 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-11-24 11:58:24 +00:00
mmathias01 9a4386ad16 Initial iOS build script and CMake toolchain files.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1089 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-11-24 11:01:19 +00:00
mmathias01 213c6c95c3 Creating initial iOS port folder and README, real iOS build scripts to follow
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1087 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-11-24 07:28:22 +00:00
aramis_acg dc2bf5d6bd + add rudimentary Python3 version of PyAssimp. Conversion using 2to3 plus some manual tweaks.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1057 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-07-20 00:36:26 +00:00
aramis_acg 969c2ccf9f - PyAssimp: move structsgen.py script away from /scripts and place it in a sub-folder of port/PyAssimp. This is consistent with the way how SWIG-dependent bindings handle such files.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1049 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-07-17 01:55:58 +00:00
aramis_acg 1decdf999c + really add rudimentary test script to batch-load all test files using pyassimp
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@952 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-19 20:51:59 +00:00
aramis_acg 9350d0e1a6 - update pyassimp genstructs script to work with the latest headers, add rudimentary test script to batch-load all test files using pyassimp
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@951 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-19 20:48:33 +00:00
aramis_acg 473dae7876 + add Delphi Units to access the C DLL interface to /port. Thansk to Ed Diana for the patch. This relates to tracker id [3212646] (https://sourceforge.net/tracker/?func=detail&aid=3212646&group_id=226462&atid=1067634)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@945 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-08 16:05:46 +00:00
aramis_acg d54a841f06 - remove unneeded Assimp.net post build event.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@866 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-23 19:01:15 +00:00
aramis_acg 03e6ab451d - update Assimp.NET. Fix SWIG output folder & add missing ProgressHandler.h %include.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@865 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-23 08:45:32 +00:00
klickverbot 3bf11785c8 Whitespace cleanup.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@859 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-21 19:57:34 +00:00
klickverbot 6744cb32bc Updated D bindings to the new API.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@858 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-21 19:52:11 +00:00
aramis_acg 05546ec7b6 really update C# Readme.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@849 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-21 16:43:41 +00:00
aramis_acg 3b35d2216b - update Assimp.net viewer application to take the model file to be loaded from the command line.
- add a screenshot to proof that it works ;-)
- update Readme.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@848 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-21 16:41:36 +00:00
aramis_acg 5ded0698e1 - update dreadful note in /port/swig
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@847 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-21 16:14:43 +00:00
klickverbot c4b8389d6e Mark the std::vector wrappers for the C-style arrays as const.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@838 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-10 19:34:06 +00:00
rave3d 4ad0d569f3 Ingnore an error producing SetProperty method on AssimpSwigPort.i
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@789 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-08-06 18:41:05 +00:00
adamdavidson 1f68e8c6f3 Update Assimp.NET project files to always build x86 (32 bit) to support Managed Direct X even on 64 bit Windows for Debug and Release targets.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@788 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-07-23 20:51:05 +00:00
adamdavidson 1c0e25288b Update of C#/.NET bindings plus working Managed DirectX Viewer that displays standard DirectX Fixed Function Materials (Ambient, Diffuse, Specular, Emissive) and the first set of texture coordinates if contained in the model.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@782 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-07-12 13:13:43 +00:00
klickverbot e6516329b9 SWIG: Even more output parameter handling.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@776 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-07-09 18:00:34 +00:00
klickverbot edb2fca8d6 SWIG: More output parameter handling using <typemaps.i>.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@770 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-07-08 20:09:50 +00:00
klickverbot 646357bfc2 Added missing member array handling (via the ASSIMP_*_ARRAY macros) in the SWIG port.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@769 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-07-07 22:01:51 +00:00
rave3d e34671e6b3 adding some missing files
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@742 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-05-27 18:29:18 +00:00
rave3d d91f661082 commit new try of c# bindings
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@741 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-05-27 18:28:02 +00:00
rave3d 6079125444 some fixes in assimp.net
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@724 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-05-13 17:08:35 +00:00
rave3d 7d03ef514e git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@711 67173fc5-114c-0410-ac8e-9d2fd5bffc1f 2010-04-27 16:52:24 +00:00
rave3d b4f5d42094 correct some compile errors
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@710 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-04-27 16:51:22 +00:00
rave3d fcc9642ac7 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@709 67173fc5-114c-0410-ac8e-9d2fd5bffc1f 2010-04-27 16:41:21 +00:00
rave3d e05bc231e1 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@708 67173fc5-114c-0410-ac8e-9d2fd5bffc1f 2010-04-27 16:36:23 +00:00
klickverbot ea2bbc37d1 [dAssimp] Added note that the D bindings have yet to be adapted for 64 bit builds of Assimp.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@687 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-04-16 21:15:51 +00:00
aramis_acg 29935e2138 Set overall version to 1.1.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@644 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-04-04 14:19:33 +00:00
klickverbot 1d0e6b73fe [D] Folded in minor aiAnimation documentation update.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@641 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-04-03 15:50:36 +00:00
klickverbot 11aa5c339d On request, merged current state of the SWIG bindings for the D programming language.
The interface files are by no means complete yet and only work with the not-yet-released D SWIG backend, although adding support for other languages should not be too much of problem via #ifdefs.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@596 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-12 17:26:57 +00:00
rave3d bdcbdc3080 Adding forgotten AssemblyInfo.cs
Removing obsolente PreBuildStep

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@573 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-03 15:27:48 +00:00
aramis_acg 8ef1e5b4ba Add README to PyAssimp. Mention install procedure and give a basic usage sample.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@566 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-02 15:15:09 +00:00
aramis_acg 9d2eacfdb2 Fix call to assimp.aiReleaseImport(), scene pointer was passed in incorrectly
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@565 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-02 14:49:35 +00:00
aramis_acg cc489f30e7 Change pyAssimps library detection routine to work on Linux as well
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@564 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-02 13:48:17 +00:00
rave3d ba4ca61dbd Adding first SWIG generated version of Assimp.NET
NOT REALLY TESTED YET

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@561 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-01 20:57:09 +00:00
rave3d 2a540119c5 Removing Old Assimp.NET folder in order to relace by a SWIG generated version
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@560 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-01 20:53:37 +00:00
aramis_acg 722dc4a9c2 Fix PyAssimp complaining on 'builtin_function_or_method' object has no attribute '_init'. Thanks to pekuja for the patch!
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@552 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-02-25 20:11:57 +00:00
aramis_acg 11e666fb90 Remove current jAssimp port branch. Will be rewritten using SWIG, the previous attempt is unmaintainable.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@551 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-02-24 22:45:29 +00:00
klickverbot 552c64bf4d [D] Use non-templated loading code to slightly reduce binary size.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@547 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-02-16 21:23:12 +00:00
rave3d 52228add3a add some #ifdefs for SWIG
fixed a compile error in DefaultIOSystem
add swig-script


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@546 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-02-15 18:28:32 +00:00
klickverbot de9a56b245 [D] Completely bind the C API now that the aiGetMaterialProperty issue is resolved.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@544 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-02-15 13:34:54 +00:00
rave3d 071010b4ee implementing more public properties
arrays of simple datatypes are complete

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@511 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-12-09 07:42:45 +00:00
rave3d 1b73346c5b implementing public properties in wrapper classes
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@510 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-12-08 17:03:33 +00:00
klickverbot e4e47eab07 Synchronized D bindings with latest C headers (added AI_MATKEY_REFLECTIVITY).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@508 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-11-27 18:43:50 +00:00
klickverbot fe1c9ec3d0 Synchronized D bindings with the latest C header.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@489 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-10-04 15:09:55 +00:00
rave3d f318352ce4 removing old managend LogStream.h
sorry for any problems

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@482 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-09-25 11:38:30 +00:00
rave3d bbf5a32e6c adding native pointer to manganed classes
implementing c'tors and d'tors for managend classes (execept logging system)
rename some files

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@481 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-09-24 14:44:21 +00:00
klickverbot a5d0829b78 Updated D bindings to the latest C headers (aiGetMaterialTextureCount, comments about UTF-8 in aiString).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@472 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-27 18:44:14 +00:00
klickverbot 99a6ed1bb9 Added note about the current aiGetMaterialPropetry() exporting bug to the dAssimp README.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@458 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-31 23:04:58 +00:00
klickverbot 746fb7549c Imported D bindings into port/dAssimp.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@455 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-31 22:30:22 +00:00
rave3d 33011627a0 Adding Importer Interface
marking some classes abstract


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@454 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-30 18:22:24 +00:00
rave3d 01fa65a759 adding some new class files
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@453 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-30 17:16:04 +00:00
rave3d e2266568d4 forgot public modifiers for classes
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@452 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-30 17:14:22 +00:00
rave3d 91284765c2 adding interface definition for AssimpNET
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@451 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-30 17:08:50 +00:00
rave3d 975276d31a Adding DemoProject
Adding some License Informations to the header files


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@446 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-23 16:02:29 +00:00
rave3d 09c1fdef9d New Assimp.NET workspace (now Managed C++, Only Vc9 Workspace :( )
Added Empty classes for Assimp.NET

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@438 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-17 18:32:39 +00:00
rave3d 1b4a6d054d delete old assimp.net
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@437 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-17 17:40:51 +00:00
aramis_acg 9070dc1f3c Further work on jAssimp. Still WIP and NOT USABLE, but interface getting stable now, most JNI code written.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@433 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-04 17:44:51 +00:00
aramis_acg 703d11b5c4 Adding WIP stuff to jAssimp.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@431 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-04 17:40:48 +00:00
aramis_acg c029c5e142 Deleting unused jAssimp stuff.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@429 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-04 17:33:57 +00:00
sueastside b2ffa9dd1b Added ASSIMP_API to aiCreateQuaternionFromMatrix and aiDecomposeMatrix.
Added aiDecomposeMatrix to PyAssimp.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@410 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-27 15:43:01 +00:00
sueastside 55a3d845c9 Changed structs.py to export the original names of the C structs, not uppercase.
Totally rewrote pyassimp, removing all pyassimp classes, instead using python's dynamic nature to expand the ctypes structures to include safe array access and python style tuple access.
Updated helper.py and sample.py.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@406 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-25 21:12:53 +00:00
aramis_acg 760bcbbf69 Updating PyAssimp to the latest data structures. Many thanks to sueastside for the patch.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@402 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-23 20:58:16 +00:00
aramis_acg 38004d789c Added light & camera data structures to jAssimp and updated the list of configuration properties. However, I still had not yet the time to write the C++ binding to the Java API.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@183 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-18 19:52:23 +00:00
aramis_acg 1db46c242f Added temporary boost workaround - some assimp features work with reduced functionality in this case.
Added AC-loader, WIP version.
PLY loader is now able to load models from blender, test model added. Refactoring.
Added FindInvalidData step.
Added support for precompiled headers, the release builds in VC8 are configued to use PCH now.
Added separate makefile for mingw, no -FPic warning anymore, -clear works now.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@176 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-13 16:45:48 +00:00
rave3d 286d33d30a Updating VC9 workspaces
Adding Class definitions for Assimp.NET
No Documentation an Implementation so far

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@171 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-07 13:31:07 +00:00
ulfjorensen 8925813026 - renamed "bone" anims and associated structures to generic "node" anims. Breaking change, sorry for that.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@166 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-30 13:05:48 +00:00
aramis_acg 9279513700 Optimized GenVertexNormal-Step.
Added SharedPostProcessInfo-class to allow pp-steps to interact with each other.
Used this new feature for some cross-optimization between the steps: SpatialSort is now solely computed once, not up to three times.
3DS bugfix - orientation was wrong.
ASE normal vectors - although they are normally wrong and not orthonormal they are working now.
Fix in fast_atof.h - 1.45E45 (major 'E') is handlded correctly now.
Improvements on jAssimp, still WIP and not working.
Some LightWave bugfixes, still WIP.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@164 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-27 16:46:05 +00:00
sebastianhempel a4f2aab6c3 textures
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@162 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-23 13:11:30 +00:00
sebastianhempel 64c431b5eb materials
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@161 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-23 12:38:39 +00:00
aramis_acg 3e46a0860e Added vertex color support to the DXF loader, fixed a minor bugs. Coordinate system issue still unsolved.
Modified GenVertexNormals to take always the cross product of the first and the last normal of a face as face normal.
Material implementation for LWO - seems to work, but there are some issues with highly complex models.
Added some LWO test models
Cleaned up the ./test dir - converted some BMPs to JPG to save space,
Finished the matrial property list in jAssimp, some other changes, too. The Java part of the API should be working now.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@156 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-20 15:55:51 +00:00
sebastianhempel 0d5bb1c427 intelligent library search
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@155 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-19 18:06:04 +00:00
sebastianhempel a79e9cf252 sample update
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@154 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-19 17:53:25 +00:00
sebastianhempel 02f1c9c9b9 bones
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@153 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-19 17:52:58 +00:00
rave3d e1011ebaa5 Updating VC9 Workspace
Adding Class Files for Assimp.NET

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@152 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-18 17:20:59 +00:00
sebastianhempel 398879779e searches assimp-library automatically
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@151 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-18 13:36:34 +00:00
sebastianhempel b50b8b3f43 new helper module; faces
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@150 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-18 13:17:44 +00:00
sebastianhempel d7bc843ae6 texture coordinates
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@149 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-18 12:45:03 +00:00
sebastianhempel 4b013dbeba basic setup for test-models and some docstrings.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@148 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-17 17:08:36 +00:00
sebastianhempel 4f5a880306 PyAssimp initial import.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@147 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-17 15:25:20 +00:00
aramis_acg 38d04b6796 MD5 bugfix.
WIP version of the OptimizeGraph-Step.
Added hashes to some string routines (speedup).
Improved property system for float and strings.
Refactoring code for computing normals from smoothinggroups.
Implemented C-ASSIMP.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@116 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-08-28 17:35:36 +00:00
aramis_acg 6fe8c867e8 Refactoring ... added documentation, simplified some parts of the code and migrated some class declarations in separate files.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@100 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-08-08 18:34:14 +00:00
aramis_acg e358f6b938 Added current WIP version of jAssimp
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@83 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-08-07 22:55:02 +00:00
aramis_acg b422d4e303 Finished loading of MD2, MD3, MDL2, MDL3, MDL4, MDL5, MDL7, MDL. First WIP version of the SMD loader. Additionals checks added to the validation step.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@60 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-06-22 10:09:26 +00:00
aramis_acg 69ed883ae0 ase/ask loader is quite stable now, loads most models correctly
added pretransformvertices postprocess step
bugfixes in the 3ds material system. transparency is now displayed correctly
Node view in the viewer display the local transformation matrix now
Fixed wrong directory name. "unused" renamed to "extra"
---> all is WIP ...


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@50 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-05-30 23:01:25 +00:00
aramis_acg 70f155e515 MakeVerbose moved to subdirectory
pp step c'tors are protected now
viewer changes
JNI additions - JNI BUILD CURRENTLY NOT WORKING

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@43 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-05-26 21:28:19 +00:00
aramis_acg 0d728ce17b Minor changes to the logger (was necessary for the integration of jAssimp)
Fixed face winding bugs (cw now ...)
jAssimp incremental Update
3DS hierarchy bug fixed
Added "MakeVerboseFormat" postprocess step
Viewer bugfixes

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@41 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-05-25 22:29:05 +00:00
aramis_acg 7e9d0cc834 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@39 67173fc5-114c-0410-ac8e-9d2fd5bffc1f 2008-05-24 15:04:25 +00:00
aramis_acg 5d18194990 - ASE loader is now able to load triangles. Well, their position is not correct, but at least triangles ...
- jAssimp API WIP. assimp.Mesh interface finished, including JNI implementations. Maybe a few more native functions than necessary, but I want to keep the native parts as simple as possible
- Updates to the documentation

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@37 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-05-23 22:38:35 +00:00
aramis_acg aab9376628 Updated jAssimp API. 40% are complete now, some JNI wrappers are ready
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@34 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-05-23 12:30:52 +00:00
aramis_acg d228356efb Added interface headers generated by javah
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@29 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-05-22 22:47:20 +00:00
aramis_acg 0634e2af29 First WIP version of jAssimp
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@28 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-05-22 15:50:10 +00:00
aramis_acg 245bc16689 Changed "Free" to "Open", Java build configs, port directory added, intellij idea5.1 project file added
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@26 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-05-22 10:27:36 +00:00