Commit Graph

202 Commits

Author SHA1 Message Date
53e11f6552 pre 2.8 API changes Pass 7 2019-05-19 21:22:57 +02:00
901868a4b2 Update for Depsgraph API changes
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-16 16:43:14 +02:00
e5c3ae3118 Addons: Adopt for Dependency Graph API changes
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-16 10:34:11 +02:00
063caacf6e pre 2.8 API changes Pass 6 2019-05-08 21:30:06 +02:00
1b3bbeea01 Fourth pass at 2.8 API related updates 2019-04-22 20:41:27 +02:00
e47cb9ed5b Fix lots of various issues failing automated test load/unload/reload. 2019-04-18 17:13:44 +02:00
ad393383b7 Pass 3 of 2.8 syntax update... 2019-04-15 23: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
0457976a87 Rename user_preferences -> preferences 2018-12-21 12:56:42 +11:00
1860441ee7 Use collection and instance terminology in Python API
This follows naming convention agreed on in T56648.
2018-11-28 18:23:31 +01:00
1c75533d9c Merge branch 'master' into blender2.8 2018-10-19 18:13:31 +02:00
d7d3233715 Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
2018-10-19 18:12:29 +02:00
227fafdfcf Update for removal of tessfaces.
This ports the already working addons. The disabled x3d, psk, lwo, 3ds,
raw, dxf addons still need to be converted.
2018-10-10 17:25:48 +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
9ff1e5eca7 2.8: update for x_ray and draw/display renaming. 2018-09-06 13:03:16 +02:00
6aa8e130ef Update for renaming lamp to light. 2018-07-06 19:59:17 +02:00
c88411ff77 *Added Lamp , Radiosity, and World presets with scattering media sky simulation
*Added Boolean operations and
*Unlocked Linux render window
thanks to Lanuhum patches
2018-01-28 14:17:13 +01:00
1df44726b0 Added Lamp , Radiosity, and World presets 2018-01-28 13:47:02 +01:00
1d9d466de8 *Fixed texture normal_factor regression
*Fixed lighting attenuation for a closer match with Blender Internal
2017-09-08 21:38:19 +02:00
6314517f48 *Fixed: Cube and Plane meta elements were missing since all meta were no longer exported to mesh but as POV-Ray blobs 2017-09-03 11:31:39 +02:00
6f8d64cc75 *added capsule metaball as cylinder blob pov primitive
*Added the following pov keywords to object properties tab:
hollow, double_illuminate, sturm (for Metaballs and lathe), no_shadow, no_image, no_reflection, no_radiosity, inverse, hierarchy
*fixed hair location bug.
2017-08-16 18:28:18 +02:00
795b722bde *Added capsule Metaball as cylinder blob pov primitive
*Added the following pov keywords to object properties tab:
hollow, double_illuminate, sturm (for Metaballs and lathe), no_shadow, no_image, no_reflection, no_radiosity, inverse, hierarchy
*fixed hair location bug.
2017-08-16 01:05:23 +02:00
b07c8ff949 * added support of empty curves and metaballs represented by empty spheres of zero radius 2017-08-10 11:13:25 +02:00
263804791a *Converted some rgb keywords to srgb to better match Blender Internal shading
*added an operator to render from text editor 3 modes:
3dview, pov text only or both.
this property replaces the custompov code (with "both" option)
known problem is that some scenes get their rendered image passed to render results while others don't. Still useable for preview anyway.
2017-07-27 23:36:09 +02:00
d019aad1a5 Fix error accessing photon variables 2017-05-25 21:30:26 +10:00
4a321395fb Cleanup: meta-ball dictionary use 2017-05-25 21:27:31 +10:00
eecdf5a4f9 fixed: merging different metaball objects. Commit by Paco García (jfGarcia) 2017-05-23 21:51:08 +02:00
57f376e946 Cleanup: trailing space 2017-03-19 12:49:18 +11:00
dbddb9496a Added some more properties from Lanuhum commits, such as
*photon map save and load
*camera normal perturbation
*Depth Of Field focal point by object (from Blender native dof_object property)
*unchecked always sample from radiosity defaults
*some other interface tweaks
2017-02-01 17:50:49 +01:00
45532d6b7d Global POV Properties added and GUI updated (photons; radiosity; encoding...) 2017-01-31 22:30:40 +01:00
6f40579d5b Added Basic Nodes support by Lanuhum 2017-01-29 21:28:41 +01:00
52916b8315 *Added dupli objects (groups,particles,verts, faces but no frames for now)
*Added basic halo for lights
2016-08-30 22:49:33 +02:00
d20975b809 *added: write pov console to a log read by Blender console
*fix: area_illumination syntax updated to fix bug in area lights
*fix:sphere sweep was buggy (bezier curve would'nt export)
*several curves in one blender object can now export Thanks Lanuhum
*fix:hair with no material slot would'nt export
*fixemodifier like subsurf or mirror over curves wouldn't export, now trying to convert to mesh
*fix:meshes with 0 vertices wrote a bad file,  now create a dummy 0 radius sphere
*fix: export visible layer only was broken
2016-08-23 19:39:13 +02:00
be03a24dc5 fixed : BI texture Scale support for procedurals 2016-07-21 21:59:30 +02:00
1eecd9602f Added: IMPORTER in an operator (primitives.py) from Main import menu or special povray add menu to import povray primitives and mesh objects from several *.POV/*.INC files at once. confirmed to work with avogadro files and some other test scenes. 2016-07-02 19:42:09 +02:00
7e05091168 *converted all calls to file.write of .shading.py to tabWrite function to no longer pass the file variable
*added a conversion of all image paths to forward slashes, preferred by POV, sending less warning.

*repaired basic handling of packed textures

*rearranged Material UI
2016-05-23 21:20:39 +02:00
59ea4fc9f1 fixed:
*transmit value removed from ambient light to avoid parse warning
How do we generate a transparent background now ?

*name 'using_uberpov' was not defined in shading.py

added:
*moved exportPattern(texture) from render.py to shading.py
*moved texture influences from render.py to a function in shading.py
2016-04-29 18:11:48 +02:00
9d7cb8d537 Separated writeMaterial() function to its own python file 2015-12-29 16:54:44 +01:00
b12e3ddf81 separated primitives operators for export and import to their own python file. 2015-12-28 18:56:41 +01:00
226b008446 Use Python3.5's unpacking generalizations 2015-12-08 12:09:10 +11:00
4f69419c60 Don't create directories when enabling the addon
Instead do this on export
2015-12-04 20:27:40 +11:00
8e88b29ff9 *Added POV-Ray Primitives, available in ADD menu
*Added Import Menu using PovSphere primitive to import pov files output from Avogadro
*Added editable properties and update for pov objects
2015-11-12 15:57:29 +01:00
6a8229fceb Fixed: a blocking bug for activating the addon without administrator privileges.
First patch by SpitfireOnline
2015-08-05 20:49:20 +02:00
8ec82c7a97 Fix Povray 'new' df3 smoke handling.
The tricky part here is that to read correctly df3 data, we need to have a unit box,
and can only transform it to match Blender's domain's bbox *after* df3 is read.
2015-04-03 23:59:28 +02:00
164c7f9790 Fixed: scale of exported Smoke simulation 2015-02-18 18:59:55 +01:00
96fbb13f49 WIP: Very basic smoke export 2015-02-18 18:59:55 +01:00
e12828164e Added DF3 library to allow later volumetric import/export like smoke 2015-02-18 18:59:54 +01:00
c44df1049e Improved blurry reflection roughness scale for faster rendering 2015-02-18 18:59:54 +01:00