Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Back at it

Back at it

Scheduled Pinned Locked Moved Uncategorized
234 Posts 70 Posters 284 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

    I figured I needed some kind of glass shader

    jeromedanthinne@mastodon.socialJ This user is from outside of this forum
    jeromedanthinne@mastodon.socialJ This user is from outside of this forum
    jeromedanthinne@mastodon.social
    wrote last edited by
    #103

    @stroughtonsmith Water… then glass… oh I see now, all that work to recreate Liquid Glass 😁.

    1 Reply Last reply
    0
    • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

      The thing about material shaders is I don't quite know the right questions to ask — the unknown unknowns. Am I taking into account the right refraction, internal reflection, attenuated shadows, etc. Why is this too bright, why is this too dark. You can tell from these examples where things are obviously wrong, and it takes quite a bit of iteration

      Link Preview ImageLink Preview Image
      stroughtonsmith@mastodon.socialS This user is from outside of this forum
      stroughtonsmith@mastodon.socialS This user is from outside of this forum
      stroughtonsmith@mastodon.social
      wrote last edited by
      #104

      'Attenuated shadows'

      A little better

      Link Preview Image
      stroughtonsmith@mastodon.socialS 1 Reply Last reply
      0
      • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

        'Attenuated shadows'

        A little better

        Link Preview Image
        stroughtonsmith@mastodon.socialS This user is from outside of this forum
        stroughtonsmith@mastodon.socialS This user is from outside of this forum
        stroughtonsmith@mastodon.social
        wrote last edited by
        #105

        Maybe I should have bought a faster Mac before trying to write a raytracer…

        stroughtonsmith@mastodon.socialS berndgoldschmidt@mastodon.socialB 2 Replies Last reply
        0
        • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

          Recap: I vibecoded (code unseen, no plan) a 3D editor/renderer that has a scene graph, editing controls, primitives and gizmos, materials, procedural terrain and water, and hardware-accelerated Metal raytracing with soft shadows, clouds and bounce lighting, that runs on Mac and iPad.

          Tool: Codex 5.3 Medium
          Time: About a day's worth of work has gone into it

          marcoponton@mastodon.socialM This user is from outside of this forum
          marcoponton@mastodon.socialM This user is from outside of this forum
          marcoponton@mastodon.social
          wrote last edited by
          #106

          @stroughtonsmith I was always impressed by your skills to go from idea to PoC to shipping, but this is next level. I need my own project now to try this tech to its fullest. I work in a large enterprise where AI means Microsoft Copilot. I tried Claude on a smaller personal project and was impressed but never thought you could vibe-code a working 3D app in less than 24 hrs.

          1 Reply Last reply
          0
          • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

            Maybe I should have bought a faster Mac before trying to write a raytracer…

            stroughtonsmith@mastodon.socialS This user is from outside of this forum
            stroughtonsmith@mastodon.socialS This user is from outside of this forum
            stroughtonsmith@mastodon.social
            wrote last edited by
            #107

            Trying not to fry my GPU with caustics, but Metal isn't happy

            finnvoorhees@mastodon.socialF dgriffinjones@tech.lgbtD callin@hachyderm.ioC stroughtonsmith@mastodon.socialS 4 Replies Last reply
            0
            • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

              Trying not to fry my GPU with caustics, but Metal isn't happy

              finnvoorhees@mastodon.socialF This user is from outside of this forum
              finnvoorhees@mastodon.socialF This user is from outside of this forum
              finnvoorhees@mastodon.social
              wrote last edited by
              #108

              @stroughtonsmith have you considered rendering at a smaller scale and using MetalFX to upscale? they even have a denoising upscaler now, seems like it was pretty much designed for exactly this

              stroughtonsmith@mastodon.socialS 1 Reply Last reply
              0
              • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                Trying not to fry my GPU with caustics, but Metal isn't happy

                dgriffinjones@tech.lgbtD This user is from outside of this forum
                dgriffinjones@tech.lgbtD This user is from outside of this forum
                dgriffinjones@tech.lgbt
                wrote last edited by
                #109

                @stroughtonsmith Say, could you make a benchmarking mode in it? I’d love to be able to speed test ML and graphics performance between my M2 Pro Mac mini against the MacBook Neo next week 👀

                stroughtonsmith@mastodon.socialS 1 Reply Last reply
                0
                • finnvoorhees@mastodon.socialF finnvoorhees@mastodon.social

                  @stroughtonsmith have you considered rendering at a smaller scale and using MetalFX to upscale? they even have a denoising upscaler now, seems like it was pretty much designed for exactly this

                  stroughtonsmith@mastodon.socialS This user is from outside of this forum
                  stroughtonsmith@mastodon.socialS This user is from outside of this forum
                  stroughtonsmith@mastodon.social
                  wrote last edited by
                  #110

                  @finnvoorhees I'm already using the metalfx denoiser after every pass, but I want to render out high res images, not just upsampled ones

                  1 Reply Last reply
                  0
                  • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                    Trying not to fry my GPU with caustics, but Metal isn't happy

                    callin@hachyderm.ioC This user is from outside of this forum
                    callin@hachyderm.ioC This user is from outside of this forum
                    callin@hachyderm.io
                    wrote last edited by
                    #111

                    @stroughtonsmith Did you see Glaze from Raycast? https://www.glazeapp.com/

                    1 Reply Last reply
                    0
                    • dgriffinjones@tech.lgbtD dgriffinjones@tech.lgbt

                      @stroughtonsmith Say, could you make a benchmarking mode in it? I’d love to be able to speed test ML and graphics performance between my M2 Pro Mac mini against the MacBook Neo next week 👀

                      stroughtonsmith@mastodon.socialS This user is from outside of this forum
                      stroughtonsmith@mastodon.socialS This user is from outside of this forum
                      stroughtonsmith@mastodon.social
                      wrote last edited by
                      #112

                      @dgriffinjones I don't think it's stable enough for me to be able to do that. I have to baby the renderer a bit to get good results. Also I don't know yet if my performance is gated on me rather than the hardware!

                      dgriffinjones@tech.lgbtD 1 Reply Last reply
                      0
                      • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                        @dgriffinjones I don't think it's stable enough for me to be able to do that. I have to baby the renderer a bit to get good results. Also I don't know yet if my performance is gated on me rather than the hardware!

                        dgriffinjones@tech.lgbtD This user is from outside of this forum
                        dgriffinjones@tech.lgbtD This user is from outside of this forum
                        dgriffinjones@tech.lgbt
                        wrote last edited by
                        #113

                        @stroughtonsmith Fair enough!

                        1 Reply Last reply
                        0
                        • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                          Trying not to fry my GPU with caustics, but Metal isn't happy

                          stroughtonsmith@mastodon.socialS This user is from outside of this forum
                          stroughtonsmith@mastodon.socialS This user is from outside of this forum
                          stroughtonsmith@mastodon.social
                          wrote last edited by
                          #114

                          I was sitting through hour-long renders (!) on my iPad yesterday, so I did an optimization pass on the hardware acceleration and it's much, much improved for simpler scenes, even on an M1

                          matcha06@mastodon.socialM stroughtonsmith@mastodon.socialS 2 Replies Last reply
                          0
                          • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                            I was sitting through hour-long renders (!) on my iPad yesterday, so I did an optimization pass on the hardware acceleration and it's much, much improved for simpler scenes, even on an M1

                            matcha06@mastodon.socialM This user is from outside of this forum
                            matcha06@mastodon.socialM This user is from outside of this forum
                            matcha06@mastodon.social
                            wrote last edited by
                            #115

                            @stroughtonsmith Thank goodness this project has been years in the making or else i would be mad at the efficiency and rapid development.

                            1 Reply Last reply
                            0
                            • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                              I was sitting through hour-long renders (!) on my iPad yesterday, so I did an optimization pass on the hardware acceleration and it's much, much improved for simpler scenes, even on an M1

                              stroughtonsmith@mastodon.socialS This user is from outside of this forum
                              stroughtonsmith@mastodon.socialS This user is from outside of this forum
                              stroughtonsmith@mastodon.social
                              wrote last edited by
                              #116

                              While this raytracer may never become a finished app, there are certainly elements from it I intend to yoink for future projects — like the really neat toolbars that go around all the screen edges, they would fit into a complex pro app very nicely

                              Link Preview Image
                              stroughtonsmith@mastodon.socialS T 2 Replies Last reply
                              0
                              • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                While this raytracer may never become a finished app, there are certainly elements from it I intend to yoink for future projects — like the really neat toolbars that go around all the screen edges, they would fit into a complex pro app very nicely

                                Link Preview Image
                                stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                stroughtonsmith@mastodon.social
                                wrote last edited by
                                #117

                                Just casually building and raytracing a scene on an iPad mini 6, nbd

                                Link Preview Image
                                stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                0
                                • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                  Maybe I should have bought a faster Mac before trying to write a raytracer…

                                  berndgoldschmidt@mastodon.socialB This user is from outside of this forum
                                  berndgoldschmidt@mastodon.socialB This user is from outside of this forum
                                  berndgoldschmidt@mastodon.social
                                  wrote last edited by
                                  #118

                                  @stroughtonsmith Add a feature to use all the macs in the network as a render farm 😁

                                  stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                  0
                                  • berndgoldschmidt@mastodon.socialB berndgoldschmidt@mastodon.social

                                    @stroughtonsmith Add a feature to use all the macs in the network as a render farm 😁

                                    stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                    stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                    stroughtonsmith@mastodon.social
                                    wrote last edited by
                                    #119

                                    @BerndGoldschmidt XSan support? 😜

                                    1 Reply Last reply
                                    0
                                    • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                      Just casually building and raytracing a scene on an iPad mini 6, nbd

                                      Link Preview Image
                                      stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                      stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                      stroughtonsmith@mastodon.social
                                      wrote last edited by
                                      #120

                                      Of course it runs on iPhone, what do you take me for?

                                      Link Preview ImageLink Preview ImageLink Preview ImageLink Preview Image
                                      stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                      0
                                      • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                        The thing about material shaders is I don't quite know the right questions to ask — the unknown unknowns. Am I taking into account the right refraction, internal reflection, attenuated shadows, etc. Why is this too bright, why is this too dark. You can tell from these examples where things are obviously wrong, and it takes quite a bit of iteration

                                        Link Preview ImageLink Preview Image
                                        A This user is from outside of this forum
                                        A This user is from outside of this forum
                                        alpacheez@social.bitsnbytes.dev
                                        wrote last edited by
                                        #121

                                        @stroughtonsmith a few things to look into that have to due with light interacting with objects: Rayleigh Scattering, Mie scattering, Kubelka-Munk scattering and absorption model, Saunderson correction to said K-M model. I have no clue if these are ever used in a typical ray tracing algorithm, but they come up when discussing the color development of coatings. My understanding of typical ray tracing is that it follows Snell's Law but I don't know beyond that.

                                        1 Reply Last reply
                                        0
                                        • stroughtonsmith@mastodon.socialS stroughtonsmith@mastodon.social

                                          Of course it runs on iPhone, what do you take me for?

                                          Link Preview ImageLink Preview ImageLink Preview ImageLink Preview Image
                                          stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                          stroughtonsmith@mastodon.socialS This user is from outside of this forum
                                          stroughtonsmith@mastodon.social
                                          wrote last edited by
                                          #122

                                          Liquid, Glass

                                          Link Preview Image
                                          stroughtonsmith@mastodon.socialS 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups