teepee changed the topic of #openscad to: OpenSCAD - The Programmers Solid 3D CAD Modeller | This channel is logged! | Website: http://www.openscad.org/ | FAQ: https://goo.gl/pcT7y3 | Request features / report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://bit.ly/32MfbH5
peepsalot has quit [Ping timeout: 265 seconds]
J23k71 has joined #openscad
J23k11 has quit [Ping timeout: 245 seconds]
SamantazFox has quit [Ping timeout: 240 seconds]
SamantazFox has joined #openscad
use-value has joined #openscad
LordOfBikes has quit [Ping timeout: 240 seconds]
mmu_man has quit [Ping timeout: 250 seconds]
LordOfBikes has joined #openscad
linext has joined #openscad
use-value has quit [Ping timeout: 250 seconds]
use-value has joined #openscad
use-value has quit [Remote host closed the connection]
use-value has joined #openscad
paddymahoney has quit [Remote host closed the connection]
paddymahoney has joined #openscad
RichardPotthoff has quit [Ping timeout: 268 seconds]
srk has quit [Remote host closed the connection]
srk has joined #openscad
mmu_man has joined #openscad
hisacro has quit [Ping timeout: 240 seconds]
hisacro has joined #openscad
mmu_man has quit [Ping timeout: 250 seconds]
teepee_ has joined #openscad
J23k71 has quit [Ping timeout: 245 seconds]
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
mmu_man has joined #openscad
feuerrot has quit [Ping timeout: 265 seconds]
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 265 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 250 seconds]
mmu_man has joined #openscad
<gbruno> [github] tiredtait opened issue #4662 (error while compiling with cgal) https://github.com/openscad/openscad/issues/4662
mmu_man has quit [Ping timeout: 246 seconds]
mmu_man has joined #openscad
feuerrot has joined #openscad
snaked has quit [Quit: Leaving]
TheCoffeMaker has quit [Ping timeout: 240 seconds]
TheCoffeMaker has joined #openscad
TheCoffeMaker has quit [Ping timeout: 246 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
mmu_man has quit [Ping timeout: 246 seconds]
TheCoffeMaker has joined #openscad
Sauvin has quit [Ping timeout: 265 seconds]
guso78 has quit [Quit: Client closed]
le__ka has joined #openscad
craftmaster1231 has joined #openscad
use-value has quit [Remote host closed the connection]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 265 seconds]
mmu_man has joined #openscad
<gbruno> [github] thehans edited issue #4662 (error while compiling with cgal) https://github.com/openscad/openscad/issues/4662
siege has quit [Quit: Ping timeout: -1 seconds]
siege has joined #openscad
srk has quit [Quit: ZNC 1.8.1 - https://znc.in]
sauce has quit [Remote host closed the connection]
srk has joined #openscad
dTal has quit [Remote host closed the connection]
sauce has joined #openscad
dTal has joined #openscad
mmu_man has quit [Ping timeout: 240 seconds]
craftmaster1231 has quit [Quit: Connection closed]
mmu_man has joined #openscad
J23k has joined #openscad
peepsalot has joined #openscad
guso78 has joined #openscad
le__ka has quit [Quit: Leaving]
use-value has joined #openscad
<gbruno> [github] craftmaster1231 review_requested pull request #4637 (For QtCreator to show files. ) https://github.com/openscad/openscad/pull/4637
epony has joined #openscad
guso78 has quit [Quit: Client closed]
guso78 has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
<gbruno> [github] kintel pushed 1 modifications (For QtCreator to show files. (#4637)) https://github.com/openscad/openscad/commit/48f159d739fcb8c536b9961acc92f3fbc4c87b63
<gbruno> [github] kintel closed pull request #4637 (For QtCreator to show files. ) https://github.com/openscad/openscad/pull/4637
J23k has quit [Quit: Client closed]
J23k has joined #openscad
guso78 has quit [Quit: Client closed]
<joseph_> teepee kintel: I've been tracing the rendering code and have consolidated some questions that will guide my refactoring. I'll send them below.
<joseph_> 1. I'm a little unclear on the overall purpose/effect of the ENABLE_OPENCSG macro. If it's disabled, then most of OpenCSGRenderer is not implemented.
<joseph_> 2. CGALRenderer handles a lot of data types for the input geometry. Is there a source summarizing when all of these are encountered? It can get confusing because there could be a PolySet, or multiple types of polyhedrons: CGAL_Nef, OGL, or OGL_VBO. Plus, 2D and 3D are rendered differently. I might need to figure this out on my own from the code that's there, because it seems to have been written by obliviand.
fling has quit [Ping timeout: 240 seconds]
fling has joined #openscad
<joseph_> 3. How does the following top-level proposal sound? Two new classes are created called something like PreviewRenderer and FinalRenderer, as drop-in replacements for OpenCSGRenderer and CGALRenderer, respectively. I would move all the existing VBO rendering code into the new classes, leaving only the fixed-function calls behind in OpenCSGRenderer and CGALRenderer. Then the process of choosing legacy or modern OpenGL will just be a
<joseph_> matter of changing which class is instantiated (and for the time being this could happen at runtime). A preprocessor macro called something like DISABLE_LEGACY_RENDERING could fully deactivate OpenCSGRenderer and CGALRenderer, allowing the use of newer OpenGL versions in the future.
niyawe has quit [Quit: No Ping reply in 180 seconds.]
Digit has quit [Remote host closed the connection]
Digit has joined #openscad
niyawe has joined #openscad
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon has joined #openscad
<peeps[zen]> joseph_: regarding ENABLE_OPENCSG, most dependencies have a way to disable in the build process, so for example you could create a headless version which only spits out stl etc. and no graphics capabilities
<peeps[zen]> it allows for greater flexibility of use-cases. like I'm pretty sure the recent WASM projects aren't including it