Commit Graph

212 Commits

Author SHA1 Message Date
86d2637065 render_povray :
First try at fixing hair and strand for 2.8 render API: failed but improved
2019-09-02 00:26:53 +02:00
cbb11b1a59 +Better (faster) Radiosity Nearest Count default value
+render emitter for particles theoretically updated to 2.8 API
2019-09-01 17:25:23 +02:00
9780527eee render_povray: fixed material alpha transparency broken by 2.8 changes 2019-09-01 00:09:26 +02:00
c96b4dbbe8 render_povray: Removed light "energy" multiplier which might no longer be necessary with 2.8 default light values and gave overexposed default scenes. 2019-08-27 07:52:24 +02:00
aa71fb1f16 Rune Morling patch to finish fixing (dupli) instances post 2.8 THANKS! 2019-08-25 11:57:40 +02:00
4262eb5403 post 2.8 fix light samples 2019-08-23 23:55:32 +02:00
9152da178b Some instantiation 2.8 API update fixing 2019-08-21 08:39:09 +02:00
a673f8cbfd fixed some depth of field 2.8 API changes thanks to Rune Morling feedback (step 1 for fixing car demo scene) 2019-08-20 00:04:02 +02:00
5209139cc7 dummy commit test with simple comment edit: Set my old machine back up with mesa opengl32.DLL as it no longer ran blender 2.8 for lack of opengl 3. 2019-07-30 02:24:07 +02:00
d54e4e25bd 2.8 changes 8 (raytrace_transparency) 2019-05-20 21:05:38 +02:00
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