Commit Graph

59 Commits

Author SHA1 Message Date
5bf39c3cfb Cleanup: trailing spaces 2017-07-25 01:30:13 +10:00
1dd6f2a7e0 *added "insert" menu to text view properties: it lists snippets from POV-Ray installation and inserts them at cursor's location when clicked
Probably needs Linux testing and will need subpaths to be more comfortable to use
2017-06-26 23:03:37 +02:00
6fd569bc74 *Removed automatic activation of Add Mesh: extra objects used for 3d function surface (exported as pov parametric object)
*Replaced by a message and easy menu for user to activate it himself to avoid conflicts with other scripts when deactivating POV would also deactivate extras.
2017-06-17 20:17:44 +02:00
17d2936873 POV-Ray: add templates to text editor menu when addon is enabled. 2017-06-15 09:59:10 +02:00
57f376e946 Cleanup: trailing space 2017-03-19 12:49:18 +11:00
dd5e311b73 fixed: missing Physics properties panels 2017-02-16 23:18:49 +01: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
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
2dceffb85a Fix POV-Ray renderer addon shadowing main mesh UVTexture panel! 2015-12-05 09:31:23 +01: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
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
07d031412a *added: first implementation of procedural textures
*fixed:packed textures
*fixed:library objects
2014-02-27 22:53:01 +01: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
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
a82bcb38c4 style cleanup: pep8 2012-10-08 20:50:06 +00:00
e55581d1ed First try at hair particles support. 2012-10-01 21:43:44 +00:00
b25a7c9099 pedantic pep8 edits 2011-09-08 05:26:39 +00:00
04cb99b42b replace tricky unicode chars for basic ascii. 2011-09-05 02:04:07 +00:00
f4768033d8 Addon UI Cleanup, Part 2
* You only have to do layout.prop if you want 1 property, no need for row then!
* Use col, row, sub as variable names, not colsub, rowsub, row2 etc please.
* Povray Addon: Still used a lot of splits, you need no split when you only have 1 column!
2011-08-27 13:38:53 +00:00
488e1da935 cleanup
- remove/comment unused variables
- remove unused imports
- fixed some bugs using incorrect variables
2011-07-10 22:57:27 +00:00
298e81cc75 Added spacing_multiplier to object photons block so per object photon count tuning is now possible (see tooltip) 2011-05-10 17:48:00 +00:00
8b00f675b5 Reorganized the whole pov properties, to place them in PropertyGroups, rather than cluttering the Scene/Material/etc. objects’ spaces…
Also added a new file handling the conversion from existing files using the old pov properties (call the ˘povray render: update to script v0.0.9” operator (bpy.ops.scene.pov_update_properties) in the search box of the 3d views to make the conversion).
2011-05-09 18:29:08 +00:00
8cf3fc4a5f pep8 cleanup & remove unused imports 2011-04-01 02:46:35 +00:00
82cc62d317 updates for changes in blender. 2011-03-21 12:37:20 +00:00
6e152ce9e0 pep8 edits for povray, also dont use string addition for textblock contents, write newlines separate. 2011-03-04 04:39:13 +00:00
2b6daa8b06 2.5 Povray UI:
* More Code cleanup, please watch and learn. :)
2011-03-03 21:00:18 +00:00
08bb21115d 2.5 Povray Export UI:
* Code cleaunp

Notes:
*Why do we have some empty panels with no actual content?
*Why is split used when there is only 1 column?

The Povray script has always been some kind of example for other exporters, the UI code need some more cleanup for sure!
2011-03-02 22:09:18 +00:00
9675e883a2 Added : Option to replace material properties with custom pov code from text data blocks 2011-03-01 11:55:55 +00:00
d890d19a9e pep8 style warning corrections. 2011-02-16 02:26:15 +00:00
338ac1e5b5 Fixed rendering of animation. The scene updates before it's exporting.
Some minor pep8 fixes.
2011-01-31 11:35:40 +00:00
14a62bc703 Added more UI controls for Depth of Field
Cleaned up Media and photons UI layouts
2011-01-31 01:29:37 +00:00
814f0bebc3 Photons and transparency improvements 2011-01-26 11:10:53 +00:00
bfd9e342e4 minor change: Typing 2011-01-24 19:28:20 +00:00
cd36f92c78 Optimized export to OS Tempfiles.
The output to Tempfiles no longer exports comments, indentations or LFs (in lists).
New option in Export settings to deactivate LF (line brakes) in lists.
Fixed a material export for normal maps. Was exported two times.
Paths to images are now realpaths, no /../ in absolut paths.
2011-01-24 11:44:01 +00:00
3a02375d7b Added file options for export.
Usage: Deactivate "OS Tempfile" to see the new options.
Some UI and code cleanup.
2011-01-23 20:39:02 +00:00
50e45d93a7 povray script now passes the pep8 checker.
noticed some strange code, added XXX FIXME.
2011-01-22 05:43:40 +00:00
3bbbe213de Added some more parameter for Anti Aliasing 2011-01-21 17:52:36 +00:00
e073c56803 AntiAlias Pannel UI und __init__ 2011-01-19 23:56:07 +00:00
13f4c169e4 Removed (commented out) Baking from the interface until we work on it again. More important issues need to be solved first. 2011-01-18 14:28:51 +00:00
6afae5b4ca Unified the spelling of POV-Ray (official spelling) 2011-01-16 17:35:41 +00:00
c799e2bcf5 - mktemp is Deprecated since version 2.3, replaced with NamedTemporaryFile()
- Automatic indentation in Pov file
- Added "command line switch". (Option to set some command line parameter)
2011-01-15 17:19:20 +00:00
76a268b5a0 By Constantin Rahn:
-POV file formatting improvement with UI option and function to handle all tabs/spaces indentation (big clean up)
-use of quote characters made more consistent.
2011-01-15 13:15:05 +00:00
ee6ece658c ADDED:
-pov max trace level (ray depth)
-pov radiosity importance sampling
-Higher Radiosity samples count (allows Halton sampling)
-pov pretrace_start / pretrace_end
FIXED
-incomplete tooltip for pov low_error
-sky_sphere mapping options:
-world sky gradient to follow pov coordinate system
-Skysphere rotation made independant from camera
-generation of skysphere with image map and BlendSky will just consider the texture for now.

All issues reported here 
http://projects.blender.org/tracker/?func=detail&atid=469&aid=23145&group_id=153
by Constantin Rahn, except Layer selective export, adding it to maydo list
2011-01-12 15:27:51 +00:00
61bf934744 Added Atmospheric Media and custom image gamma
fixed two typo errors and a compatibility for gamma syntax
2011-01-09 19:58:13 +00:00
d7d4388f65 objects with no materials were raising errors. 2010-12-22 22:16:34 +00:00
5fdb115521 Added elementary Baking 2010-12-16 20:33:45 +00:00
4e20bec0ec Moved some properties assignment out of the UI module and made alpha slider set transparency 2010-12-16 15:18:03 +00:00