How do softwares like Sketchup handle rendering?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/GraphicsProgramming

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • nanovg

    Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.

    Probably the easiest would be to use a library like nanovg: https://github.com/memononen/nanovg

  • In general, I'm a big believer in immediate mode for 3D user interface elements. Before I worked at SketchUp, I did research into designing an immediate mode GUI library for VR applications. And many 3D applications use a similarly principled library called imgui for 2D graphics within their scenes.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • imgui

    Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

    In general, I'm a big believer in immediate mode for 3D user interface elements. Before I worked at SketchUp, I did research into designing an immediate mode GUI library for VR applications. And many 3D applications use a similarly principled library called imgui for 2D graphics within their scenes.

  • pathfinder

    A fast, practical GPU rasterizer for fonts and vector graphics

    Of course, converting lines into triangle strips is really the simplest case. If you are writing a brand-new 3D editing program today, you will probably want to include more complexly shaped "little helpers" alongside your 3D objects. You can obviously use prerendered textures (signed-distance or otherwise) but if you are interested in wild new rasterization techniques, I'd also look into something like the pathfinder project. Pathfinder has been used by Mozilla to render PDFs in XR apps and even ships with an immediate mode helper object like I've described above.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts