I forgot, it can be, that POV-Ray previews the transparent parts as black, but in the resulting image file everything will be right.The_Raytracers wrote: ↑Thu Oct 22, 2020 4:02 pm If you want to create a transparent background, you have to disable the export of the background/environment in the Environment tab and add theoption in the workbench settings (after +A +P).Code: Select all
+UA
New Raytracing Workbench: POV-Ray-Rendering
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 46
- Joined: Tue Jul 14, 2020 4:05 pm
Re: New Raytracing Workbench for POV-Ray
- bavariaSHAPE
- Posts: 406
- Joined: Tue Jun 10, 2014 8:31 am
- Contact:
Re: New Raytracing Workbench for POV-Ray
Hallo The_Raytracers,The_Raytracers wrote: ↑Thu Oct 22, 2020 4:02 pm …
Probably, the preview is annyoing for you, you can disable it by checking the "Disable Live Preview" checkbox, then POV-Ray shouldn't open anymore if you change something. I attached a screenshot. You have to do this also in the Environment tab if you change things there.
Greetings
The_Raytracers
That was the point: "Disable Live review". Now it works fine. The multiple windows no longer open when I change the textures.
This weekend I will test more.
Thanks
… for a happy FreeCAD-World … JM2C …
-
- Posts: 46
- Joined: Tue Jul 14, 2020 4:05 pm
Re: New Raytracing Workbench for POV-Ray
Hm, now it is a bit unpractical to choose the right texture in Windows. What do you think about an improved list of textures like in the screenshot? That would give you at least a foreshadow of the texture.bavariaSHAPE wrote: ↑Thu Oct 22, 2020 6:35 pm That was the point: "Disable Live review". Now it works fine.
- Attachments
-
- textureTab.png (89.44 KiB) Viewed 5608 times
- bavariaSHAPE
- Posts: 406
- Joined: Tue Jun 10, 2014 8:31 am
- Contact:
Re: New Raytracing Workbench for POV-Ray
That sounds really good. I hope it is not too much effort.The_Raytracers wrote: ↑Sat Oct 24, 2020 5:00 pmHm, now it is a bit unpractical to choose the right texture in Windows. What do you think about an improved list of textures like in the screenshot? That would give you at least a foreshadow of the texture.bavariaSHAPE wrote: ↑Thu Oct 22, 2020 6:35 pm That was the point: "Disable Live review". Now it works fine.
… for a happy FreeCAD-World … JM2C …
- dcapeletti
- Posts: 504
- Joined: Wed Jul 23, 2014 2:27 pm
Re: New Raytracing Workbench for POV-Ray
Hello, I try to do the next rendering of the next project but the next error is thrown. See video https://exode.me/videos/watch/3bf9f1b7- ... 03d92b76a5
OS: Debian GNU/Linux 9 (stretch) (GNOME/default)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22756 (Git) AppImage
Build type: Release
Branch: master
Hash: ce87f586ee36ffe8ebcdcd3947ced4ab389ae795
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Spanish/Argentina (es_AR)
Code: Select all
10:08:48 PovRay.Activated()
10:08:49 Could not open ini file
10:08:51 Path to *.pov File: /home/dcapeletti/Escritorio/test/Test.pov
1 parent objects found in highest layer
containing totally 12 objects
Your model contains 10 objects which aren't supported (will be represented as mesh).
Perspective Camera
10:08:52 Traceback (most recent call last):
10:08:52 File "/home/dcapeletti/.FreeCAD/Mod/exporttopovray/Dialog.py", line 245, in onOk
10:08:52 self.exporter.initExport(self.renderSettings)
10:08:52 File "/home/dcapeletti/.FreeCAD/Mod/exporttopovray/Exporter.py", line 136, in initExport
10:08:52 self.startExport() #start the export
10:08:52 File "/home/dcapeletti/.FreeCAD/Mod/exporttopovray/Exporter.py", line 160, in startExport
10:08:52 objPovCode += self.createPovCode(obj, True, True, True, True, True, True)
10:08:52 File "/home/dcapeletti/.FreeCAD/Mod/exporttopovray/Exporter.py", line 578, in createPovCode
10:08:52 if not self.isBodySupported(fcObj):
10:08:52 File "/home/dcapeletti/.FreeCAD/Mod/exporttopovray/Exporter.py", line 941, in isBodySupported
10:08:52 if not self.isSketchSupported(sketch):
10:08:52 File "/home/dcapeletti/.FreeCAD/Mod/exporttopovray/Exporter.py", line 998, in isSketchSupported
10:08:52 supportedGeometryTypes = [Part.LineSegment, Part.Circle, Part.Point, Part.ArcOfCircle]
10:08:52 AttributeError: type object 'App.Part' has no attribute 'LineSegment'
OS: Debian GNU/Linux 9 (stretch) (GNOME/default)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22756 (Git) AppImage
Build type: Release
Branch: master
Hash: ce87f586ee36ffe8ebcdcd3947ced4ab389ae795
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Spanish/Argentina (es_AR)
- Attachments
-
- test.ini
- (367 Bytes) Downloaded 98 times
-
- Test.FCStd
- (20.78 KiB) Downloaded 104 times
-
- Test.ini
- (351 Bytes) Downloaded 109 times
-
- Posts: 46
- Joined: Tue Jul 14, 2020 4:05 pm
Re: New Raytracing Workbench for POV-Ray
Should be fixed now Is on the repo, master branch.
Was an error with importing Part. I don't really know where the difference between
Code: Select all
from FreeCAD import Part
Code: Select all
import Part
Greetings
-
- Posts: 46
- Joined: Tue Jul 14, 2020 4:05 pm
Re: New Raytracing Workbench for POV-Ray
Now it's done, even it was more complicated than I thoughtbavariaSHAPE wrote: ↑Sat Oct 24, 2020 5:36 pm That sounds really good. I hope it is not too much effort.
It is not on master branch already, because I think, more testing is needed before it is merged to master. If anyone wants to test, you can download it, I would very appreciate any feedback In addition I added nearly 100 new textures! Huge thanks also to f-lohmueller.de for this great POV-Ray site, I used a lot of textures from there.
Download:
https://gitlab.com/usbhub/exporttopovra ... Thumbnails
- Attachments
-
- thumbnails.png (78.01 KiB) Viewed 5359 times
-
- Posts: 46
- Joined: Tue Jul 14, 2020 4:05 pm
Re: New Raytracing Workbench for POV-Ray
I made the top categories bold to improve the clarity. In addition I fixed a small bug. A screenshot of the new categories is attached.
What do you think?
Greetings
The_Raytracers
What do you think?
Greetings
The_Raytracers
- Attachments
-
- boldCategories.png (47.39 KiB) Viewed 5270 times
Re: New Raytracing Workbench for POV-Ray
Looks very nice, easy to choose now.The_Raytracers wrote: ↑Wed Oct 28, 2020 4:23 pm Download:
https://gitlab.com/usbhub/exporttopovra ... Thumbnails
Thank you for all your hard work, it is appreciated.
I am a refugee from Fusion 360. Switched over to FreeCAD and am spreading the word. After years of very little progress I switched again to another solution. I wish you all the best!
-
- Posts: 46
- Joined: Tue Jul 14, 2020 4:05 pm
Re: New Raytracing Workbench for POV-Ray
Thanks, the branch is now merged into master, so the thumbnails are delivered with the standard master version. I also updated the GIF in the opening post, so that everyone can see it there too.
We have now also access to the Wiki, so we hope to get in the Addon Manager soon, so that the installation and updates are easier to do.
Greetings
The_Raytracers