shadows in the freecad viewport

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
obelisk79
Posts: 25
Joined: Thu Sep 24, 2020 9:01 pm

Re: shadows in the freecad viewport

Postby obelisk79 » Fri Oct 02, 2020 5:17 pm

I can confirm, using realthunder's fork of Coin3D resolved the problem.
User avatar
looo
Posts: 3482
Joined: Mon Nov 11, 2013 5:29 pm

Re: shadows in the freecad viewport

Postby looo » Sat Oct 03, 2020 12:03 pm

realthunder wrote:
Fri Oct 02, 2020 9:28 am
But the shader error is reported from within libCoin. It should work with my fork of coin.
obelisk79 wrote:
Fri Oct 02, 2020 5:17 pm
I can confirm, using realthunder's fork of Coin3D resolved the problem.
@realthunder, any plan to add a PR for coin with you changes? Having another coin-variant makes thinks really messy...
realthunder
Posts: 1817
Joined: Tue Jan 03, 2017 10:55 am

Re: shadows in the freecad viewport

Postby realthunder » Sat Oct 03, 2020 12:22 pm

looo wrote:
Sat Oct 03, 2020 12:03 pm
@realthunder, any plan to add a PR for coin with you changes? Having another coin-variant makes thinks really messy...
Most likely not. My changes are not general enough and does not solve the fundamental problems I have with the library. I am planning to keep using the official Coin3D for scene graphs, but rewrite the OpenGL rendering part. This will give us much more freedom to improve rendering performance and implement other advanced graphics effects. I am already halfway through.
Try Assembly3 (latest version 0.11) along with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
OficineRobotica
Posts: 340
Joined: Thu Feb 21, 2019 8:17 am

Re: shadows in the freecad viewport

Postby OficineRobotica » Tue Oct 06, 2020 3:51 am

realthunder wrote:
Sat Oct 03, 2020 12:22 pm
I am already halfway through.
Ha ha .....I knew it. I found it strange you were so silent lately :D . This is big for freecad yet again. You made a grown man happy lol.
User avatar
looo
Posts: 3482
Joined: Mon Nov 11, 2013 5:29 pm

Re: shadows in the freecad viewport

Postby looo » Tue Oct 06, 2020 7:01 am

realthunder wrote:
Sat Oct 03, 2020 12:22 pm
Most likely not. My changes are not general enough and does not solve the fundamental problems I have with the library. I am planning to keep using the official Coin3D for scene graphs, but rewrite the OpenGL rendering part. This will give us much more freedom to improve rendering performance and implement other advanced graphics effects. I am already halfway through.
great to hear this! I planned to add a realthunder-variant to the weekly conda-builds, but with another coin variant I think things will get a bit messy.