realthunder / FreeCAD

Link branch FreeCAD
Other
779 stars 45 forks source link

Modernize model rendering #471

Open longmathemagician opened 3 years ago

longmathemagician commented 3 years ago

Apologies if this isn't the place for enhancement requests, with the shadowed view rendering mode realthunder added I believe this is the most appropriate place for this discussion.

Targets:

realthunder commented 3 years ago

Do you have experience on render development? I actually plan to work on that, but got delayed by other stuff. I am not going to use Coin3D for shaders. As the internal low level structure of Coin3D is quite outdated. Its high level stuff, like scene graph construction, navigation, save, restore are still relevant, and has a good design IMO.

So my plan is to keep the scene graph, construct the rendering list myself (already done in one of my branch), and then render using some other low level graphics library, such as this. It uses HLSL shader across all three platform. Scroll down on their github page to see their capability. It even has API for realtime raytracing, imagining that in FreeCAD.

MisterMakerNL commented 3 years ago

I started an issue on the Blender cycles stand alone page to get a windows build but apparently it already works in Linux and Mac. If you could make it so we can just turn Cycles on and off it would be awesome. I do prefer cycles since we can use the material database from cycles, and we can export it to Blender and do animation and more professional renders.