Raytracing tutorial: Difference between revisions
Renatorivo (talk | contribs) m (minor for translation) |
Renatorivo (talk | contribs) (Marked this version for translation) |
||
Line 11: | Line 11: | ||
}} |
}} |
||
=== Introduction === |
=== Introduction === <!--T:2--> |
||
This tutorial is meant to introduce the reader to the basic workflow of the Raytracing Workbench, as well as most of the tools that are available to create a rendered image. |
This tutorial is meant to introduce the reader to the basic workflow of the Raytracing Workbench, as well as most of the tools that are available to create a rendered image. |
||
Line 25: | Line 25: | ||
=== Procedure === <!--T:5--> |
=== Procedure === <!--T:5--> |
||
==== Modeling ==== |
==== Modeling ==== <!--T:6--> |
||
In this example a Cube is used as the study object, but models created in the Part or PartDesign Workbenches can be used instead. |
In this example a Cube is used as the study object, but models created in the Part or PartDesign Workbenches can be used instead. |
||
Line 36: | Line 36: | ||
Now we have a model with which to work with. |
Now we have a model with which to work with. |
||
==== Preparing for the render ==== |
==== Preparing for the render ==== <!--T:9--> |
||
# Switch to the Raytracing Workbench |
# Switch to the Raytracing Workbench |
||
# Change your View to '''Perspective'''. Go to '''View''' menu and select '''Perspective'''. |
# Change your View to '''Perspective'''. Go to '''View''' menu and select '''Perspective'''. |
||
Line 45: | Line 45: | ||
# Select [[Image:Raytracing_New.png|32px]] [[Raytracing_New|New PovRay project]]. From the dropdown menu pick '''RadiosityNormal''' |
# Select [[Image:Raytracing_New.png|32px]] [[Raytracing_New|New PovRay project]]. From the dropdown menu pick '''RadiosityNormal''' |
||
===== LuxRender ===== |
===== LuxRender ===== <!--T:11--> |
||
# Select [[Image:Raytracing_Lux.png|32px]] [[Raytracing_Lux|New LuxRender project]]. From the dropdown menu pick '''LuxClassic''' |
# Select [[Image:Raytracing_Lux.png|32px]] [[Raytracing_Lux|New LuxRender project]]. From the dropdown menu pick '''LuxClassic''' |
||
==== Setting the camera position ==== |
==== Setting the camera position ==== <!--T:12--> |
||
# Position the '''3D View''' to the desired location and distance from the model. In this case we will use the '''Axonometric View'''. |
# Position the '''3D View''' to the desired location and distance from the model. In this case we will use the '''Axonometric View'''. |
||
# Select the '''Project Folder''' from the '''Tree View''' |
# Select the '''Project Folder''' from the '''Tree View''' |
||
# Select [[Image:Raytracing_ResetCamera.png|32px]] [[Raytracing_ResetCamera|Reset camera]] |
# Select [[Image:Raytracing_ResetCamera.png|32px]] [[Raytracing_ResetCamera|Reset camera]] |
||
==== Importing the model ==== |
==== Importing the model ==== <!--T:13--> |
||
# Select the model to render. |
# Select the model to render. |
||
# Select [[Image:Raytracing_InsertPart.png|32px]] [[Raytracing_InsertPart|Insert part]] |
# Select [[Image:Raytracing_InsertPart.png|32px]] [[Raytracing_InsertPart|Insert part]] |
||
Line 62: | Line 62: | ||
# Wait for the rendering to finish. This may take a while. |
# Wait for the rendering to finish. This may take a while. |
||
==== Viewing the results ==== |
==== Viewing the results ==== <!--T:15--> |
||
FreeCAD will immediately open the image after the render is finished. |
FreeCAD will immediately open the image after the render is finished. |
||
Line 69: | Line 69: | ||
<!--T:17--> |
|||
[[Category:User Documentation]] |
[[Category:User Documentation]] |
||
[[Category:Tutorials]] |
[[Category:Tutorials]] |
Revision as of 20:24, 6 September 2015
Tutorial |
Topic |
---|
{{{Topic}}} |
Level |
Beginner |
Time to complete |
10 minutes + Render time |
Authors |
Drei |
FreeCAD version |
0.16 or above |
Example files |
See also |
None |
Introduction
This tutorial is meant to introduce the reader to the basic workflow of the Raytracing Workbench, as well as most of the tools that are available to create a rendered image.
Requirements
- FreeCAD version 0.16 or above
- POV-Ray and/or LuxRender is installed on the system
- In the case of POV-Ray, installation of psicofil's macro is recommended
- The reader has the basic knowledge to use the Part and PartDesign Workbenches
Procedure
Modeling
In this example a Cube is used as the study object, but models created in the Part or PartDesign Workbenches can be used instead.
- Create a new document
- Activate the Part Workbench
- Create a Cube. You are free to change its properties in any way.
Now we have a model with which to work with.
Preparing for the render
- Switch to the Raytracing Workbench
- Change your View to Perspective. Go to View menu and select Perspective.
- Set the location for the renderer. Go to the Edit menu and select Preferences. Click on Raytracing and set the location to the executable.
- Set the size of the rendered image. Go to the Edit menu and select Preferences. Click on Raytracing and set the desired image size.
POV-Ray
- Select New PovRay project. From the dropdown menu pick RadiosityNormal
LuxRender
- Select New LuxRender project. From the dropdown menu pick LuxClassic
Setting the camera position
- Position the 3D View to the desired location and distance from the model. In this case we will use the Axonometric View.
- Select the Project Folder from the Tree View
- Select Reset camera
Importing the model
- Select the model to render.
- Select Insert part
Running the Renderer
- Select Render.
- Set the path to which the image will be stored.
- Wait for the rendering to finish. This may take a while.
Viewing the results
FreeCAD will immediately open the image after the render is finished.
We are now finished with the basic workflow for the Raytracing Module.