render.md 2.81 KB
Newer Older
Hesper Yin's avatar
Hesper Yin committed
1
2
3
---
layout: default
title: "Render"
allai5's avatar
allai5 committed
4
5
permalink: /guide/render_mode/
parent: User Guide
Hesper Yin's avatar
Hesper Yin committed
6
7
8
9
---

# Render

TheNumbat's avatar
TheNumbat committed
10
Welcome! This is Scotty3D's realistic, globally illuminated renderer, capable of creating images of complex scenes using path tracing.
Hesper Yin's avatar
Hesper Yin committed
11

Hesper Yin's avatar
Hesper Yin committed
12
13
14
15
## Render Window

In render mode, click on "Open Render Window", and you will be able to set the parameters to render your model. Enjoy the excitement of seeing the images becoming clearer and clearer ;-)

allai5's avatar
allai5 committed
16
![light](window.png)
Hesper Yin's avatar
Hesper Yin committed
17

Hesper Yin's avatar
Hesper Yin committed
18
19
## Moving Camera

TheNumbat's avatar
TheNumbat committed
20
21
22
23
24
25
The render mode comes with its own camera, representing the position, view direction, field of view, and aspect ratio with which to render the scene. These parameters are visually represented by the camera control cage, which shows up as a black wire-frame pyramid that traces out the unit-distance view plane. Note that changing camera settings (e.g. field of view) will adjust the geometry of the camera cage.

To move the render camera to the current view, click "Move to View." This will reposition the camera so that it has exactly what you have on screen in view.

To freely move the camera without updating its field of view/aspect ratio to match the current viewport, click "Free Move," and use the normal 3D navigation tools to position the camera. When you are done, click "Confirm Move" or "Cancel Move" to apply or cancel the updated camera position. Feel free to play around with the field of view (FOV) and aspect ratio (AR) sliders while in the free move mode - they will adjust your current view to use these values, so you can see how exactly the effect the visible region.

Hesper Yin's avatar
Hesper Yin committed
26
27
## Create light

TheNumbat's avatar
merge    
TheNumbat committed
28
To add lighting to the scene, simply go to the menu on the left side, click "New Light", and you will be able to choose from a variety of point objects and infinite environment lights. (To implement support for environment lights, see PathTracer task 7.)
yhesper's avatar
yhesper committed
29

allai5's avatar
allai5 committed
30
![light](light.png)
yhesper's avatar
yhesper committed
31

TheNumbat's avatar
merge    
TheNumbat committed
32
Additionally, any object can be made into an emissive area light by changing its material to `Diffuse Light`. Mesh-based area lights can produce much more realistic lighting conditions.
yhesper's avatar
yhesper committed
33

TheNumbat's avatar
TheNumbat committed
34
## Enable Ray Logging for Debugging
Hesper Yin's avatar
Hesper Yin committed
35

Hesper Yin's avatar
Hesper Yin committed
36
In Render mode, simply check the box for "Logged Rays", and you would be able to see the camera rays that you generated in task 1 when you start render.
yhesper's avatar
yhesper committed
37

TheNumbat's avatar
TheNumbat committed
38
![ray](ray_log.png)
yhesper's avatar
yhesper committed
39

Hesper Yin's avatar
Hesper Yin committed
40
41
## Visualize BVH

Hesper Yin's avatar
Hesper Yin committed
42
In Render mode, simply check the box for "BVH", and you would be able to see the BVH you generated in task 3 when you start rendering. You can click on the horizontal bar to see each level of your BVH.
yhesper's avatar
yhesper committed
43

allai5's avatar
allai5 committed
44
![ray](bvh.png)
yhesper's avatar
yhesper committed
45

Hesper Yin's avatar
Hesper Yin committed
46
## Materials and Other Object Options
Hesper Yin's avatar
Hesper Yin committed
47

Hesper Yin's avatar
Hesper Yin committed
48
49
You can change the material and other property of your mesh by selecting the object and choose "Edit Pose", "Edit Mesh", and "Edit Material". For example, you can make a colored cow by "Edit Material" -> "Diffuse light", and pick a color that you like.

allai5's avatar
allai5 committed
50
![material](material.png)