@ryanslikesocool@mastodon.social
@ryanslikesocool@mastodon.social avatar

ryanslikesocool

@ryanslikesocool@mastodon.social

🏳️‍🌈 any pronouns
✨ developer extraordinaire

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Nifflas, to random
@Nifflas@mastodon.gamedev.place avatar

Good news, everyone! Ynglet has found a new home with Akupara Games, and obviously I'm involved and helping out too!

https://www.youtube.com/watch?v=7APRAW7hA4Y

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@Nifflas does this open up the possibility for more ports? i’d love to see Ynglet on the Switch

Nifflas, (edited ) to random
@Nifflas@mastodon.gamedev.place avatar

Best superpower? A new highly efficient energy source is discovered.

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@Nifflas i need clarification:
dreams like when you sleep? or 5 year olds wanting to be an astronaut when they grow up?

Nifflas, to random
@Nifflas@mastodon.gamedev.place avatar

My favorite esolangs:

Brainfuck (a classic)
HTML, The Programming Language (html-lang.org)
Malbolge (so hard it's near impossible to program in)
Piet (when you want code to truly be art)
Regex (the oldest esolang, a prank 74 years in the making, weirdly well supported)

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@Nifflas learning that Regex is 74 years old at 3:35 am on a saturday has got me all kinds of messed up

Nifflas, (edited ) to random
@Nifflas@mastodon.gamedev.place avatar

Best superpower? We're having a friendly debate whether DMs or gifs, or polls would be the best new feature on bluesky.

obvs it's polls, but which is more important between DMs and gifs?

I'm including polls as an option, but please don't vote it. Since everyone agrees the answer is polls, it'd get 100% of the votes if it did, and the results wouldn't be interesting.

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@Nifflas i feel like gifs is kind of a requirement for any social media platform? do they not have video either or something?

csilverman, to random
@csilverman@mastodon.social avatar

Curious to see how people interpret this pattern. Is the switch on or off?

(I would have done a poll, but apparently you can't have an image and a poll in the same post.)

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@csilverman i think the switch is on, but i also think the context of wherever this might be is important (what’s the accent color of the app/website, etc)

Nifflas, to random
@Nifflas@mastodon.gamedev.place avatar

Looking for a lot of words that expresses that something is cool. Like, "Awesome", "Groovy", "Cowabunga". It doesn't matter how made-up or weird, or obscure. I'm gonna need like a hundred of them!

Feel free to suggest any, together with a number indicating the coolness (1 = ok, 3 = Great!, 5 = THAT'S AWESOME, 10 = INFINITY COOL)

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@Nifflas oddly enough i already have a list of words like this 😅 my criteria may be a bit different than yours though (and visual styling is everything!)
1 - good
2 - great
3 - super
5 - awesome
5 - incredible
5 - excellent
7 - fantastic
9 - outstanding
9 - amazing
9 - superb
10 - wonderful
10 - unbelievable
10 - impossible

Nifflas, to random
@Nifflas@mastodon.gamedev.place avatar
ryanslikesocool,
@ryanslikesocool@mastodon.social avatar
Nifflas, to random
@Nifflas@mastodon.gamedev.place avatar

Unity question! I'm looking for alternatives to Color.Lerp that doesn't interpolate through RGB, but HSL, HSV, and other color representation spaces.

I can ofc write my own code, but this is a thing that there's already code for, I'd rather just copy that into my project.

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@efi @Nifflas +1 to this. i did the same thing a year or two ago in Swift and you really just have to translate between color models.
there's a bunch of formulas here that i used that are pretty easy to translate https://www.easyrgb.com/en/math.php

simonbs, to random
@simonbs@mastodon.social avatar

Throwback to this day 13 years ago where I was cool AF.

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs it still is

ryanslikesocool, to swift
@ryanslikesocool@mastodon.social avatar

just released MoreWindows on GitHub :)
additional Scene types for SwiftUI apps on macOS

https://github.com/ryanslikesocool/MoreWindows

Nifflas, to random
@Nifflas@mastodon.gamedev.place avatar

Hot take: cozy horror is good. I like cozy horror!

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@Nifflas what does cozy horror entail? only thing that vaguely comes to mind is something like Cult of the Lamb

simonbs, to random
@simonbs@mastodon.social avatar

Gotta love how Reality Composer Pro and visionOS don't render a model the same way 😑

Screenshot of visionOS rendering a model with several glitches.

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs aw man D: sorry it didn't work

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs what was causing the issue before? compression artifacts or something?

simonbs, to random
@simonbs@mastodon.social avatar

Anyone know if it's possible to apply a geometry modifier to a cylinder in order to offset the Y-position of the top only?

Here's what I have so far with and without my geometry modifier. This creates a gap in the cylinder that I don’t want. I'd like to apply different Y-offsets and have the sides follow along.

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs if you use the same texcoords (or however you're mapping vertices to the map) on the top edge of the side as you do on the top, your geometry modifier should "just work"

ryanslikesocool, (edited )
@ryanslikesocool@mastodon.social avatar

@simonbs here's something i whipped up real quick. i dont have a map texture so im just using some noise. i ended up using two texcoords. one to handle the actual texture and one to handle the height "weight" (to keep the bottom flat). the shader is Unity's shader graph, which is similar to Reality Compose Pro's editor iirc

ryanslikesocool, (edited )
@ryanslikesocool@mastodon.social avatar

@simonbs yeah i found RCP to be a little different from what im used to. names aren't what i expect or think to search for, and implicit types dont "just work". i was in a rush last time and wasn't thinking, so i suggested using 2 custom UVs. you can actually do it with 0 if you substitute the texcoords with the vertex positions. i ended up recreating the effect in RCP, show in the attached screenshot

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs hit the character limit but the mesh is similar to before, but no texcoords, and the y positions range from 0 to 1

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs yeah i tried with RCP's default cylinder mesh and it's just not dense enough.

regarding color: yes you can. i used the Step node here with a value very close to, but not equal to 1

note how i passed the original Y position into the GeometryModifier. if you try to access it from the fragment stage, it will only give you the transformed value.

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs no problem! i find this kind of thing a lot of fun :)

not 100% sure why your shader isn't working, as i dont know what's going on in that subgraph, but here's some ideas:

  • i'm substituting the height weight uv from a few days ago with the vertex Y position, with values at either 0 or 1
  • Blender is Z-up, while RK is Y-up, so i rotated my model in Blender (and applied transformations) before exporting.
simonbs, to random
@simonbs@mastodon.social avatar

Any shader experts out there? 😄

Is there a way for a node in the Shader Graph in Reality Composer Pro to find the minimum value of all values passing through? I’m using a geometry modifier to adjust the geometry of my model based on a height map and I’d like to offset all vertices by the minimum height, so the resulting geometry is aligned to the bottom.

See the effect I'd like to achieve in this video. 630 is the minimum value that I found by hand but I'd like to automate this.

video/mp4

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs in a standard vertex/fragment setup, which RealityKit probably uses, each vertex only "knows" about itself. you'd have to do some preprocessing on the CPU (get the min y of the positions in the vertex buffer) and pass the value to the shader to get your desired effect.

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs depending on how your height map is set up, you might be able to filter the number of vertices you need to process in a compute shader, or even parallel Swift code. also helps performance to only do the calculation when the map changes

EDIT: if im understanding your other posts correctly, the height map is done with a texture. you can do it all in a compute shader with atomic operations
https://stackoverflow.com/questions/36663645/finding-the-minimum-and-maximum-value-within-a-metal-texture

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs i not sure if it can fit within Reality Composer Pro. you'd have to write your own offline "renderer" (even though it's just doing math and not drawing anything) to use compute shaders.

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs probably not a ton, but if you ever decide to make the image larger, need to do it every frame (like if the user drags the map), or need to do any additional processing, then you'll see improvements.

simonbs, to random
@simonbs@mastodon.social avatar

Me toying around with 3D these days.

Adventure Going GIF

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@simonbs congrats, also i’m so so sorry

Nifflas, (edited ) to random
@Nifflas@mastodon.gamedev.place avatar

Best superpower? You invent...

A: Singleton files. Cannot be copied, only moved. Downloading is possible only while transferred data is erased from server.
B: How to represent 257 distinct states in a byte
C: A logic gate that always outputs the least useful boolean value in any given context

ryanslikesocool,
@ryanslikesocool@mastodon.social avatar

@Nifflas not on or off,,,, but a secret third thing

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines