POV-Ray - Tips - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Off Topic (https://www.wings3d.com/forum/forumdisplay.php?fid=11) +---- Forum: Renders tips (https://www.wings3d.com/forum/forumdisplay.php?fid=17) +---- Thread: POV-Ray - Tips (/showthread.php?tid=101) |
POV-Ray - Tips - micheus - 12-10-2012 I'll share some items I have "discovered" by playing with POV-Ray tha can be useful for someone else:
Image Plane without light influence - micheus - 12-10-2012 An example about how to use an image plane without get any light influence. (download) Basically we need to set these properties below in the Material dialog:
I did some tests with some varying of values. For all of them the values for Image Plane (with UV-map) was as follow: Code: texture { Light test 1 global_settings: ambient_light <1, 1, 1> Pink sphere Code: texture { Metalic sphere Code: texture { Floor Code: texture { Light test 2 All parameters preserved, but Ambient became to contribute with 10% in the objects colors. Pink sphere Code: ambient rgb <0.100000, 0.100000, 0.100000> Metallic sphere Code: ambient 0.1 Floor Code: ambient 0.1 Image Plane without light influence - micheus - 12-10-2012 Light test 3 global_settings: ambient_light <0, 0, 0> Pink sphere Code: ambient rgb <0.000000, 0.000000, 0.000000> Metalic sphere Code: ambient 0 Floor Code: ambient 0 Image Plane without light influence - micheus - 12-11-2012 Now all mixed and using global_settings - ambient_light set to white: The material settings of the left image Ambient was set to 1 and for the right one it was set to 0. (the spheres and floor has its Ambient set to 0.2 and 0.4, respectively) Extending power of the plugin - 1 - maker - 12-26-2012 Pov-ray has a huge amount of free objects as "include files" (= instances / reference objects). This is an easy way to add objects at render time, without adding to the modelling load. [I'm assuming you know the basics of editing with Pov-ray ] Here's an example. Initial rendering in Pov-ray of a simple house with "placeholder" objects (red circles.) These are simple objects only used to get the "centers" to place trees in Pov-ray. The "trees" are renamed tree_1, tree_2 etc. Fire up Pov-ray editor and search for "tree_1" (exported as w0_4_tree_1)... Copy the "position" of <x, y, z> Here I've "inserted" a palm from Lohmueller's Ready-made Object Collection. Then I pasted the previous position to the "translate <>" field. Repeated 4 more times for the other "trees"... A few more tweaks to the size, rotation etc... . And there you are. Pov-ray has a lot more to offer than my limited talent can show. Try it Enabling Caustics... - micheus - 04-22-2015 To get caustics in POV-Ray, besides to enable Photons for lights and the desired material, you may need to increase the Photons Count in the export dialog as shown bellow: An other thing you may need to change is the material shine. Very polished material can't be set in Wings3d. Even you set Shiness to 1.0 the exporter will set the roughness parameter to 1.010000. In order to get a very polished material you need to change this value to something like roughness 0.010000 and the result you see in the image bellow - the light shine in the glass is smallest compared with the previous one that are looking like plastic: Spectral Rendering with POV-Ray - micheus - 02-03-2018 There is a pack of macro called Automatic Light System for POV-Ray to automate the task of creating a light source, specifically the aspects about color, intensity and fading. (see the link for details and download). I used the test scenes and the light becomes awesome. It includes the files that are part of another macro Spectral Rendering with POV-Ray (use the link to see more details and download latest files - the other pack includes the old ones) They help to produce excellent lighting: Incandescent, Fluorescent and Skylight Incandescent 60w, Warm White Fluor, Cool White Fluor, Halogen and Standard Illumination To use them in a scene it will be needed to edit the exported file to include the call to the macros. RE: POV-Ray - Tips - micheus - 09-30-2020 I'm going to let here some information about the Lights and Render dialogs which can be a start point for someone creates their settings. It's not a technical information. For that, please, take a look at the POV-Ray 3.7's Reference Table of Content. It explanes in details how the light works in POV-Ray. Render dialog The most common elements to be changed are in General option, Lighting and Camera tabs:
The lights properties can be accessed in the Outliner window, expand the Lights node, select the light and in the context menu select Property. Area light dialog The area light is one of the lights that will allow us to add soft shadows to the scene. The appearance of the shadows produced by this light will depend on a set of factors like its dimension, number of the light matrix (default is 2x2), and others.
Here is a sample scene with differents parameters of an Area light added progressively (see yellow note on each frame): and here, the same scene - using the settings on the 4th frame, but now with an array of 10x10 - plus the basic Render parameters we can set to improve the result. It was rendered without and with Radiosity enabled. Notice the background colour has also influence on the scene lighting: * More to come when I have some free time. |