Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-05Fix T44947: OBJ importer adding dummy empty matslot (in non-split case).Bastien Montagne
2015-04-24Fix T43487: Wavefront OBJ exporter should export more precise illum value in ↵Bastien Montagne
MTL file. Was a TODO actually, now we try to match better illum values with current mesh material. Also, using mirror color as Ka instead of ambient one, when mirror is enabled in blen mat.
2015-04-10Cleanup: imports (formatting)Campbell Barton
2015-03-24Fix T44089: restore default orientation axes of each addons to stae before ↵Bastien Montagne
rBAbfbabc0592b8. Now using a class factory to allow customization of those defaults axes, still way less verbose than previous code!
2015-03-17Fix T44106: Obj importer broken.Bastien Montagne
In fact, it's the OBJ file which is utterly broken (thousands of faces reusing the same vertex...). I think 'breakage' comes actually from change in bmesh (raising error when trying to get an edge with same vert in both items of the key), afaiks this is not different from old code in current importer. Anyway, working around this is easy and cheap, so... To be backported in final 2.74.
2015-03-09Edit recent commit, no need to assign dummy varsCampbell Barton
2015-03-09Fix T43934: import obj file fails ( error )Bastien Montagne
Stupid mistake in own recent work on OBJ...
2015-03-05Fix T43899: FBX and OBJ importers after new RNA API 'cleanup'.Bastien Montagne
Caused by rBc755d8fbb520fbcf2a, can understand we want a 'good' (sigh) naming before release, but please ensure code already using it is updated then...
2015-03-02Fix T43863: Some obj have three values per UV coordinate... sigh.Bastien Montagne
2015-03-01OBJ IO: More cleanup (mostly from pep8).Bastien Montagne
2015-03-01OBJ import/export cleanup.Danilo Bargen
Reviewers: mont29 Projects: #import_export Differential Revision: https://developer.blender.org/D1151
2015-02-27OBJ import: single vectors (vloc/vnor/vtex) may also be multiline :(Bastien Montagne
Issue reported by Daniel Salazar (ZanQdo) through IRC, thanks!
2015-02-19OBJ Importer: revert adding 'rel_index_process' helper.Bastien Montagne
Makes code nicer, but adds between 10 and 15% to parsing time... Not worth it.
2015-02-19Fix own error in rBAc307a89e281a2e8 - OBJ importer *do* have to ↵Bastien Montagne
tessellate/untessellate sometimes. Issue comes with ngons having holes (i.e. ngons using the same edge more than once). This is not supported in Blender, so we have to 'work around' it. However, we can limit this behavior to ngons actually 'blender-invalid', no need to do that systematically. So this commit still allows for much better performances with 'usual' ngons. Those with holes get back to previous performances, more or less. Many thanks to Campbell for the headup!
2015-02-18OBJ importer: some more minor cleanup.Bastien Montagne
Note I tried to make 'face' tuple a namedtuple, but this makes things significantly slower here (about ten percents), don't think it's worth it.
2015-02-18OBJ importer: more cleanup/factorization/simplification of the code...Bastien Montagne
2015-02-18OBJ importer: add support for (custom) normals.Bastien Montagne
Not much to say, pretty similar to how FBX custom normals import works...
2015-02-18OBJ exporter: enable normal export by default.Bastien Montagne
This is the main and best way to export complex shading...
2015-02-18OBJ Importer: Rework/cleanup of mesh generation code.Bastien Montagne
That code was doing some rather crazy things, like: * tessellating ngons, and un-tesselate them later; * use up to two bmesh transformations for each imported mesh; * ... Now, removed the 'use_ngons' option and all the tesselated mess, we always only work in polygon context, user can triangulate later if really needed. Got rid of all bmesh stuff. Also, some cleanup of 'old' fashioned code, like e.g. converting dict views to list before iterating on those... With pure-tessellated .obj, we gain nearly nothing (about 5% quicker - and much nicer code). With .obj containing a fair amount of ngons, we devide import time by six! E.g. with a test mesh of 475000 polygons (1100000 triangles), we go from 60 seconds (old code) to less than 10 seconds with new code!
2015-01-22Fix: replaced Python module "imp" with "implib"Sybren A. Stvel
Python 3.4.0 deprecated the "imp" module, and replaced it with "importlib". This changes imp.reload() into implib.reload(). Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1016
2015-01-14rename IOHelperOrientation -> OrientationHelperCampbell Barton
2015-01-14Use new IOHelperOrientation class to handle forward/up axes.Bastien Montagne
Helps ensuring common behavior, and saves quite a few lines of code, too...
2015-01-04OBJ import: follow up to previous commit: correct fix.Bastien Montagne
Some .obj files use tabs instead of spaces, so refactored how 'line id' is checked. Also fixed a stupid bug (empty/comment lines were not skipped as expected, using 'pass' instead of 'continue'). Thanks to Campbell for the head-up.
2015-01-04Fix T43116: Obj/mtl displace texture import error.Bastien Montagne
startswith('d') is too generic, matches 'disp' lines too... So added space after expected keyword in all case.
2014-05-21Maintenance to bl_info, remove redundant tracker URL'sCampbell Barton
2014-05-12Fix T39879: extra UV seams where meshes overlap.Bastien Montagne
This is not a bug, in fact, but imho we do not need to compare exactness of values up to the 6th decimal, 4th decimal should be enough, and will avoid such cases of "over generation" of data...
2014-05-06Add some versionning to obj and fbx addons.Bastien Montagne
Rough guess, 2.0 for obj (because of quite heavy changes in it this fall/winter), and 3.0 for FBX (assuming 1.0 = 6.1 exporter, and 2.0 = 7.x importer, makes 3.0 = 7.4 exporter)
2014-03-28Fix T39487: Index Of Refraction when export to objBastien Montagne
Patch by Zer0 (vince), many thanks! :)
2014-01-15Fix T38231: Export/import separate vertices (bunch of points) via Wavefront ↵Bastien Montagne
OBJ do not works
2014-01-15Fix OBJ import loading lines with tex coords (ignore them)Campbell Barton
2013-12-15OBJ export: Dont use the name "Loop" in blenders UICampbell Barton
this is an internal name only.
2013-12-06Edit name and tip of the Normal option (now it exports loop normals, make ↵Bastien Montagne
this clear for users).
2013-11-19T35358: Fix for addons using raise without Exception object. TODO: Find ↵CoDEmanX
better way to terminate addons and inform user. More py 2.x leftovers in startup/bl_operators/uvcalc_*!
2013-10-05reduce dict lookups for uv and normal exportCampbell Barton
2013-09-29Fix [#36848] .obj exporter messes objects normalsBastien Montagne
(Hopefully!) Logic behind normals export indices was indeed wrong when using several objects (at least, not matching vertex/uv ones).
2013-09-13OBJ export: export split normals when "Include Normals" is checked (help ↵Bastien Montagne
keep sharp edges...).
2013-09-02Update to OBJ exporter: now you can choose wether to export smooth groups ↵Bastien Montagne
IDs as simple values or as bitflags.
2013-08-29correct recent error, missed these changes in last commitCampbell Barton
2013-08-21fix [#36432] Exporting obj with normalmap creates opacity map in the mtl ↵Campbell Barton
file instead - r3954/patch [#32914], introduced incorrect displacement map name, corrected. - added support for reading displacement maps. - remove checks that added alpha support for diffuce images, OBJ has alpha material settings for this.
2013-06-14add support for writing smooth groups for OBJCampbell Barton
2013-06-14correct exporing of loose edges, obj spec defines faces as needing at least ↵Campbell Barton
3 verts (even though 2 vertex faces are in fact quite common). now export these as lines.
2013-05-15attempted quick fix was quick bug.Campbell Barton
2013-05-15fix possible error referencing unknown varCampbell Barton
2013-04-15option to apply scale on export. also add global scale options for ↵Campbell Barton
exporters. OBJ/X3D/VRML/PLY/STL
2013-04-15options to scale x3d and obj on exportCampbell Barton
2013-04-05fix [#34864] Save&Load - Relative Paths ticked, Obj Import and Textures tab ↵Campbell Barton
uses absolute paths use preference for relative paths.
2013-03-24remove use of ob.update_from_editmode() since editmode meshes don't get ↵Campbell Barton
access to customdata layers.
2013-03-21use object.update_from_editmode() for scripts which read object data.Campbell Barton
2013-02-15add check for 'None' texturesCampbell Barton
2013-02-10skip calculating tessfaces for export. they are not needed.Campbell Barton