wmayer wrote: .
[solved] what does new 3D option "Transparent objects" do?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
[solved] what does new 3D option "Transparent objects" do?
git commit ea8d3bb2 implemented the new option "Transparent objects". What does this exactly do? (I want to describe it in the Wiki.)
Last edited by uwestoehr on Tue Apr 14, 2020 4:26 pm, edited 1 time in total.
Re: what does new 3D option "Transparent objects" do?
Thanks. I described this now in the Wiki so far but do not understand the following:
* where in FreeCAD do we have non-solid objects?
* what are "backfacing polygons"?
Re: what does new 3D option "Transparent objects" do?
I think lone faces or meshes are non-solid objects for example
I guess this are polygons whose back faces are visible by the user, like the black ones in the case of the issue #4285. But really I'm not sure.* what are "backfacing polygons"?
Re: what does new 3D option "Transparent objects" do?
At least faces, not sure whether sketches and wires should count as objects.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: what does new 3D option "Transparent objects" do?
But why do have faces (2D objects) have 2 different types of polygons that can be rendered in two passes?
For meshes what are the backfacing polygons? I think a mesh is a concatenation of polygons. So is maybe the direction of their normal vector the difference?
Re: what does new 3D option "Transparent objects" do?
I don't think they have 2 types of polygon. Just their back face is visible. And (I couldn't explain technically why, we're talking about a GL thing) it seems that rendering them in a one pass process can trigger artifacts (I don't know which ones, I never saw a single one).
That's it. For meshes the back faces are on the "negative side" according the normals.For meshes what are the backfacing polygons? I think a mesh is a concatenation of polygons. So is maybe the direction of their normal vector the difference?
Re: what does new 3D option "Transparent objects" do?
Here's an example generated with a transparent mesh cube (top face has been removed, but it doesn't change anything). Artifact is on bottom left of the cube in "one pass" and disappears in "two pass" mode.
HTH
HTH
Last edited by openBrain on Tue Apr 14, 2020 4:39 pm, edited 1 time in total.