21 Commits

Author SHA1 Message Date
99d2c979a9 Cleanup: fix typos
Contributed by luzpaz.

Differential Revision: https://developer.blender.org/D16234
2022-10-14 19:52:42 +02:00
016430de4b Cleanup: remove <pep8 compliant> comment
This is no longer necessary, see: T98554.
2022-06-03 11:50:32 +10: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
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
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
59c871915d Fix (unreported) missing updates after scene.update() removal. 2019-06-04 14:38:45 +02:00
c85251f874 API update: percentage to factor 2019-05-20 03:05:08 -04:00
e059588947 Fix T63955: label text not used as a keyword arg 2019-04-29 12:22:49 +10:00
573847caa3 Pass 5 of 2.8 syntax update... 2019-04-27 20:12:29 +02:00
7340921481 Second pass to update properties for 2.8... To be continued 2019-04-14 22:10:50 +02:00
31c05651d7 First debug pass from 2.8 API changes
*new icon names, some were removed
*register system changed
*All properties from blender internal were removed
...To be continued (not all props recreated yet)
2019-03-25 22:36:50 +01:00
49c1b40928 addons: add missing text= keyword after label 2019-01-23 15:03:09 -05:00
aeabdc02a8 Update Add-ons class properties to annotations
This should take care of most of the class property conversions to
use the new annotation format (colon instead of equals) for
assignment. There may still be a few edge cases that were missed.
2019-01-17 16:48:54 -05:00
adb4f822ca Update for new icon set. 2018-10-10 16:17:00 +02:00
4c132dc503 Merge branch 'master' into blender2.8 2018-09-08 06:19:10 +10:00
f1c55295b0 Cleanup: trailing space 2018-09-08 06:13:37 +10:00
6aa8e130ef Update for renaming lamp to light. 2018-07-06 19:59:17 +02:00
f53017167b Cleanup: warnings in descriptions (end with '.') 2017-03-30 12:27:36 +11:00
8c378c52c8 Cleanup: identity for None comparison 2017-03-19 12:50:23 +11:00
57f376e946 Cleanup: trailing space 2017-03-19 12:49:18 +11:00
6f40579d5b Added Basic Nodes support by Lanuhum 2017-01-29 21:28:41 +01:00