@icreatelife @fons_ai This is beautiful! I wish you got the gallery for it! But street gallery can be more fun 😀 Could you share the image resolution you had for such a large print?
@the_mantissa Gorgeous 😮 I love the mix of organic and digital and the music is cool too!
Can't wait to see your workflow, it's always very insightful!
Learning shadow mapping is tough. If you don't get it right away - grab a book! Real-Time Rendering helped me quite a bit.
Here is duck Bob with shadows. You may notice that part of the stand is in a shade, that's my bad.
Day 19:
https://t.co/2fCAQW3GM8
3. Plus for deeper understanding, an article mentioned in Day 18 of Metal - https://t.co/rlYMjfnSJA (quite technical about runtime type layout) by @UINT_MIN
3/3
Helpful resources if you struggle with memory layout arithmetic in Swift:
1. If you are confused about Size, Stride, Alignment, here’s a good explanation by @gregheo https://t.co/jI0aEb0BDA
1/3
The idea of proper alignment of types in memory buffers and at the same time proper alignment for hardware is something that doesn’t make much sense to me yet. Gotta read more on that. I'll post helpful resources later.
Day 18 directional light with Metal API
https://t.co/yHPlLsCV1O
I really loved this one - it was challenging, had to dig around a lot to settle concepts in my head, plus some nice light physics/math. Probably spent too much time on details, but it was really satisfying.
Keep in mind a lot of memory management is tricky here and some of the helper functions are not described in the article, but you can find them in GitHub code that is linked to the article. And even when I looked at helper funcs - it looked like magic.
While getting a model of Bob the duck from Keenan Crane, I discovered that @keenanisalive also has his Carnegie Mellon University video lectures available on Youtube for Computer Graphics class & Discrete Differential Geometry class! What a lucky day!
https://t.co/PYUjx0QjgT
2. I didn’t know anything about .mtl files (material) - but it turns out you can easily make .mtl and edit .obj to accept it using text editor - and voila! It worked. You can always, of course, use something like Blender to generate .mtl for you.
Day 17 of Metal - Assets
https://t.co/wk7tEoso3p
First time loading .obj into the scene. Got Bob the Duck from Keenan Crane's website, as recommended in the article.
Here are some issues I ran into going through Day17, in case you stumble on them too:
1. I ran into the problem at build stage: nonzero exit code. Turns out there was something about the texture png file that came with a model that Mac doesn't like - it had extended attributes that needed cleaning.
Day 16 of Metal, Textures - https://t.co/8dGGaaABIH
My first result was suspiciously sparkly. That turned out to be mipmapping - I needed to specify mipFilter for sampler descriptor.
Days 12 & 13 - Depth and MDLMesh (30 Days of Metal by Warren Moore)
It's fun to experiment with different coloring! especially when you know nothing about shaders 😋 Here are some renders - coloring based on depth info, normals & simple light simulation
@ozgr_shn It makes a very realistic theremin sound! I haven't tried the app and I can't tell from the video if there is a way to save the sound - it's always nice to record the sound to use it somewhere else like a DAW 🙂 Good luck with the app! Looks like a nice AR experience!