Raytracing tutorial/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "==== Modélisation ==== Dans cet exemple un Cube est utilisé comme l'objet d'étude, mais les modèles créés dans la Partie ou les Établis PartDesign peuvent être utilis...")
(Created page with "* Créer un nouveau document * Activer l'Atelier Part Workbench * Créer un Cube. Vous pouvez changer ses propriétés .")
Line 27: Line 27:
Dans cet exemple un Cube est utilisé comme l'objet d'étude, mais les modèles créés dans la Partie ou les Établis PartDesign peuvent être utilisés au lieu de cela.
Dans cet exemple un Cube est utilisé comme l'objet d'étude, mais les modèles créés dans la Partie ou les Établis PartDesign peuvent être utilisés au lieu de cela.


# Create a new document
* Créer un nouveau document
# Activate the Part Workbench
* Activer l'Atelier Part Workbench
* Créer un Cube. Vous pouvez changer ses propriétés .
# Create a Cube. You are free to change its properties in any way.


Now we have a model with which to work.
Now we have a model with which to work.

Revision as of 15:59, 28 April 2018

Tutoriel
Thème
Raytracing
Niveau
Beginner
Temps d'exécution estimé
10 minutes + Render time
Auteurs
Drei
Version de FreeCAD
0.16 or above
Fichiers exemples
Voir aussi
None

Introduction

Ces travaux dirigés(didacticiel) doivent présenter le lecteur au workflow de base de l'Atelier Raytracing, aussi bien que la plupart des outils qui sont disponibles pour créer une image rendue.

Exigences

  • FreeCAD la version 0.16 ou au-dessus
  • [Http: // www.povray.org/la POV-RAY] et-ou [http: // www.luxrender.net/LuxRender] est installé sur le système
  • Dans le cas de POV-RAY, il n'est pas suffisent d'avoir juste le fichier binaire exécutable en place, mais il aussi ' exige ' l'installation de ' des fichiers(dossiers) supportants ' et dans Ubuntu on fournit ceux-ci le Recommande - le paquet Garni de drapeaux(Signalé) [https: // packages.ubuntu.com/search ? Povray-inclut keywords=povray-includes ]. On a aussi vu des publications potentielles avec des installations Linux exigeant des fichiers(dossiers) de configuration locaux être manuellement créé dans le dossier domestique d'un utilisateur, comme discuté [https: // forum.freecadweb.org/viewtopic.php ? F=3*t=27548*start=10*p224576 ici
  • Dans le cas de POV-RAY, on recommande l'installation [de https: // github.com/psicofil/Macros_FreeCAD la macro du psicofil's]
  • Le lecteur a la connaissance de base pour utiliser la Partie et l' Atelier PartDesign

Procedure

Modélisation

Dans cet exemple un Cube est utilisé comme l'objet d'étude, mais les modèles créés dans la Partie ou les Établis PartDesign peuvent être utilisés au lieu de cela.

  • Créer un nouveau document
  • Activer l'Atelier Part Workbench
  • Créer un Cube. Vous pouvez changer ses propriétés .

Now we have a model with which to work.

Preparing for the render

  1. Switch to the Raytracing Workbench
  2. Change your View to Perspective. Go to View menu and select Perspective.
  3. Set the location for the renderer. Go to the Edit menu and select Preferences. Click on Raytracing and set the location to the executable.
  4. 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
  1. Select New PovRay project. From the dropdown menu pick RadiosityNormal
LuxRender
  1. Select New LuxRender project. From the dropdown menu pick LuxClassic

Setting the camera position

  1. Position the 3D View to the desired location and distance from the model. In this case we will use the Axonometric View.
  2. Select the Project Folder from the Tree View
  3. Select Reset camera

Importing the model

  1. Select the model to render.
  2. Select Insert part

Running the Renderer

  1. Select Render.
  2. Set the path to which the image will be stored.
  3. 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.