Commit Graph

367 Commits

Author SHA1 Message Date
c5262d9f9a Fix: Missing keyword for mesh sharpness angle argument
Mistake in b1fbf73a08
2023-10-24 09:35:39 +02:00
b1fbf73a08 Mesh: Update addons for auto smooth removal
See https://projects.blender.org/blender/blender/pulls/108014

Pull Request: https://projects.blender.org/blender/blender-addons/pulls/104609
2023-10-20 16:53:43 +02:00
d078f0e892 Lights: update for removal of unused Blender Internal properties
Ref blender/blender#109738
2023-07-05 18:23:51 +02:00
e8da6131fd License headers: use SPDX-FileCopyrightText for all addons
Move copyright text to SPDX-FileCopyrightText or set to the
Blender Foundation so "make check_licenses" now runs without warnings.
2023-06-15 16:54:05 +10:00
283b2dffae Cleanup: trim trailing space 2023-06-15 16:51:11 +10:00
41e4c8b937 Merge branch 'blender-v3.6-release' 2023-05-25 15:17:56 +10:00
47f59f6c67 render_povray: don't enable the fault-handler
This impacts Blender's Python environment and isn't something
add-ons should be controlling.
2023-05-25 15:15:16 +10:00
e22637d5ba Update scripts to account for removal of the context override to bpy.ops 2023-05-23 14:56:22 +10:00
2f6c21617e Fix povray rendering metaballs with materials 2023-04-04 19:45:13 +10:00
fe59d382b4 Cleanup: trailing space 2023-01-31 15:47:58 +11:00
e3a224f473 POV-Ray: Better match area light UI with Blender
This removes the use of `DATA_PT_area` which was only used by this add-on.
2022-12-23 18:54:37 -05:00
99d2c979a9 Cleanup: fix typos
Contributed by luzpaz.

Differential Revision: https://developer.blender.org/D16234
2022-10-14 19:52:42 +02:00
99576a8478 Cleanup: fix typos in blender addons
Contributed by luzpaz.

Differential Revision: https://developer.blender.org/D15646
2022-08-09 19:24:13 +02:00
6d7056ab6e Cleanup: fix various typos
Contributed by luzpaz.

Differential Revision: https://developer.blender.org/D15328
2022-06-30 17:21:18 +02:00
016430de4b Cleanup: remove <pep8 compliant> comment
This is no longer necessary, see: T98554.
2022-06-03 11:50:32 +10:00
015248ed8d POV: Fix POV specific primitives
Using object.update_tag() as pov specific object typing property set from python would not be visible from depsgraph before file save, causing mesh proxies to export rather than their pure untesselated pov shapes.
2022-05-01 18:45:27 +02:00
d1b824f3c2 POV: fix some nested code and further files structure cleanup
* FIX: wrongly nested pov braces made the default outpout file fail
* FIX: use agnostic metallic property rather than create a duplicate
* FIX: some 2.8 deprecated properties rewired in spec;diff; emit;ambient
* FIX: clean up, hierarchize and redesign Global Settings ui panel
* FIX: re-wire world background alpha to agnostic prop and redo its ui
* FIX: wrong nested pov braces making the default outpout file fail
* FIX: use agnostic metallic property rather than create a duplicate
* FIX: reduced arguments numbers by imports and relocating variables
* FIX: use more list comprehesions to reduce nested conditions levels
* FIX: use more consistent class names but cleanup still not finished
* FIX: use single quotes for enums preferably to distinguish strings
* FIX: basic level of nodes based material (diffuse color) broken API
* FIX: blurry reflection corner case caused output file to fail
* FIX: added context managing ("with") syntaxes reducing crash cases
___________________________________________________________

* ADD: model_all.py file to extract mostly object level loop and utils
* ADD: model_meta_topology.py file to extract metaballs export
* ADD: object_primitives_topology.py to extract pov compound primitives
* ADD: nodes_fn.py file to extract main node exporting function
* ADD: nodes_gui.py file to extract node operators and menus
* ADD: nodes_properties.py file to extract nodes sub parameters
* ADD: particles_properties.py to extract particles and fx parameters
* ADD: render_core.py to extract main RenderEngine inheriting class(es)
* ADD: shading_ray_properties.py to extract pathtraced shader parameters
* ADD: texturing_procedural.py to extract algorithmic texture influences
___________________________________________________________

