Commit Graph

178 Commits

Author SHA1 Message Date
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
017c9f143d Added: UberPOV / POV Feature Set choice in user preferences
Added: Stochastic antialiasing for UberPOV
Added: Blurry Reflection for UberPOV
Improved: Defaults for AA and Depth of Field to a better quality/time
Improved: UV texture transforms more closely match BI and more functionalised
2015-02-18 18:59:54 +01:00
d9f575eb17 Cleanup: redundant float conversions 2014-11-08 16:37:12 +01:00
c275bd355e Create a preview directory for procedural textures to avoid creating it by hand on fresh installs. 2014-07-28 20:02:30 +02:00
5da29460fb fixed: empty material slots 2014-04-20 12:31:28 +02:00
a7da6cfa5b added: textured hair now works with procedural and UV mapped bitmaps (but slower for the second) 2014-03-12 07:51:56 +01:00
3f7ba64b76 fixed: inverted alpha for textured hair 2014-03-03 01:30:22 +01:00
dba9a9ba08 Added: Textured Hair 2014-02-28 20:47:45 +01:00
07d031412a *added: first implementation of procedural textures
*fixed:packed textures
*fixed:library objects
2014-02-27 22:53:01 +01:00
ec522f8d84 Fixed: 0 Hair amount error
Improved: exportable hair amount

Hair exported only the view percentage, full amount gets exported now. allowing much higher counts than what could get displayed. also since the lowest count (0) is no longer divided by the view percentage it removes a "division by 0" error.
2013-12-15 14:25:14 +01:00
e0b5cf1f21 Cleanup
Comment for vertex color was repeated inside the vertex loop creating unnecessary comments.
2013-12-15 12:35:11 +01:00
2bfbbe4182 Cleanups suggested by Campbell Barton:
*reduced dictionary lookups for comments and linebreaks in lists
*Better tabWrite function to speed up when using tempfiles
2013-11-17 20:48:23 +01:00
bfa70771de Fixed: objects with Vertex color were not rendering
added: now vertex colors get written as a simple pigment per vertex anytime there is some vertex color layer regardless of the vertex color paint or vertex color light toggles.
2013-11-11 18:13:40 +00:00
6a87cfc55b Added a patch by Markku Myllymaki, for animated textures using numbered images. 2013-10-10 16:52:46 +00:00
b6cb6f2de9 use a more direct way to check for color (check saturation) 2013-09-26 02:02:08 +00:00
b42e50350e remove unsued modifier argument. 2013-09-20 06:21:10 +00:00
3efbf5317a *Another try at fixing the "multi materials with custom pov" code bug 2013-09-12 18:00:00 +00:00
75d99d9b02 change comparisons with None 2013-09-03 21:58:25 +00:00
e3469ffd06 *Fixed one bug with multi-materials bearing custom pov code
*Commented out a property that was not yet implemented in exporter
*Added frame number export for hand made pov animation
Thanks to a patch made by Markku Myllymäki
2013-08-31 13:35:28 +00:00
bd05496077 Fixed Photons bug caused by enum property mistaken for boolean.
Changed default Subsurface scattering scale translation
2013-06-23 01:04:39 +00:00
8a0e2f9d94 *Fixed a bug with POV replacement code introduced with latest addition of colored spec.
*changed default values for the folowing properties to be more useful in most scenes:
- radio_low_error_factor
- fake_caustics_power
- importance_value
2013-06-04 11:55:10 +00:00
f9f9415035 added: Colored Specular Highlights (the only supported uvmaps channels that can work with this feature are alpha and bump, due to POV syntax limitations)
not fixed: vertex colors support broken since BMesh.
2013-04-07 16:49:27 +00:00
1e46cc597d Added Hair Child Support
note: rendersteps seem closer to BI with power of 3 rather than 2 as said in the UI Py tooltip.
2013-02-08 15:03:51 +00:00
5473041112 Fixed:
-better hairDiameter when using clumps
-use_renderEmitter property should now work.
2013-01-19 11:03:13 +00:00
81ab88ef9a simplify povray binary checking, split it out into its own function. on windows check for 64bit then 32bit, assuming if 64bit is installed that the system is capable of running it. 2013-01-14 11:26:30 +00:00