3 ms·
That’s a bit of a stretch (pun). You have metaballs/raymarch/csg. You used Raylib. You have cracked the surface (pun) but have still a ways to go before you hav
by reactordev 3y ago
That’s a bit of a stretch (pun). You have metaballs/raymarch/csg. You used Raylib. You have cracked the surface (pun) but have still a ways to go before you have a full 3D modeler. Still, the power of parametric modeling using csg techniques (Boolean operations) is its non-destructive nature. You can easy move the shapes to get different geometry. It’s super fun to play with.
I wrote a zbrush clone once, once is all I needed. I like that you explained the pipeline the way you did. You didn’t complicate things with terms like “geometry shaders” or “deferred pass” or “multistage”. Though I expected to see brush strokes and sculpting featured.
Don’t think I’m trying to discourage, on the contrary, we need more folks who know this stuff.
- cultofmetatron 3y agoI've been interesting in learning to make a paramtric kernel myself. any recommended books or websites I can go to?
- reactordev 3y agoCSG is the basis for most of this stuff. Constructive Solid Geometry. Once you have learned Direct Modeling (vertex buffer construction of arbitrary surface normals) then moving on to CSG is just a higher order of that. Geometry/Compute shaders are how most are doing it on modern pipelines and then passing the results to the rendering pipeline. The drivers for the surface are simple geometry shapes combined with Boolean operations in the CSG shader to end up with a solid geometry afterwards. If you can write a ray tracer, you can do CSG. The OP shows he knows it which is a huge step. Here’s some papers from my bookmark collection: https://www.cs.rpi.edu/~cutler/classes/advancedgraphics/S19/final_projects/audrey_lorelei.pdf https://www.cs.rpi.edu/~cutler/classes/advancedgraphics/S19/... https://medium.com/pragmatic-programmers/implementing-csg-6d4e88b84f7 https://medium.com/pragmatic-programmers/implementing-csg-6d... https://dspace.cvut.cz/bitstream/handle/10467/65282/F3-DP-2016-Karaffova-Marketa-Efektivni_sledovani_paprsku_v_CSG_modelech.pdf https://dspace.cvut.cz/bitstream/handle/10467/65282/F3-DP-20... https://thomaspietrzak.com/bibliography/gonzalez23.pdf https://thomaspietrzak.com/bibliography/gonzalez23.pdf https://nvpro-samples.github.io/vk_raytracing_tutorial_KHR/ https://nvpro-samples.github.io/vk_raytracing_tutorial_KHR/