Raytracing tutorial/it: Difference between revisions

From FreeCAD Documentation
(Created page with "{{TutorialInfo |Class= Raytracing |Level= Base |Time= 10 minuti + tempo per Render |Author=[http://freecadweb.org/wiki/index.php?title=User:Drei Drei] |FCVersion=0.16 o superi...")
(Updating to match new version of source page)
 
(42 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>

==Raytracing Workbench==

{{VeryImportantMessage|The [[Raytracing_Workbench|Raytracing workbench]] is being superseded by the new [https://github.com/FreeCAD/FreeCAD-render Render Workbench], which is intended as its replacement. The Render Workbench can be installed through the [[Std_AddonMgr|Addon Manager]]. The information here is provided because by default FreeCAD is still shipped (as of 0.19-24276) with the Raytracing Workbench, and because the new module should basically work in the same way}}


{{TutorialInfo
{{TutorialInfo/it
|Class= Raytracing
|Topic= Raytracing
|Level= Base
|Level= Base
|Time= 10 minuti + tempo per Render
|Time= 10 minuti + tempo per il Render
|Author=[http://freecadweb.org/wiki/index.php?title=User:Drei Drei]
|Author=[http://freecadweb.org/wiki/index.php?title=User:Drei Drei]
|FCVersion=0.16 o superiore
|FCVersion=0.16 o superiore
Line 9: Line 14:
}}
}}


<div class="mw-translate-fuzzy">
=== Introduction ===
=== Introduzione ===
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.
Questo tutorial ha lo scopo di introdurre il lettore al flusso di lavoro di base dell'ambiente Raytracing, e alla maggior parte degli strumenti che sono a disposizione per creare una immagine renderizzata.
</div>


[[Image:Raytracing_tutorial_result.png|480px]]
[[Image:Raytracing_tutorial_result.png|480px]]
=== Requirements ===
* FreeCAD version 0.16 or above
* [http://www.povray.org/ POV-Ray] and/or [http://www.luxrender.net/ LuxRender] is installed on the system
* In the case of POV-Ray, installation of [https://github.com/psicofil/Macros_FreeCAD psicofil's macro] is recommended
* The reader has the basic knowledge to use the Part and PartDesign Workbenches


<div class="mw-translate-fuzzy">
=== Procedure ===
=== Requisiti ===
* FreeCAD versione 0.16 o superiore
* [http://www.povray.org/ POV-Ray] e/o [http://www.luxrender.net/ LuxRender] installati nel sistema
* Nel caso di POV-Ray, non è sufficiente avere solo l'eseguibile binario installato, ma '''''è richiesta''''' anche l'installazione dei '''''file di supporto ''''', e in Ubuntu questi sono forniti dal pacchetto dei file raccomandati [https://packages.ubuntu.com/search?keywords=povray-includes povray-includes]. Potenziali problemi sono stati riscontrati anche con installazioni Linux che richiedono la creazione manuale di file di configurazione locali nella cartella home dell'utente, come discusso [https://forum.freecadweb.org/viewtopic.php?f=3&t=27548&start=10#p224576 qui].
* Nel caso di POV-Ray, si raccomanda di installare la [https://github.com/psicofil/Macros_FreeCAD macro di psicofil]
* Il lettore abbia le conoscenze di base per utilizzare gli ambienti Parte e PartDesign
</div>


<span id="Procedure"></span>
==== Modeling ====
<div class="mw-translate-fuzzy">
In this example a Cube is used as the study object, but models created in the Part or PartDesign Workbenches can be used instead.
=== Procedura ===
</div>


<div class="mw-translate-fuzzy">
# Create a new document
==== Il modello ====
# Activate the Part Workbench
In questo esempio viene utilizzato un cubo come oggetto di studio, ma al suo posto si possono usare i modelli creati con Parte o PartDesign.
# Create a Cube. You are free to change its properties in any way.
</div>


# Creare un nuovo documento
Now we have a model with which to work with.
# Attivare l'ambiente Parte
# Creare un Cubo. Siete liberi di cambiare le sue proprietà in qualsiasi modo.


Ora abbiamo un modello con il quale lavorare.
==== 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.


<div class="mw-translate-fuzzy">
==== Preparativi per il render ====
# Passare all'ambiente Raytracing
# Cambiare la Vista in '''Prospettiva'''. Andare nel menu '''Vista''' e selezionare '''Prospettiva'''.
# Impostare il percorso del renderer. Andare nel menu '''Modifica''' e selezionare '''Preferenze'''. Cliccare su '''Raytracing''' e impostare il percorso del file eseguibile.
# Impostare le dimensioni dell'immagine di rendering. Andare nel menu '''Modifica''' e selezionare '''Preferenze'''. Cliccare su '''Raytracing''' e impostare la dimensione desiderata dell'immagine.
</div>

<div class="mw-translate-fuzzy">
===== POV-Ray =====
===== POV-Ray =====
# Select [[Image:Raytracing_New.png|32px]] [[Raytracing_New|New PovRay project]]. From the dropdown menu pick '''RadiosityNormal'''
# Selezionare [[Image:Raytracing_New.png|32px]] [[Raytracing_New|Nuovo progetto PovRay]]. Nel menu a discesa impostare '''RadiosityNormal'''
</div>


<div class="mw-translate-fuzzy">
===== LuxRender =====
===== LuxRender =====
# Select [[Image:Raytracing_Lux.png|32px]] [[Raytracing_Lux|New LuxRender project]]. From the dropdown menu pick '''LuxClassic'''
# Selezionare [[Image:Raytracing_Lux.png|32px]] [[Raytracing_Lux|Nuovo progetto LuxRender]]. Nel menu a discesa impostare '''LuxClassic'''
</div>


<div class="mw-translate-fuzzy">
==== Setting the camera position ====
==== Impostare la posizione della camera ====
# Position the '''3D View''' to the desired location and distance from the model. In this case we will use the '''Axonometric View'''.
# Posizionare la '''Vista 3D''' nella posizione e alla distanza desiderata dal modello. In questo caso, useremo la '''Vista assonometrica'''.
# Select the '''Project Folder''' from the '''Tree View'''
# Selezionare il '''Project Folder''' nella '''Vista ad albero'''
# Select [[Image:Raytracing_ResetCamera.png|32px]] [[Raytracing_ResetCamera|Reset camera]]
# Selezionare [[Image:Raytracing_ResetCamera.png|32px]] [[Raytracing_ResetCamera/it|Reset camera]]
</div>


<div class="mw-translate-fuzzy">
==== Importing the model ====
==== Importare il modello ====
# Select the model to render.
# Selezionare il modello per il rendering.
# Select [[Image:Raytracing_InsertPart.png|32px]] [[Raytracing_InsertPart|Insert part]]
# Selezionare [[Image:Raytracing_InsertPart.png|32px]] [[Raytracing_InsertPart/it|Inserisci parte]]
</div>


<div class="mw-translate-fuzzy">
==== Running the Renderer ====
==== Eseguire il renderer ====
# Select [[Image:Raytracing_Render.png|32px]] [[Raytracing_Render|Render]].
# Selezionare [[Image:Raytracing_Render.png|32px]] [[Raytracing_Render/it|Render]].
# Set the path to which the image will be stored.
# Impostare il percorso in cui memorizzare l'immagine.
# Wait for the rendering to finish. This may take a while.
# Attendere che il rendering finisca. Questo potrebbe richiedere alcuni minuti.
</div>


<div class="mw-translate-fuzzy">
==== Viewing the results ====
==== Visualizzare i risultati ====
FreeCAD will immediately open the image after the render is finished.
Appena il rendering è finito FreeCAD apre immediatamente l'immagine.
</div>


<div class="mw-translate-fuzzy">
We are now finished with the basic workflow for the [[Raytracing Module|Raytracing Module]].
Il flusso di lavoro di base per l'ambiente [[Raytracing_Workbench/it|Raytracing]] è concluso.
</div>




{{Raytracing Tools navi{{#translation:}}}}
[[Category:User Documentation]]
{{Userdocnavi{{#translation:}}}}
[[Category:Tutorials]]

{{clear}}
<languages/>

Latest revision as of 13:03, 14 April 2023

Raytracing Workbench

The Raytracing workbench is being superseded by the new Render Workbench, which is intended as its replacement. The Render Workbench can be installed through the Addon Manager. The information here is provided because by default FreeCAD is still shipped (as of 0.19-24276) with the Raytracing Workbench, and because the new module should basically work in the same way
Tutorial
Argomento
Raytracing
Livello di difficoltà
Base
Tempo di esecuzione
10 minuti + tempo per il Render
Autori
Drei
Versione di FreeCAD
0.16 o superiore
Files di esempio
Vedere anche
Nessuno

Introduzione

Questo tutorial ha lo scopo di introdurre il lettore al flusso di lavoro di base dell'ambiente Raytracing, e alla maggior parte degli strumenti che sono a disposizione per creare una immagine renderizzata.

Requisiti

  • FreeCAD versione 0.16 o superiore
  • POV-Ray e/o LuxRender installati nel sistema
  • Nel caso di POV-Ray, non è sufficiente avere solo l'eseguibile binario installato, ma è richiesta anche l'installazione dei file di supporto , e in Ubuntu questi sono forniti dal pacchetto dei file raccomandati povray-includes. Potenziali problemi sono stati riscontrati anche con installazioni Linux che richiedono la creazione manuale di file di configurazione locali nella cartella home dell'utente, come discusso qui.
  • Nel caso di POV-Ray, si raccomanda di installare la macro di psicofil
  • Il lettore abbia le conoscenze di base per utilizzare gli ambienti Parte e PartDesign

Procedura

Il modello

In questo esempio viene utilizzato un cubo come oggetto di studio, ma al suo posto si possono usare i modelli creati con Parte o PartDesign.

  1. Creare un nuovo documento
  2. Attivare l'ambiente Parte
  3. Creare un Cubo. Siete liberi di cambiare le sue proprietà in qualsiasi modo.

Ora abbiamo un modello con il quale lavorare.

Preparativi per il render

  1. Passare all'ambiente Raytracing
  2. Cambiare la Vista in Prospettiva. Andare nel menu Vista e selezionare Prospettiva.
  3. Impostare il percorso del renderer. Andare nel menu Modifica e selezionare Preferenze. Cliccare su Raytracing e impostare il percorso del file eseguibile.
  4. Impostare le dimensioni dell'immagine di rendering. Andare nel menu Modifica e selezionare Preferenze. Cliccare su Raytracing e impostare la dimensione desiderata dell'immagine.
POV-Ray
  1. Selezionare Nuovo progetto PovRay. Nel menu a discesa impostare RadiosityNormal
LuxRender
  1. Selezionare Nuovo progetto LuxRender. Nel menu a discesa impostare LuxClassic

Impostare la posizione della camera

  1. Posizionare la Vista 3D nella posizione e alla distanza desiderata dal modello. In questo caso, useremo la Vista assonometrica.
  2. Selezionare il Project Folder nella Vista ad albero
  3. Selezionare Reset camera

Importare il modello

  1. Selezionare il modello per il rendering.
  2. Selezionare Inserisci parte

Eseguire il renderer

  1. Selezionare Render.
  2. Impostare il percorso in cui memorizzare l'immagine.
  3. Attendere che il rendering finisca. Questo potrebbe richiedere alcuni minuti.

Visualizzare i risultati

Appena il rendering è finito FreeCAD apre immediatamente l'immagine.

Il flusso di lavoro di base per l'ambiente Raytracing è concluso.