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

    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

    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
    #98

    I figured I needed some kind of glass shader

    jmovs@mastodon.socialJ stroughtonsmith@mastodon.socialS jeromedanthinne@mastodon.socialJ jaanus@iosdev.spaceJ 4 Replies Last reply
    0
    • arcticulate@toot.communityA arcticulate@toot.community

      @stroughtonsmith With your long-time experience and know-how about Apple’s SDKs, do you think the code it generated was high quality or did you need to make a lot of manual adjustments?

      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
      #99

      @Arcticulate the code is effectively indistinguishable from my own. I have made zero adjustments

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

        I figured I needed some kind of glass shader

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

        @stroughtonsmith I guess everything is ultimately converging towards a Salvador Dali painting? I want to see liquid clocks now! 😂

        1 Reply Last reply
        0
        • tsturm@famichiki.jpT tsturm@famichiki.jp

          @ankinson @stroughtonsmith And you learned something doing it.

          ankinson@mastodon.org.ukA This user is from outside of this forum
          ankinson@mastodon.org.ukA This user is from outside of this forum
          ankinson@mastodon.org.uk
          wrote last edited by
          #101

          @tsturm @stroughtonsmith Yes, of course. We had radically different goals though. Producing what Steve has in a day, even if it’s just a throw-away bit of fun, remains striking to me.

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

            I figured I needed some kind of glass shader

            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
            #102

            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

            stroughtonsmith@mastodon.socialS A 2 Replies Last reply
            0
            • 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

                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

                                        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

                                          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

                                          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