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-01-06Fix T60238: Error in OBJ exporter if material has a normal map.Bastien Montagne
Typo, thanks to Aleksi Juvani (@aleksijuvani) for finding it.
2019-01-04OBJ Import: better handling for metallicPhilipp Oeser
retrival of metallic (ab)uses OBJ material ambient term. this can be non-zero, but in case of no reflections (OBJ 'illum' < 3) metallic should be zero. Fixes T60150
2019-01-04OBJ Import: Fix finalize material code not being performed on last material.Bastien Montagne
Issue noticed by Philipp Oeser (@lichtwerk), thanks!
2018-12-21Rename user_preferences -> preferencesCampbell Barton
2018-12-07Fix T58896: Addons with ob.vertex_groups.new without name keyworkDalai Felinto
Original report: OBJ file import fails for objects with vertex groups defined when polygroups option is selected
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-11-28Fix T58094: Failure to import .obj files without material data.Bastien Montagne
Not sure how we did this in old code, but we certainly cannot ignore None (a.k.a. default place holder) material anymore... Do not generate it when not needed, though!
2018-11-20OBJ Import: Improve mesh building performances (over 20% speedup).Bastien Montagne
This commit essentially replaces several face data setting done into a regular loop by calls to magic 'foreach_set'. This increases seed of affected code by over 200%, global mesh building by over 40%, and overall typical OBJ import by 20%.
2018-11-20OBJ Import: Improve parsing performances (overall 5% speedup).Bastien Montagne
This commits mainly add a specific, optimized handling for vertex data (coos, nors, UVs) expressed on single lines. Nearly all OBJ files I've come accross use a single line per vertex data. This code cand be up to 40% quicker on vertex data parsing, making typical parsing about 8% quicker, and typical import about 5% quicker. Note that I tried applying same kind of optimizations on faces parsing, but we need to perform rather more complex checks there, so could not get any interesting improvements. Also, fixing some logical flaw in invalid nor/uvtex indices, which also gives marginal speed improvements.
2018-11-20OBJ import: minor cleanup and optimizations.Bastien Montagne
Does not give any measurable benefit though.
2018-11-15OBJ import: Fix specPhilipp Oeser
2018-11-08Update for changes in Blender's APICampbell Barton
2018-11-06Updates for change in ViewLayer RNA API.Bastien Montagne
2018-11-05OBJ import: fix (remove) deprecated viewlayer handling code.Bastien Montagne
Guess that was added when layercollection of view layer could still be edited, that is no more the case (reading code), now view layers appear to always only have the scene's master collection, all others being children of that one.
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-17Potential fix for T57280 (OBJ import: typo in material handling code).Bastien Montagne
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-15Merge branch 'master' into blender2.8Philipp Oeser
2018-10-15Fix T57113: OBJ material import int conversionPhilipp Oeser
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-10-04Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: io_scene_obj/__init__.py io_scene_obj/import_obj.py
2018-10-04Fix T57055: Import wavefront OBJ does not correctly parse the '-bm' parameter.Bastien Montagne
Dummy typo, investigation done by @JimG, thanks!
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-26OBJ: Cleanup: remove 'use_cycles' option.Bastien Montagne
We are always using nodes now, whether we want it or not... Also fixed various access to removed 'fixed shader' old 2.7x materials in import, and some other minor bugs.
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-08-29Python / Cleanup: rename INFO_MT to TOPBAR_MT to reflect actual location.Brecht Van Lommel
2018-07-06Update for renaming lamp to light.Brecht Van Lommel
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.
2018-04-30Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-19Fix object importer in blender 2.8Dalai Felinto
2018-01-08Fix T53702: OBJ MTL fails w/ negative numbersCampbell Barton
2017-12-19Fix for Fix (c): T52945: OBJ import - load_material_image - map_options not ↵Bastien Montagne
parsed correctly. rBAe8f09a8e0b28 missed the case where we have no bump multiplicator at all! Thanks to sebastian_k for the report over IRC.
2017-10-10Fix T52945: OBJ import - load_material_image - map_options not parsed correctly.Bastien Montagne
There were two issues - last set of option's tokens would not get added correctly to map_options of current directive, and multiplification factor of bumpmap was not correctly converted to float. Thanks a bunch to @Tim Knip (timknip) for reporting the issue, investigating it and proposing this patch.
2017-09-25Fix T52833: OBJ triangulate doesn't match viewportCampbell Barton
2017-07-14Fix T52054: Regression: Wavefront OBJ Import Fails With Current Builds.Bastien Montagne
2017-06-09Fix T51658: Exporting and Importing OBJ Files isn't working.Bastien Montagne
Silly mistake in recent addition of Cycles basic material import...
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-05-27OBJ import: Add basic support for Cycles shaders.Bastien Montagne
This code uses same wrapper as FBX importer to generate a basic nodal shader for Cycles material. Note that not all MTL features are supported, some might be possible to add later though.
2017-03-19OBJ IO: remove usage of register_module.Bastien Montagne
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-15Fix T49357: OBJ importer cannot deal with texture names with spaces.Bastien Montagne
OBJ/MTL does not support spaces in filenames, but... users keep using them - and other exporters keep failing at being smart for the user here (like, replacing spaces with underscore etc.)... So now, when last part of a texture line is not giving any valid found image, we try backward adding more pieces to image filename until we find some existing file (hopefully). But again: please do not use spaces in filenames for OBJ, **THIS IS NOT SUPPORTED**!
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.