Raytracing Workbench/ko: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{docnav|[[Points Workbench|Points Workbench]]|[[Reverse Engineering Workbench|Reverse Engineering Workbench]]|IconL=PointsWorkbench.svg|IconR=ReverseEngineeringWorkbench.svg}}
{{docnav|[[Points Workbench|Points Workbench]]|[[Reverse Engineering Workbench|Reverse Engineering Workbench]]|IconL=PointsWorkbench.svg|IconR=ReverseEngineeringWorkbench.svg}}
</div>
</div>


{{VeryImportantMessage|The '''Raytracing Workbench''' is no longer included after version 0.20.<br>
{{VeryImportantMessage|The Raytracing workbench is essentially obsolete. New development is happening in the [https://github.com/FreeCAD/FreeCAD-render Render Workbench], which is intended as its replacement. This workbench is fully programmed in Python so it is much easier to extend.
The external [https://github.com/FreeCAD/FreeCAD-render Render Workbench] should be used instead.}}

Nevertheless, the information in this page is generally useful for the new workbench, as both modules work basically in the same way.
}}


[[Image:Workbench_Raytracing.svg|thumb|128px|Raytracing workbench icon]]
[[Image:Workbench_Raytracing.svg|thumb|128px|Raytracing workbench icon]]


<span id="Introduction"></span>
<div class="mw-translate-fuzzy">
== 소개 ==
== 소개 ==
The [[Raytracing Workbench|Raytracing Workbench]] is used to generate photorealistic images of your models by processing them with an external renderer.
The [[Raytracing Workbench|Raytracing Workbench]] is used to generate photorealistic images of your models by processing them with an external renderer.
</div>


{{TOCright}}
{{TOCright}}
Line 24: Line 22:
Currently, two renderers are supported: [[POV-Ray|POV-Ray]] and [[LuxRender|LuxRender]]. To be able to render from within FreeCAD, at least one of these programs must be installed and configured in your system. However, if no renderer is installed, you will still be able to export a project file to be rendered at another time.
Currently, two renderers are supported: [[POV-Ray|POV-Ray]] and [[LuxRender|LuxRender]]. To be able to render from within FreeCAD, at least one of these programs must be installed and configured in your system. However, if no renderer is installed, you will still be able to export a project file to be rendered at another time.


The Raytracing workbench is essentially obsolete. New development is happening in the [https://github.com/FreeCAD/FreeCAD-render Render Workbench], which is intended as its replacement. This workbench is fully programmed in Python so it is much easier to extend than the current workbench which is programmed in C++. Nevertheless, the information in this page is generally useful for the new workbench, as both modules work basically in the same way.
The Raytracing workbench is obsolete, the external [https://github.com/FreeCAD/FreeCAD-render Render Workbench] is its replacement. Nevertheless, the information on this page is generally useful for the new workbench, as both basically work in the same way.


[[Image:Raytracing_example.jpg|1024px]]
[[Image:Raytracing_example.jpg|1024px]]
Line 30: Line 28:
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
== 전형적 워크플로 ==
== 전형적 워크플로 ==
# Create or open a FreeCAD project, add some solid objects ([[Part Module|Part-based]] or [[PartDesign Workbench|PartDesign-based]]); meshes are currently not supported.
# Create or open a FreeCAD project, add some solid objects ([[Part_Workbench|Part-based]] or [[PartDesign_Workbench|PartDesign-based]]); meshes are currently not supported.
# Create a Raytracing project (povray or luxrender).
# Create a Raytracing project (povray or luxrender).
# Select the objects that you wish to add to the Raytracing project and add them.
# Select the objects that you wish to add to the Raytracing project and add them.
Line 42: Line 40:
{{Caption|Workflow of the Raytracing Workbench; the workbench prepares a project file from a given template, and then calls an external program to produce the actual rendering of the scene. The external renderer can be used independently of FreeCAD.}}
{{Caption|Workflow of the Raytracing Workbench; the workbench prepares a project file from a given template, and then calls an external program to produce the actual rendering of the scene. The external renderer can be used independently of FreeCAD.}}


<span id="Tools"></span>
== 도구 ==
== 도구 ==


<span id="Project_tools"></span>
===Project 도구===
===Project 도구===


Line 56: Line 56:
</div>
</div>


<span id="Utilities"></span>
===유틸리티===
===유틸리티===


Line 63: Line 64:
* [[Image:Raytracing_WritePart.svg|32px]] [[Raytracing_WritePart|Export part to povray]]: Write the selected Part (object) as a povray file
* [[Image:Raytracing_WritePart.svg|32px]] [[Raytracing_WritePart|Export part to povray]]: Write the selected Part (object) as a povray file


<span id="Preferences"></span>
== 환경설정 ==
== 환경설정 ==


Line 127: Line 129:
* [https://forum.freecadweb.org/viewtopic.php?t=39168 FreeCAD Renderer Workbench improvements]
* [https://forum.freecadweb.org/viewtopic.php?t=39168 FreeCAD Renderer Workbench improvements]


'''Outdated'''

These pages refer to a replacement workbench, programmed in C++, proposed around 2012, which was never completed.
* [[Raytracing_project|Raytracing project]]
* [[Render_project|Render project]]


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 139: Line 136:
{{Raytracing Tools navi{{#translation:}}}}
{{Raytracing Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
[[Category:Workbenches{{#translation:}}]]
[[Category:Obsolete Workbenches{{#translation:}}]]

Latest revision as of 16:17, 3 May 2023

The Raytracing Workbench is no longer included after version 0.20.
The external Render Workbench should be used instead.
Raytracing workbench icon

소개

The Raytracing Workbench is used to generate photorealistic images of your models by processing them with an external renderer.

The Raytracing Workbench is used to generate photorealistic images of your models by processing them with an external renderer.

The Raytracing Workbench works with templates, which are project files that define a scene for your 3D model. You can place lights and geometry such as ground planes, and it also contains placeholders for the position of the camera, and for the material information of the objects in the scene. The project can then be exported to a ready-to-render file, or be rendered directly within FreeCAD.

Currently, two renderers are supported: POV-Ray and LuxRender. To be able to render from within FreeCAD, at least one of these programs must be installed and configured in your system. However, if no renderer is installed, you will still be able to export a project file to be rendered at another time.

The Raytracing workbench is obsolete, the external Render Workbench is its replacement. Nevertheless, the information on this page is generally useful for the new workbench, as both basically work in the same way.

전형적 워크플로

  1. Create or open a FreeCAD project, add some solid objects (Part-based or PartDesign-based); meshes are currently not supported.
  2. Create a Raytracing project (povray or luxrender).
  3. Select the objects that you wish to add to the Raytracing project and add them.
  4. Export the project file or render it directly.



Workflow of the Raytracing Workbench; the workbench prepares a project file from a given template, and then calls an external program to produce the actual rendering of the scene. The external renderer can be used independently of FreeCAD.

도구

Project 도구

These are the main tools for exporting your 3D work to external renderers.

  • New PovRay project: Insert new PovRay project in the document
  • New LuxRender project: Insert new LuxRender project in the document
  • Insert part: Insert a view of a Part in a raytracing project
  • Reset camera: Matches the camera position of a raytracing project to the current view
  • Export project: Exports a raytracing project to a scene file for rendering in an external renderer
  • Render: Renders a raytracing project with an external renderer

유틸리티

These are helper tools to perform specific tasks manually.

환경설정

  • Preferences: Preferences available in for the Raytracing tools.

자습서

수동으로 povray 파일 만들기

The utility tools described above allow you to export the current 3D view and all of its content to a Povray file. First, you must load or create your CAD data and position the 3D View orientation as you wish. Then choose "Utilities → Export View..." from the raytracing menu.

You will be asked for a location to save the resulting *.pov file. After that you can open it in Povray and render:

As usual in a renderer you can make big and nice pictures:

Scripting

See the Raytracing API example for information on writing scenes programmatically.

Links

POV-Ray

LuxRender

Future possible renderers to implement

Exporting to Kerkythea

Although direct export to the Kerkythea XML-File-Format is not supported yet, you can export your Objects as Mesh-Files (.obj) and then import them in Kerkythea.

  • if using Kerkythea for Linux, remember to install the WINE-Package (needed by Kerkythea for Linux to run)
  • you can convert your models with the help of the mesh workbench to meshes and then export these meshes as .obj-files
  • If your mesh-export resulted in errors (flip of normals, holes ...) you may try your luck with netfabb studio basic
Free for personal use, available for Windows, Linux and Mac OSX.
It has standard repair tools which will repair you model in most cases.
  • another good program for mesh analysing/repairing is Meshlab
Open Source, available for Windows, Linux and Mac OSX.
It has standard repair tools which will repair you model in most cases (fill holes, re-orient normals, etc.)
  • you can use "make compound" and then "make single copy" or you can fuse solids to group them before converting to meshes
  • remember to set in Kerkythea an import-factor of 0.001 for obj-modeler, since Kerkythea expects the obj-file to be in m (but standard units-scheme in FreeCAD is mm)
Within WIndows 7 64-bit Kerkythea does not seem to be able to save these settings.
So remember to do that each time you start Kerkythea
  • if importing multiple objects in Kerkythea you can use the "File → Merge" command in Kerkythea

Development

These pages refer to the new workbench, programmed in Python, meant to replace the current Raytracing Workbench.