Photo-realistic rendering of FreeCAD models with CADRays
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
- kkremitzki
- Veteran
- Posts: 2518
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: Photo-realistic rendering of FreeCAD models with CADRays
Use of the : means you're trying to clone using SSH, which will always fail if that server is not set up with your public key. I don't think you have to sign the CLA in order to create an account and associate a key with it. Not that it matters now since the command to clone with HTTPS was posted earlier.
- OPEN CASCADE
- Posts: 3
- Joined: Tue Mar 14, 2017 2:27 pm
- Contact:
Re: Photo-realistic rendering of FreeCAD models with CADRays
Dear all,
Thanks a lot for your interest in CADRays source code!
And our apologies for the issue with Git, it has been fixed now.
The following URL syntax should be used for anonymous access to CADRays Git repository - pay attention that you specify "git" protocol explicitly rather than "ssh" etc.:
This syntax is absolutely valid - refer to https://git-scm.com/docs/git-pull#URLS, it explains the meaning of the URL part that follows a colon:
You DO NOT NEED to sign the CADRays CLA or submit an SSH public key in order to get read-only anonymous access to the source code.
You DO NEED to sign the CADRays CLA and submit an SSH public key as soon as you want to push your contributions to the repository.
We will document this in README.md in CADRays repository shortly.
Thanks a lot for your interest in CADRays source code!
And our apologies for the issue with Git, it has been fixed now.
The following URL syntax should be used for anonymous access to CADRays Git repository - pay attention that you specify "git" protocol explicitly rather than "ssh" etc.:
Code: Select all
git clone git://git.dev.opencascade.org/cadrays.git cadrays
i.e. it is a local path to a Git repository on a server, you can use a relative path with "ssh" protocol, while "git" protocol seems to require an absolute path starting with a leading slash and relative paths do not work for some reason.git://host.xz[:port]/path/to/repo.git/
You DO NOT NEED to sign the CADRays CLA or submit an SSH public key in order to get read-only anonymous access to the source code.
You DO NEED to sign the CADRays CLA and submit an SSH public key as soon as you want to push your contributions to the repository.
We will document this in README.md in CADRays repository shortly.
Re: Photo-realistic rendering of FreeCAD models with CADRays
Thanks for the fix, @OPEN CASCADE people!
Okay I was able to clone too!
At first sight all the dependencies are available on linux, so in theory it should be possible to compile there too.
The CMake step fails with debian-provided OCCT (it expects all OCCT, libs and includes, to be in one single folder apparently). I'll see if I can adapt...
Okay I was able to clone too!
At first sight all the dependencies are available on linux, so in theory it should be possible to compile there too.
The CMake step fails with debian-provided OCCT (it expects all OCCT, libs and includes, to be in one single folder apparently). I'll see if I can adapt...
- tanderson69
- Veteran
- Posts: 1626
- Joined: Thu Feb 18, 2010 1:07 am
Re: Photo-realistic rendering of FreeCAD models with CADRays
On a small experiment I did with the occ viewer and raytracing i could not get it working on linux. Most likely it was my limited graphics card that did not support the needed API for raytracing, but maybe it is a general linux issue? You should check that, there is a check in the occ API for the support of raytracing. Can't remember exactly how it was called...
Re: Photo-realistic rendering of FreeCAD models with CADRays
Ray-Tracing functionality in OCCT requires certain level of OpenGL features supported by driver.
Apart from this, there should be no restrictions specific to Linux as long as OpenGL driver is good enough,
here is screenshot with Mesa / llvmpipe in Ubuntu in VirtualBox:
Re: Photo-realistic rendering of FreeCAD models with CADRays
Sounds good. Which version of Ubuntu? Can you give us any tips, dependencies or cmake config etc. ?gkv311 wrote: ↑Mon Jul 29, 2019 4:14 pmRay-Tracing functionality in OCCT requires certain level of OpenGL features supported by driver.
Apart from this, there should be no restrictions specific to Linux as long as OpenGL driver is good enough,
here is screenshot with Mesa / llvmpipe in Ubuntu in VirtualBox:occt_linux_raytracing.png
Re: Photo-realistic rendering of FreeCAD models with CADRays
Clearly it could be very nice to have it "integrated" to FreeCAD.
I just tried it for the first time and it's very friendly and quick to use.
Desk designed on FreeCAD and rendered with cadrays:
(honestly I spend a lot more time learning cadrays and finding textures than designing the desk...)
I just tried it for the first time and it's very friendly and quick to use.
Desk designed on FreeCAD and rendered with cadrays:
(honestly I spend a lot more time learning cadrays and finding textures than designing the desk...)