[-] AdrianTheFrog@lemmy.world 3 points 3 days ago* (last edited 3 days ago)

As an amateur computer graphics person, the best way to draw accurate stars is to just pre render it onto a cubemap. But if you really need that subpixel worth of parallax to be completely accurate for every star, there are a couple ways I can think of off of the top of my head. With any you'd want to make sure you only store position, size, and color, since stars are all spheres anyways. With effort, you can be very flexible with how these are stored. (4 bits color temperature, 4 bits size, 3*32 bits coordinates maybe)

  • splat each star into the screen texture with atomics
  • some sort of tiled software rasterization thing, like in Gaussian Splatting

Worse ideas:

  • instanced hardware rasterization
  • ray tracing

This is not that well suited to most usual rendering techniques, because most stars are probably going to be much smaller than a pixel. Ray tracing would mean you need to just hit every star by chance (or artificially increase star size and then deal with having tons of transparency), hardware rasterization is basically the same and additionally is inefficient with small triangles. I guess you could just live with only hitting stars by chance and throw TAA at it, there's enough stars that it doesn't matter if you miss some. That would react badly to parallax though and defeats the purpose of rendering every star in the first place.

It's much more efficient to do a manual splatting thing, where for each star you look at what pixel(s) it will be in. You can also group stars together to cull out of view stars more efficiently. Subpixel occlusion will be wrong, but it probably doesn't matter.

This is all just for the viewport, though. Presumably there are other objects in the game besides stars, which need to have reflections on them of the stars. Then that becomes an entirely different problem.

The real answer though is that you wouldn't try to render all of the stars, even if you want parallax. Maybe some of the closer and larger ones as actual geometry, simplify a ton of stuff in the background, render things as volumes or 2d billboards, have a cubemap for the far distance, etc

Edit: also ofc this presumes you know the position, scale, temperature of every star

I also like the idea of baking all of the stars into a volume in spherical coordinates, centered around the origin

[-] AdrianTheFrog@lemmy.world 42 points 7 months ago

https://xkcd.com/435/

I would say gender is probably centered about around psychology, ranges mostly from sociology to biology, with a just little bit going into chemistry

maybe like

5
submitted 9 months ago* (last edited 9 months ago) by AdrianTheFrog@lemmy.world to c/selfhosted@lemmy.world

I was trying to set up mail for my server, to send status emails, gitlab emails, etc. I know this can be done with relays but I was interested in sending mail directly using SMTP. Apparently my ATT residential internet blocks outbound signals on that port by default, although there are several reports of people calling customer support and getting that changed.

The most recent thing I can find was someone on Reddit 3 years ago:

xnojack: Probably depends on the rep. Just got mine unblocked a week ago. I read online though its better to say you're looking to allow SMTP outbound rather than port 25 outbound. Cause on the reps end its called something like SMTP outbound filter. (link)

I tried to call in and get this changed, the rep was very helpful but either something's changed on their end or he was looking in the wrong place. Anyways, I was wondering if any of you have gone through this process recently and know if this is still a thing, or have any advice.

6
submitted 9 months ago* (last edited 9 months ago) by AdrianTheFrog@lemmy.world to c/android@lemmy.world

These have both been taken with the exact same camera from the same location. The one on the left is with the OnePlus camera app, and the one on the right is from a community modification of the Google camera app to work on the OnePlus 12. The Google one looks a lot better because they use super-resolution from multiple short exposures automatically.

The Google camera app does not usually look better without zoom (in my short time testing) and also has a harder time focusing.

[-] AdrianTheFrog@lemmy.world 45 points 1 year ago

The UI looks the same lol

The layers are the big thing, but its hard to show because the final result looks the same anyways

[-] AdrianTheFrog@lemmy.world 57 points 1 year ago

Blender was also used a bit in Everything Everywhere All At Once

0
submitted 1 year ago* (last edited 1 year ago) by AdrianTheFrog@lemmy.world to c/mildlyinteresting@lemmy.world

With the smaller 14b model (q4_k_m), just letting it complete the text starting with "why do I"

edit: bonus, completely nonsensical (?) starting with "I don't" (what could possibly be causing it to say this?)

[-] AdrianTheFrog@lemmy.world 93 points 1 year ago* (last edited 1 year ago)

Microsoft had relatively interesting ideas concerning 3D and VR content, then proceeded to do an extremely mediocre execution, simultaneously dumbing everything down while also making it hard to use, and then proceeded to discontinue their software after almost never touching it again for seven years

