Commit Graph

164 Commits

Author SHA1 Message Date
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
e57d3fab9d add userprefs for povray binary location. 2013-01-14 10:54:57 +00:00
f02b630d52 minor style cleanup to povray export and fix for UI, setting booleans now expects 0/1 only. 2013-01-14 10:22:23 +00:00
f6a6f380e3 Fix for own stupid error in r4138... 2013-01-06 13:13:52 +00:00
43b6396c1c Fix [#33759] Can't use UV image export UV_layout error
Another glitch from recent alpha work. Also modified povray's code. As usual, maintainders of these scripts, please double check changes are ok! :)
2013-01-04 16:37:47 +00:00
a82bcb38c4 style cleanup: pep8 2012-10-08 20:50:06 +00:00
1a507bbdc1 Fix encoding error (please be carful with this - even though using non-ascii chars in code/comments is not a good idea, my bad). Thanks Irie Shinsuke for the report! 2012-10-02 05:13:54 +00:00
e55581d1ed First try at hair particles support. 2012-10-01 21:43:44 +00:00
7f1754c791 Spellfixes: colour -> color 2012-07-04 12:20:09 +00:00
dc06c93004 Updated for bmesh compatibility (faces-->tessfaces + uv_layer-->loop) 2012-06-22 01:27:58 +00:00
4b1c9bfcdf style cleanup: pep8 2012-04-03 02:27:35 +00:00
c1d81a0412 minor pep8 edits 2012-03-08 19:11:52 +00:00
275077f867 Scattering color was getting multiplied twice, resulting in less accurate presets. 2012-02-27 14:12:38 +00:00
556c86726b Updated Subsurface scattering Syntax to POV 3.7 RC4 (Blender presets now work)
and corrected typo in wiki link.
2012-02-26 18:02:32 +00:00
ecb4e9687f update for changes in matrix being column major now 2011-12-31 04:31:00 +00:00