Photo-realistic rendering of FreeCAD models with CADRays

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
User avatar
OPEN CASCADE
Posts: 2
Joined: Tue Mar 14, 2017 2:27 pm
Contact:

Photo-realistic rendering of FreeCAD models with CADRays

Postby OPEN CASCADE » Wed Mar 15, 2017 9:18 am

FreeCAD was created to design complex industrial CAD models.
For some FreeCAD users, it might be interesting to render their 3D models with photo-realistic quality fully interactively and spending minimum time on this.
For this purpose, OPEN CASCADE has announced a new free application named CADRays recently.
Those who are interested can have a look at it here: https://www.opencascade.com/content/cadrays
It will be interesting to see some nice renderings published in this topic.

opencascade_cadrays_engine_3.png
opencascade_cadrays_engine_3.png (978.45 KiB) Viewed 624 times
Last edited by OPEN CASCADE on Wed Mar 15, 2017 12:35 pm, edited 1 time in total.
User avatar
PrzemoF
Posts: 1715
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Photo-realistic rendering of FreeCAD models with CADRays

Postby PrzemoF » Wed Mar 15, 2017 10:14 am

Welcome to the forum OPEN CASCADE!

Thanks for sharing the link - it look interesting. Is there an API that we could use to interact with CADRAYS from FreeCAD? Are there any plans to have linux/mac versions?
duv
Posts: 11
Joined: Wed Mar 15, 2017 11:34 am
Contact:

Re: Photo-realistic rendering of FreeCAD models with CADRays

Postby duv » Wed Mar 15, 2017 11:46 am

Thanks for the interest!

Firstly, note that rendering core of CADRays integrated into OpenCASCADE Technology and FreeCAD could use it since FreeCAD already uses OCCT libraries.
Secondly, the CADRays scene consists of TCL script and .brep files (or PLY for meshes). It should be easy to export this kind of data from FreeCAD.

We are planing to release a Linux version in near future.
User avatar
PrzemoF
Posts: 1715
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Photo-realistic rendering of FreeCAD models with CADRays

Postby PrzemoF » Wed Mar 15, 2017 12:21 pm

Great, so it's even better than I thought! I thought it's possible with an external app only. It's beyond my sill level, but I'm sure will see photo realistic view port in FreeCAD at some stage :D
Jee-Bee
Posts: 630
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Photo-realistic rendering of FreeCAD models with CADRays

Postby Jee-Bee » Wed Mar 15, 2017 12:48 pm

Currious about the difference between povray and cadrays results...
maybe something for later :D
duv
Posts: 11
Joined: Wed Mar 15, 2017 11:34 am
Contact:

Re: Photo-realistic rendering of FreeCAD models with CADRays

Postby duv » Wed Mar 15, 2017 12:58 pm

CADRays is definitely faster, you can tune scene and materials interactively! Though, for now it has less features than POV-Ray.
Please take a look at the video: https://www.youtube.com/watch?v=D6_uGxmhuVk
denisb
Posts: 5
Joined: Wed Mar 15, 2017 1:08 pm

Re: Photo-realistic rendering of FreeCAD models with CADRays

Postby denisb » Wed Mar 15, 2017 1:12 pm

The key point is that CADRays performs all the computations on a GPU (both AMD and NVIDIA are supported), so it provides interactive path tracing. But, it means that you need discrete GPU in order to get the maximum from this technology.
User avatar
NormandC
Posts: 12294
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Photo-realistic rendering of FreeCAD models with CADRays

Postby NormandC » Thu Mar 16, 2017 2:28 am

This is really exciting! But what a bummer that the Linux version is not out yet. :( (Many of us FreeCAD users are on Linux)

denisb wrote:The key point is that CADRays performs all the computations on a GPU (both AMD and NVIDIA are supported), so it provides interactive path tracing. But, it means that you need discrete GPU in order to get the maximum from this technology.

So that's in real time like Luxion KeyShot and Bunkspeed Shot?

duv wrote:rendering core of CADRays integrated into OpenCASCADE Technology and FreeCAD could use it since FreeCAD already uses OCCT libraries.
Secondly, the CADRays scene consists of TCL script and .brep files (or PLY for meshes). It should be easy to export this kind of data from FreeCAD.

It's a pity you guys didn't release this 2 months ago when GSoC 2017 started, integration with FreeCAD could have been a nice project for a student. :D

Thanks for sharing this!
User avatar
r-frank
Posts: 2068
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Photo-realistic rendering of FreeCAD models with CADRays

Postby r-frank » Thu Mar 16, 2017 6:52 am

Thanks for sharing ...

Already registered and downloaded, looking forward to play around with it (hopefully upcoming weekend).

BTW: Since we need to install MS VS 2015 X64-version what about 32 bit users ?
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
duv
Posts: 11
Joined: Wed Mar 15, 2017 11:34 am
Contact:

Re: Photo-realistic rendering of FreeCAD models with CADRays

Postby duv » Thu Mar 16, 2017 7:24 am

NormandC wrote:This is really exciting! But what a bummer that the Linux version is not out yet. :( (Many of us FreeCAD users are on Linux)

CADRays is basically ported on Linux, it just lack some polish :) . So release of Linux version will definitely happen in near future.

NormandC wrote:So that's in real time like Luxion KeyShot and Bunkspeed Shot?

Yes, although as far as I remember, KeyShot performs simplified preview rendering in real time and starts from scratch for final rendering. CADRays always do final rendering progressively. Bunkspeed Shot seems to work only on NVIDIA cards since it based on IRay.

r-frank wrote:BTW: Since we need to install MS VS 2015 X64-version what about 32 bit users ?

We are not sure that there is a real demand on 32 bit version. It limits memory usage badly which is undesired for huge modern CAD models. If anyone really need it please post your request here and we will consider release of 32 bit version.