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
2019-12-03Cleanup: io_scene_obj, unused imports, varsCampbell Barton
2019-10-10Fix T70666: OBJ IO: Add support for new Emission option of Principled BSDF.Bastien Montagne
2019-08-14Fix T68618: OBJ export: error cleaning up (temp) meshes without geometryPhilipp Oeser
Reviewers: mont29 Maniphest Tasks: T68618 Differential Revision: https://developer.blender.org/D5479
2019-05-16Update for Depsgraph API changesSergey Sharybin
Addresses new behavior of object.to_mesh(). This is corresponding part for D4875. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4876
2019-05-16Addons: Adopt for Dependency Graph API changesSergey Sharybin
Mainly search-and-replace approach. Tested the enabled-by-default export/import addons. Seems to work with an exception of X3D which is still referencing Blender Internal material properties. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4866
2019-05-15OBJ IO: Use Principled BSDF's Alpha new setting.Bastien Montagne
Much better than using Principled's Transmission setting as we did before... Part of T64609.
2019-02-06Fix T60845: Export OBJ: error exporting as obj when file contains collection ↵Bastien Montagne
instances. Looks like that was skipped somehow when OBJ IO was ported to 2.8...
2019-01-08Fix T60282: use keyword argument in obj exporterJacques Lucke
2019-01-06Fix T60238: Error in OBJ exporter if material has a normal map.Bastien Montagne
Typo, thanks to Aleksi Juvani (@aleksijuvani) for finding it.
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-11-01Merge branch 'master' into blender2.8Campbell Barton
2018-11-01Update for changes to Blender's APICampbell Barton
2018-10-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-10-19Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3746
2018-10-16OBJ IO: Change specular IO conversion.Bastien Montagne
Conversion from phong exponent to Principled BSDF is expected to be quadratic afaik, not linear.
2018-10-12Update for node_shader_utils changes.Brecht Van Lommel
2018-10-12Fixes for tessface removal.Brecht Van Lommel
2018-10-10Update for removal of tessfaces.Brecht Van Lommel
This ports the already working addons. The disabled x3d, psk, lwo, 3ds, raw, dxf addons still need to be converted.
2018-09-28OBJ IO: Initial support for modern shaders.Bastien Montagne
Based on new bpy_extras' node_shader_utils module. Note that this is still quiet rough on the edges, not all features previously supported (in 2.7x) are back yet (at least missing displacement, which should not be too hard to add, and real alpha handling, which is probably a bit more hairy). Also, some things like specular or mirror colors, ambient lighting, etc. do not exists in Principled BSDF shader, tried to work around it but there likely some room for improvements here too.
2018-09-21Initial porting of OBJ (wavefront) IO add-on to 2.8.Bastien Montagne
As with FBX, major changes are no support for exporting materials anymore (since all are nodals), and no more texface at all.
2018-05-24Fix OBJ exporter for 2.8Dalai Felinto
We no longer have per face image nor world ambient color. In the future it would be nice to support the active texture for each material. But for now at least the exporter doesn't crash.
2017-09-25Fix T52833: OBJ triangulate doesn't match viewportCampbell Barton
2017-06-06Fix T51700: OBJ exporter would have inverted normals in some cases.Bastien Montagne
Applying a matrix with non-uniform negative scaling to a mesh requires normals (face winfing) to be inverted back to their original orientation!
2017-03-19Cleanup: trailing spaceCampbell Barton
2017-01-17Fix T50453: Add option to OBJ export to apply render or preview modifiers.Bastien Montagne
2016-10-30Fix T49865: export .obj broke UVs.Bastien Montagne
This reverts rBAc553d7c0eb002a02e7, not actually sure why this change in precision of actually written value was done.
2016-09-13Fix T49338: Export to OBJ add extra space to the texture file name on MTL fileSergey Sharybin
2016-04-05Avoid writing redundant zerosCampbell Barton
These values are always rounded to 4 decimal places so no need to write 6.
2016-02-02Fix T47299: Error writing MTL optionsCampbell Barton
2015-12-23Fix T47053: Problem while import/export of obj files.Bastien Montagne
Missing import of Vector...
2015-12-21Fix T47010: Blender OBJ UV's give issues with some appsCampbell Barton
Blender was sharing UV's for all vertices, while this is correct it was causing issues for Maya, 3ds Max & Unfold3D.
2015-11-07Remove unused operator argumentCampbell Barton
2015-10-13OBJ IO: add (limited) support for options of textures in MTL files.Bastien Montagne
This commit adds IO support for: * -o (offset texture) * -s (scale texture) * -bm (bump multiplier, used a normal factor) Note that it also fixes T46459.
2015-10-10Fix T46437: Dupli objects should also export themselves, not only their ↵Bastien Montagne
duplis... To be backported, should we need an 'a' release.
2015-08-13Fix T45766: Exported OBJ/MTL files do not include emissive lighting parameters.Bastien Montagne
ke/map_ke are not official .mtl specs, but seem to be rather common extension. map_ke was added three years ago to exporter only, this commit finishes the work by adding ke/map_ke to importer, and ke to exporter. NOTES: * mtl ke is a color, while in Blender emit is only a factor, using diffuse color. this implies there is some loss of data during import here. * I do not have the slightest idea about the range for ke values, so for now assuming a direct matching of Blender's emit value.
2015-07-11OBJ IO: add some progress report for user.Bastien Montagne
Use new 'progress_report' util module to do both a (basic) report of I/O progression, together with some logging/timing of main steps. We could probably go much further, but for now it will do. Also, using files as context manager, too!
2015-07-11Fix T45403: Error on OBJ export.Bastien Montagne
Own mistake in recent corrections in regarding material's ambient handling. Also, took the oportunity to fix a bit how shadings modes are handled (previously if read early, they could be overwritten by other later settings...).
2015-07-05Fix T45316: Obj loading/saving brightness inconsistency.Bastien Montagne
Fixes: * Wrong (off-by-one) import of specular hardness (aka specular exponent in OBJ). * Bad usage of world color when exporting ambient color (though it seems to make sense on first look, this is bad because impossible to 'undo' on import - merging data external to object itself). * Bad default values for diff/spec intensity in imported materials (OBJ does not have those, so we must assume they are 1.0). Thanks to Luke Brookes (propuke) for finding all those glitches! :)
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-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
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-03-28Fix T39487: Index Of Refraction when export to objBastien Montagne
Patch by Zer0 (vince), many thanks! :)
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-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.