advanced pov-ray
DESCRIPTION
Advanced POV-Ray. ‘Duckbot’ rendered with default settings. What we’re aiming for. What we will cover. Setting up lights in MLCAD Setting up the camera in L3PAO Creating area lights Global settings Modifying textures (reflective floor). Setting up lights in MLCAD. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/1.jpg)
Brickvention 2006
Advanced POV-Ray
![Page 2: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/2.jpg)
Brickvention 2006
‘Duckbot’ rendered with default settings
![Page 3: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/3.jpg)
Brickvention 2006
What we’re aiming for
![Page 4: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/4.jpg)
Brickvention 2006
What we will cover.
• Setting up lights in MLCAD
• Setting up the camera in L3PAO
• Creating area lights
• Global settings
• Modifying textures (reflective floor)
![Page 5: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/5.jpg)
Brickvention 2006
Setting up lights in MLCAD
Add lights to your model by adding the part ‘light.dat’
Make sure the colour is set to white.
![Page 6: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/6.jpg)
Brickvention 2006
Use the front and top view to position the light
![Page 7: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/7.jpg)
Brickvention 2006
Add as many lights as you want
Three is usually sufficient.
![Page 8: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/8.jpg)
Brickvention 2006
Save the file and open L3PAO
Default L3PAO settings
![Page 9: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/9.jpg)
Brickvention 2006
Let’s change some stuff
Select ‘light sources from .DAT’ and deselect any other lights
Run L3P, open the file in POV-Ray and render.
![Page 10: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/10.jpg)
Brickvention 2006
The result so far
Not very different to the default settings yet.
![Page 11: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/11.jpg)
Brickvention 2006
Modifying lights.
If the lighting arrangement is unsatisfactory -
•Move the light.dat parts in MLCAD
•Save the file
•Rerun L3P
•Rerender
When you are happy with the light’s positions, close MLCAD
![Page 12: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/12.jpg)
Brickvention 2006
Setting Up The Camera
For a more natural viewpoint set the camera angle to a lower value.
Use ‘Radius’ to change the framing of the image.
Use ‘Camera Look At’ to set the target of the camera.
![Page 13: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/13.jpg)
Brickvention 2006
The Camera
45°
0°
15°
Camera ‘Look At’ point. (x,y,z coordinate)
Latitude
Longitude
Radius (ldu)
![Page 14: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/14.jpg)
Brickvention 2006
Looking better already
![Page 15: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/15.jpg)
Brickvention 2006
Creating ‘Area Lights’ in POV-Ray
Open the file created by L3PAO, in this case, duckbot.pov
![Page 16: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/16.jpg)
Brickvention 2006
It’s not all that bad…
At the bottom of the file there is always something like this.
Add an area light just above the existing lights.
![Page 17: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/17.jpg)
Brickvention 2006
A bit of C ‘n’ P later
![Page 18: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/18.jpg)
Brickvention 2006
Global Settings
The render is still a little dark…
At the top of the file add these global settings.
![Page 19: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/19.jpg)
Brickvention 2006
The finishing touch
Add reflection to the floor, and play with the ‘ambient’ and ‘diffuse’ settings.
![Page 20: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/20.jpg)
Brickvention 2006
Recap
• Add light.dat parts in MLCAD for greater control over light positioning. Keep in mind the camera angle when placing lights.
• Adjust the camera in L3PAO.• Use the light’s coordinates to create area lights, which soften
the shadows.• Use the global settings to make fine adjustments to the
brightness and contrast of the image.• Add reflection to the floor for a nice finishing touch.• Do lots of test renders at a low resolution.• The POV-Ray help file is brilliant. Use it.
![Page 21: Advanced POV-Ray](https://reader035.vdocument.in/reader035/viewer/2022081506/56812b46550346895d8f5e4c/html5/thumbnails/21.jpg)
Brickvention 2006
Examples