View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0001315 | FreeCAD | Feature | public | 2013-11-22 01:11 | 2013-12-22 22:21 | 
| Reporter | quick61 | Assigned To | yorik | ||
| Priority | low | Severity | feature | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Summary | 0001315: Add line to POV-Ray Camera to Set Automatic Aspect Ratio. | ||||
| Description | Would like to see a line added to the camera section of the FreeCAD generated POV-Ray script that would automatically set the cameras aspect ratio to the width / height,(+Wn +Hn) that is set by the user in the View > Preferences > Raytracing. This would be to great advantage to both novice and experienced users alike. The current script looks like this. - With the addition of one line, any width / height entered will render the target item without distortion. The camera section should be. -  | ||||
| Additional Information | This was tested rendering a FreeCAD part with 4:3, 16:9, 2.35:1 (cinema) and 1:1 aspect ratios on POV-RAY 3.7. The line of code "right x*image_width/image_height" was taken from an example given for POV-Ray 3.6, so it should be compatible with all modern installs. | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
| FreeCAD: master 16334039 2013-12-22 23:18:19Details Diff | Raytracing: Added aspect ratio to POV output - fixes 0001315 | Affected Issues 0001315 | |
| mod - src/Mod/Raytracing/App/PovTools.cpp | Diff File | ||
| mod - src/Mod/Raytracing/App/PovTools.h | Diff File | ||
| mod - src/Mod/Raytracing/Gui/AppRaytracingGuiPy.cpp | Diff File | ||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2013-11-22 01:11 | quick61 | New Issue | |
| 2013-11-22 16:04 | yorik | Assigned To | => yorik | 
| 2013-11-22 16:04 | yorik | Status | new => assigned | 
| 2013-12-22 22:21 | yorik | Changeset attached | => FreeCAD Master master 16334039 | 
| 2013-12-22 22:21 | yorik | Status | assigned => closed | 
| 2013-12-22 22:21 | yorik | Resolution | open => fixed | 
 FreeCAD
 FreeCAD