I have a Reverb G2 (windows mixed reality headset), it is really a good headset and is still competitive with the Quest 3 in several areas for use on PC. The WMR software itself isn't that bad and I think if it had more care and attention put into it it could genuinely have been great. If they had better home options, user created homes, more customization and the ability to fix things in place so you don't accidentally move them, the ability to add (even just user created) minigames and dynamic objects that stay in the world, and (most importantly) the ability to actually invite other people into the space to play with you and launch into other games. They're Microsoft, they were large enough and early enough that I'm sure they could even have gotten game developers on board with some protocol that automatically brings people you're playing with into a multiplayer session of whatever game you start. I think they were onto something with their home system and could have fleshed the software out into something much better than even the modern competition. Of course it's all discontinued now, the latest version of Windows doesn't even support it, I plan to continue to use the old version until it stops getting security patches in 2026 and then switch to Linux where hopefully the open source people will finally fully support using controllers.

1

I was thinking about how hard it is to accurately determine whether a screenshot posted online is real or not. I'm thinking there could be an option in the browser to take a "secure screenshot", which would tag the screenshot with the date, url, and whether the page was modified on your computer. It could then hash both the tag and the image data and automatically upload this hash to some secure server somehow. There would need to be a way to guarantee that only the browser could do this, or at least some way to tell exactly what the source was. I'm not much of a cryptography person, but I would be surprised if it isn't possible to do this. Then, you could check if the screenshot you see is legitimate by seeing if it's hash exists in the list of real hashes.

[-] AdrianTheFrog@lemmy.world 43 points 1 year ago

now that republicans don't need to block the deal to decrease Biden's popularity ig

1

reference image if you have no idea what I'm talking about:

I know this is a minor nitpick, but it's something that annoys me.

I got this graphics card mostly because it was the best deal on Amazon at the time (gpu shortage), and I also thought it looked decent from the images they had. However, when I actually installed it, all I see is the relatively unattractive looking black metal backplate with some white text. The other side is always the side shown in the promotional images too - not a single one of the pictures in the Amazon listing even shows the side that you'll be seeing 99.9% of the time. Do they think everyone hangs their PCs above them from the ceiling, or has open-air testbenches? Why do they never even bother with the other side? I know they want the fans on the bottom so the cooling is better, but the air in front of the CPU shouldn't be that bad, a lot of cheaper GPUs don't need that much cooling, and a ton of people have watercooling now anyways so the CPU radiators just go on the sides.

191
colors rule (lemmy.world)

my reasoning: the actual colors we can see -> the wavelengths that we can extrapolate to -> basically extrapolated wavelengths plus an 'unpure-ness' factor -> not even real wavelengths (ok well king blue and maybe lavender if I'm being generous could be)

94
... rule (lemmy.world)

Just 3% less votes than Jill Stein, and he dropped out 3 months ago

[-] AdrianTheFrog@lemmy.world 66 points 2 years ago

shocking: users of open-source reddit alternative like open-source things

116

This is at JFK, does anyone know what they are used for? There wasn’t an obvious time when it was taking a picture.

[-] AdrianTheFrog@lemmy.world 40 points 2 years ago

They can't. AI has hallucinations. Google has shown that AI can't even rely on external sources, either.

207
Rule (lemmy.world)
53

Prompt: A cyberpunk scifi painting of a floating city in the air above the sea

It uses a new, fancier, 18GB text encoder (t5) to follow the prompt much more closely. It isn't perfect, but its much better than SDXL in my opinion. It does seem to be a bit worse at photorealistic subjects and has a tendency to create 1-pixel vertical lines.

Some other images:

impressionist, a woman sits in the middle of a crowded cyberpunk street, people bustling around, orange and blue glowing signs, warm atmosphere

a bright cinematic photo of a solarpunk city at midday, skyscrapers, steel, glass, vines and fields of vivid tropical plants

[-] AdrianTheFrog@lemmy.world 42 points 2 years ago

"you now have to spend more money to survive" -> "people are now spending more money" -> "the GDP is going up" -> "the economy is doing well!"

[-] AdrianTheFrog@lemmy.world 50 points 2 years ago

not really a joke article because the guy did make it, but it also isn't a product, it was just an 'art project' by the guy

19

I get around 1 image every quarter of a second on my 3060. The quality isn't up to par with regular SDXL (not even close) but it follows prompts well and is extremely fast. Here are some of the best images in this batch:

Prompt: "impressionist oil painting, watercolor, a crying old southern man eats cheese at sunset in front of a futuristic dystopian cyberpunk city"

17

[-] AdrianTheFrog@lemmy.world 62 points 2 years ago

They massively changed the UI in 2019, in version 2.8. Hasn't changed much since then though.

If you remember Blender having a bad-looking light grey UI and no support for multiple workspaces, that's the old version.

view more: next ›

AdrianTheFrog

joined 2 years ago