Commit Graph

71 Commits

Author SHA1 Message Date
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
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
6399af49ad Speedup for writing on export (vertices, vertex index, vertex colors, vertex normals, UV coords) 2011-01-23 21:40:51 +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
d4c6ab8db3 Attempt at border render. Hope it's ok 2011-01-22 14:15:08 +00:00
5b308e0209 Fixed Campbell's noticed strange code: a useless or statement
and made clearer clamping for Front and back diffuse.
2011-01-22 08:40:26 +00:00
ca49ad6c19 conform to blender convention, "" for strings, '' for enum id's only. 2011-01-22 06:09:36 +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
ca638c3d55 - add support for curves/surfaces/text again.
- metaballs with no supported elements would give an error. no they are skipped.
2011-01-22 04:48:15 +00:00
34ff563dbe Fix to allow 32 bits blender with 64 bits pov and vice versa 2011-01-21 18:24:07 +00:00
3bbbe213de Added some more parameter for Anti Aliasing 2011-01-21 17:52:36 +00:00
9db505f189 Fixed: Background gradient to work with empty texture slots. 2011-01-20 13:56:20 +00:00
2f3d871758 Add custom Anti-Aliasing pannel. Removed the default one. 2011-01-19 23:51:37 +00:00
9544a1aa64 Fix exported numbers of materials per object 2011-01-19 19:30:30 +00:00
a33eaf80bf increased the Delay much more (now 1.5s).
Lower Delay will rise errors when rendering big images. 
My system Win7 64 (slow HD) reports following error on lower Delay: 
---
Reached EOF while decoding PNG
Cannot open input file
Cannot create backend data
Unknown fileformat
---

Maybe Delay should be bound to the imagesize. Or is there a better solution to wait for povray to finish the writing?
2011-01-19 14:53:30 +00:00
6fc3f7d09b Declare only required materials 2011-01-19 14:33:45 +00:00
504e5fd2ed Minor change in _cleanup and increased DELAY 2011-01-19 13:05:32 +00:00
a27aea0118 Comments for METAS (Blobs) only if METAS are in the scene 2011-01-19 12:47:01 +00:00
b33047a352 Export only materials which have at least one or more users 2011-01-19 00:15:22 +00:00
e8719da283 fixed MetaBall (Blobs) Export 2011-01-18 23:29:17 +00:00
0e0629da3c Ignore curves on export 2011-01-18 22:35:32 +00:00
321c31b6f9 Fix for indentation bug in uv indices 2011-01-18 22:10:29 +00:00
67e425a4db use slicing in more places. 2011-01-18 21:51:54 +00:00
b4fb668148 Speedup3: replaced tuple[uv] with uv[:] 2011-01-18 21:33:02 +00:00
a41694e525 Speedup2: Replaced tuple(uv.uv1) with uv.uv1[:] (and similar) 2011-01-18 21:26:24 +00:00
4dc7b473d9 Speedup1: Storing faces in me_faces 2011-01-18 21:18:27 +00:00
3eb5527630 Fix for exporting meshes with smooth and flat faces in one Mesh.
Thanks Campbell
2011-01-18 20:51:15 +00:00
aaa6c431e2 Minor change in formatting pov file 2011-01-18 20:02:26 +00:00
84c40946e4 correct bad spelling; 'indicies' --> 'indices' 2011-01-18 01:58:49 +00:00
26bc430239 Changed texture scale factor to a better match. Not perfect yet, since user still has to correct scaling by offset. 2011-01-17 21:00:59 +00:00
6afae5b4ca Unified the spelling of POV-Ray (official spelling) 2011-01-16 17:35:41 +00:00
107935b572 Commented out a forbidden scene property change. There might be others. We need to find a proper way to translate blender properties to pov ones that are different but achieve the same purpose 2011-01-15 23:50:10 +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
288d5af6e0 Added some formatting of the pov files and some UI tweaks made by Constantin Rahn (Thanks!). Also the version number had not been updated for a while, I don't know about API number 2011-01-14 21:55:46 +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
65f69ef653 rotate entire scene -90d X, so povray's up axis matches blenders. 2011-01-10 12:31:04 +00:00
cebbb4ee9b metaball material export was broken. 2011-01-10 12:23:00 +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
1d59c13530 Fixed some errors in the Povray exporters, discovered by Conz. Thanks! 2011-01-07 10:09:46 +00:00
74228c9a0b Updated pov 3.7 Version directive to keep up to date with the latest beta and added some clean up function for hyphen and dots in object names to get them accepted by pov. 2010-12-25 00:32:14 +00:00
1b5194ebc5 remove class attribute _process, if this happens I rather fix the cause. 2010-12-22 04:59:41 +00:00
8e64952115 changes from r1294,
- be explicit with exceptions. new exceptions can be accounted for as needed
- self._process was being checked for None, this should never happen, if it does then that is a bug and should be dealt with separately.
2010-12-22 04:52:05 +00:00
5d127dee45 render_povray: Some small tweaks to make the addon render correctly on linux. 2010-12-19 17:12:13 +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
93517f2fd1 Adding arguments to Specular map related functions 2010-12-16 12:36:17 +00:00
7bdd237ab5 Added a function to simplify Specular map export. 2010-12-07 17:07:59 +00:00
5341923628 After testing; made Sky alpha mode opaque for now. 2010-11-22 14:25:08 +00:00