* UPDATE: workspace tools icons and a couple of other icons choices
* RENAME: pov.add.polygontocircle.dat macro workspace tool icon
* RENAME: base_ui.py to ui_core.py
* RENAME: shading_nodes.py to nodes.py
* RENAME: df3_library.py to voxel_lib.py to make dot lookup inform more
* RENAME: object_mesh_topology.py to model_poly_topology.py
* RENAME: object_curve_topology.py to model_curve_topology.py
* RENAME: object_gui.py to model_gui.py
* RENAME: object_primitives.py to model_primitives.py
* RENAME: object_properties.py to model_properties.py
* RENAME: object_particles.py to particles.py
2022-04-25 14:38:30 +02:00
df34f4f1db Cleanup: fix source comment typos
Contributed by luzpaz.

Differential Revision: https://developer.blender.org/D14312
2022-03-15 18:31:13 +01:00
fbfa11df47 Cleanup: trailing space 2022-02-16 15:30:11 +11:00
b8d86ccc0a File headers: use SPDX license identifiers
See T95597
2022-02-11 16:05:07 +11:00
906e8c55ee POV: Handle non utf-8 imports
* fix default open() encoding from strict system character set to utf-8
ignoring all other characters so Blender should no longer reject exotic
input pov files as mostly user declared names will probably get changed
in that process and likely everywhere the same way.
2022-02-01 22:31:26 +01:00
fe7e5fd343 POV: Fix importer
fix useless enumeration providing index in place of string
2022-01-31 00:19:46 +01:00
692611358a POV: Add primitives workspace tools icons, blurry reflections, equation based isourface ; various fixes
* fix tiny formatting of quotes, docstrings, parenthesis
* fix pov centered worspaces
* fix (revert) bad default for text block insertion
* fix primitive exports sorted by most frequent for (slight) speed up
* fix some uninitialized hairstrand root diameter variable
* fix extracted function for CSG inside vector
* fix too big size of proxy mesh for ininite plane caused it to blink
* fix end of render speach error handling
* fix max specular value to better map out under a texture influence
* fix emit, ambient, translucency shading properties UI broken post 2.8
* add workspace tools icons for pov primitives
* add a user input equation based isosurface primitive
* add micro normals based blurry reflections (glossy UI slider)
2022-01-26 01:02:18 +01:00
d68dca98ce Cleanup: fix typos in source code
Contributed by luzpaz.

Differential Revision: https://developer.blender.org/D5801
2022-01-05 15:46:41 +01:00
87d1c3811f Update class names after api changes to Blender
In rB4ddad5a7ee5d9c3245593c509714f8c1359f9342
the `RENDER_PT_dimensions` class was renamed to
`RENDER._PT_format`
2021-09-05 23:24:04 -04:00
e2e7fac7af Cleanup: quiet warnings for tooltips ending with '.' 2021-07-30 17:37:40 +10:00
f86f25e622 POV: Code formatting and bugfixes
* fix: more imports cleanup and formatting
* add: hair shape (from old MaterialStrand for now)
* add: pixel / Non Blender units strand width
* fix: an exception handling of df3_library
* fix: gas flow_type typo
2021-06-09 03:13:10 +02:00
448eeb681a Update for changes in the Python API using keyword only arguments 2021-06-09 03:12:45 +10:00
e25068ef47 Revert "POV : fix registering"
This reverts commit a885950276.
2021-05-27 18:41:55 +02:00
a885950276 POV : fix registering
Fix : Removed some duplicate class that caused addon register /
unregister to fail after previous commit
2021-05-27 18:36:18 +02:00
73c752effe Povray: Fix bunch of issues after recent refactor.
Those were breaking automated tests, since (un)registering was not
working properly. Mainly:

* Use `hasattr` instead of try/except when batch-assigning to a variable
  that does not always exist.
* Fix some incorrect call to sub-`register()` from parent `unregister()`
  functions.
* Remove double definition (in two different files) of World's pov
  textures.
2021-05-27 17:26:34 +02:00
fad5186bb6 Formatting and fixes
* Moved: some existing functions into new separate files to improve code
readability (detailed in __init__.py docstring)

* Remove: max_intersections deprecated in pov 3.8

* Add: Validate utf-8 characters with specific API function at session's
first script init

* Add : Icons to some text fields and inviting labels

* Change default camera normal perturbation value to non zero since its
use is first driven by a boolean toggle

* Change: lists (vectors and indices) are now exported in one line by
default for better manual scene overview and debugging

