3 comments

  • lesleylai9 hours ago
    I don&#x27;t know who posted it here. But this is not merged to the main website (it&#x27;s on the &quot;develop&quot; branch), and a lot of resources have not been added. I am still working on it.<p>Created an account just to say this
    • abetusk7 hours ago
      It was me. I saw your post from over at lobste.rs &quot;what are you doing this week&quot; [0]. I&#x27;ve had the tab open for a couple days and I thought people over here at HN would like it (and I was right).<p>Anyway, thanks for the resource. I&#x27;m sure people would be interested in the parent page, &quot;Graphics Programming Virtual Meetup&quot; as well:<p><a href="https:&#x2F;&#x2F;gpvm-website.netlify.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gpvm-website.netlify.app&#x2F;</a><p>[0] <a href="https:&#x2F;&#x2F;lobste.rs&#x2F;s&#x2F;dppelv&#x2F;what_are_you_doing_this_week" rel="nofollow">https:&#x2F;&#x2F;lobste.rs&#x2F;s&#x2F;dppelv&#x2F;what_are_you_doing_this_week</a>
    • mananaysiempre9 hours ago
      The link just below the title indicates it was submitted by &#x27;abetusk (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;user?id=abetusk">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;user?id=abetusk</a>).
  • Surac7 hours ago
    I had hoped for some more basic stuff. I struggle for 2 months now to implement a fast line draw with width for a embeed cpu. It only has a framebuffer no gpu
    • pjmlp6 hours ago
      The bible of graphics programming, everything with software rendering,<p>&quot;Computer Graphics: Principles and Practice&quot;<p><a href="https:&#x2F;&#x2F;www.informit.com&#x2F;store&#x2F;computer-graphics-principles-and-practice-9780321399526" rel="nofollow">https:&#x2F;&#x2F;www.informit.com&#x2F;store&#x2F;computer-graphics-principles-...</a><p>Yeah, it is a steep price as many academia books, maybe you can find it on a library nearby, as its first edition was in 1982.
    • jungojango4 hours ago
      I&#x27;ve used this one:<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;ArminJo&#x2F;8dc4e61847a693e99bdde919cc7005cc" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;ArminJo&#x2F;8dc4e61847a693e99bdde919cc70...</a>
    • abetusk6 hours ago
      <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bresenham%27s_line_algorithm" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bresenham%27s_line_algorithm</a>
    • xyzsparetimexyz5 hours ago
      Fast, thick lines, no gpu<p>Choose 2
    • socalgal25 hours ago
      It&#x27;s non-trival though not that hard. Have you asked an LLM?<p>It depends on your needs<p>* You can compute a rectangle by expanding a line purpendicular to its direction<p>The problem with this is you&#x27;ll get gaps between 2 lines if they are supposed to be connected. You can solve that by trying to connect the corners if the rectangles. Once you do this though you&#x27;re no longer drawing rectangles. You might have to make a simple triangle rasterizer. Or a scanline rasterizer<p>* You can &quot;drag a brush&quot;. You compute a single line, then at each pixel, draw a sprite&#x2F;circle&#x2F;rectangle around that pixel. That&#x27;s slow because you&#x27;ll draw every pixel more than once but it will work and might be fast enough<p>This has the issue with the ends will be different unless your brush is round. If that&#x27;s ok then it works.<p>All of these are something you can ask Gemini, ChatGPT, Claude, and they&#x27;ll spit out an exmaple in the language of your choice.
  • brcmthrowaway9 hours ago
    Nothing on volumetrics.
    • Boxxed1 minute ago
      Ok
    • longor19963 hours ago
      Well, do I ever have a treat for ya!<p><a href="https:&#x2F;&#x2F;voxel.wiki&#x2F;wiki&#x2F;references&#x2F;" rel="nofollow">https:&#x2F;&#x2F;voxel.wiki&#x2F;wiki&#x2F;references&#x2F;</a>