* Change: a couple of tooltips corrections

* Change : renamed many variables and functions to snake_case according
to recommanded style guides

* Fix : Heightfield primitive (forward slashes were expected for
displacement texture path)

* Fix : Text nippet insertion operator

* Fix : added console print tip to check executable path on failure to
process

* Fix : tweaked finished render say command for Linux

* Fix : interface of some shader nodes broken since 2.8 api changes

* Fix : export hair particles
2021-05-26 01:34:50 +02:00
a65fb17335 Cleanup: Remove trailing period in descriptions.
Reduces warnings while running tests.
Also fix some descriptions with strings concatenated but without a
space in between.

Reviewed by campbellbarton
Differential Revision: https://developer.blender.org/D9655
2021-02-12 10:31:55 +05:30
720fe5878d quiet prints on startup
Add-ons shouldn't be printing information at startup.
2020-10-16 15:51:54 +11:00
667c868a4b Fix script_load_addons test (some invalid values passed to property definitions). 2020-10-05 12:35:50 +02:00
bbe0cee094 POV: Improve specific pov workspace
*fix: too invasive default workspace, now only triggers if pov was saved to default renderer during previous session
*add: opening text editor sidebar to better show pov specific tools and text editing nature of the area.
2020-08-03 23:08:35 +02:00
b40b8b4527 POVRAY: Fix unittest
Broken on rBAe44e5845ee2b
2020-08-03 09:35:20 +02:00
e44e5845ee fix: Texture slots for world and materials
fix: Orthographic and perspective camera view angle thanks to Iari Marino
add: some numpy functions to export mesh possibly faster in next version
fix: parametric surfaces much accelerated and now actually usable (max gradient defaults were wrong from the time of their implementation in most pov literature. Thanks to William F. Pokorny for finding this out!
add: very basic "blurry reflection" hack for when using plain official POV
add: push of (as of yet badly formatted) feedback to interactive console
add: POV centric workspace, default when addon is left activated from previous session.
add: Sound signal support on finished render (set from addon preferences)
add: support for pov 3.8 and decremented in a few areas, waiting for the release
add: freestyle interface with convoluted workflow currently but preparing for next release.
fix: commented out Charset feature because POV 3.8 auto detects encoding
fix: a few dot notation look ups aliased and removed
fix: restored some more removed properties from 2.79 ( a few remain to do)
fix: texture mapped specular max value increased
fix: faster defaults for radiosity
fix: many default texture influences switched to 1 because boolean enabling is required anyway so 0 was a bad default
fix: some icons were missing since 2.8
fix: some formatting improvement was started
2020-08-02 00:07:39 +02:00
a6a0a94c36 POV: Add camera types
orthographic and cylindrical modes. best match for ortho.
2020-04-04 15:01:30 +02:00
f05763b347 render_povray
* removed charset : The `charset` global setting has been deprecated in pov 3.8. Input files conforming to ASCII, UTF-8, Latin-1 or Windows-1252 encoding will instead be auto-detected, while other encodings are currently unsupported.
2020-03-26 20:52:56 +01:00
7f50343d1c Addons: Use Manual URL prefix 2020-03-05 16:26:11 -05:00
bb977fbc72 Update 'bl_info' use 'doc_url' instead of 'wiki_url' 2020-03-05 12:14:43 +11:00
2e7e07389f POV: fix colored specular
pre 2.8 property was still used. Now in the .pov. wrapper.
2019-12-24 08:07:33 +01:00
6d78df97a5 Poray: Fix add-on after Manta project was merged
The module was renamed from smoke to fluid.
2019-12-23 09:58:30 +01:00
86e03ba498 POV: fix specular ui panel
add back specular buttons removed since 2.8
2019-12-22 00:30:28 +01:00
0046ef0652 POV: Improve Line endings and general formatting
used black on some files to dust up old formatting
2019-12-22 00:27:59 +01:00
35b730be8a POV: added doc strings
Hoping it will help the code to be less repulsive to new developers.
2019-12-20 15:52:51 +01:00
56dfa8c8b4 POV: added doc strings
Hoping it will help the code to be less repulsive to new developers.
2019-12-20 10:45:08 +01:00
180b77ffa0 POV: added doc strings
Hoping it will help the code to be less repulsive to new developers.
2019-12-13 15:09:24 +01:00
d94489ea87 pov: renamed 'lamp' preset folder to 'light' 2019-12-08 22:26:43 +01:00