@dr_analog's banner p

dr_analog

razorboy

4 followers   follows 1 user  
joined 2022 September 05 14:10:31 UTC
Verified Email

				

User ID: 583

dr_analog

razorboy

4 followers   follows 1 user   joined 2022 September 05 14:10:31 UTC

					

No bio...


					

User ID: 583

Verified Email

I think working as an embedded systems C programmer actually signals a lot more competence even if the salary isn't impressive. The embedded space is notoriously low pay since the economics around that are for the manufacturing industry rather than pure software industry which tends to be able to spend a lot more for software development.

Update.

Separately I noticed there's a problem with how the wheels spin and play with the ambient sunlight. The light appears to get painted onto one section of the wheel and it spins around the wheel with it, which is obviously wrong. I spent a few days on this and haven't made much progress. I'm kind of pulling my hair out.

I finally decided to look at the "normal map" for the wheel and notice it's ... painted on looking? The top right of the circle is dark and the bottom left is shiny which is the behavior I'm running into. As the wheel spins the shine "follows" it towards the ground and then up the back until it loops around again.

/facepalm

Looks like the person who made this model didn't ever expect the wheels to actually turn, which you know, fair. Surprised they did this because the rest of the car relies on reflecting the ambient lighting instead of painted on lighting.

I'm embarrassed it took me this long to decide to check the data.

EDIT: fuck, that's not actually the problem. the normals map is not a shade map. it makes sense that the "color" at one end of a circle is different from the other end

/images/17502758176521997.webp

Homies: Ride or Die

Last week I got wheels rotating. Since then I've also added steering.

In the meantime I learned it doesn't work on my laptop at all since my GPU on that is much weaker. I traced it down to the skydome rendering and added a flag so I could disable it while away from my desktop. Not sure why it pwns the GPU so much. The skydome isn't particularly high res but perhaps I tesselated it into way way too many triangles. Time to dust off the Blender workflow again.

Separately I noticed there's a problem with how the wheels spin and play with the ambient sunlight. The light appears to get painted onto one section of the wheel and it spins around the wheel with it, which is obviously wrong.

I spent a few days on this and haven't made much progress. I'm kind of pulling my hair out.

There's clearly something wrong with matrix math but not entirely sure what. I first SRT (scale rotate translate) the car from world space into view space. Before I submit that rendering, I detect if a given submesh involves a wheel and do a further R to the matrix. This makes the wheels rotate perfectly with velocity, but I guess screws the lighting calculations up. Maybe the matrix math accidentally works for vertex shading but not normals calculation, though I think I'm doing the right things to isolate them.

I would add debug printfs but half of this shit is happening in the bgfx shader language so my debugging visibility is limited. Maybe there are tools for this...

TRON bike lighting

Slow progress. Forgot that I needed more JST-SM 4 pin connectors, so placed an order. Then I remembered that soldering even a few spots gives me a scratchy throat and maybe a headache and it could be because I'm breathing in the soldering smoke from having my face so close to it. So, I need an extractor fan.

Of course I couldn't just buy an extractor fan like a normal person, because I stumbled across a DIY one in this Great Scott video right when I realized this.

https://youtube.com/watch?v=Nb78wF1Tkwc&t=55s

I just post LLM findings to social media and then delete the post if anyone fact checks it /s

It boggles the mind that Luigi didn't have a pre-arranged Airbnb in NJ he could have fled to, booked with a fake name, and holed up for a month or two, surviving exclusively off of DoorDash.

Hanania shared a video of the alleged shooter's alleged roommate saying he's a Trump supporter.

https://x.com/RichardHanania/status/1934036017746780454

EDIT: Excuse me. Hanania shared a video of the alleged shooter's alleged roommate allegedly saying he's a Trump supporter. I thought he was saying it during the cringe blubbering part but now that I listen on better speakers it's not that. The source for his roommate saying he is a Trump supporter is the reporter in this video https://x.com/RichardHanania/status/1934061437691072727

A family of illegals with two kids in public school consumes $4000 a month in taxes from that alone and I don't think the taxes raised or economy activity generated by their strawberry picking even comes close to recouping that cost.

It's true the poor Appalachian white family that's been here for eight generations doesn't either, but we can't really argue over whether or not they should have been allowed in.

Yes. Some people believe the US is infinitely wealthy and we can afford to take in all of the downtrodden of the world fleeing poverty and oppression and the only reason you could be against this is because you're racist.

It does not compute that this could bankrupt the entitlements systems they are so fond of that are mostly paid out of high earner taxes. Or they believe money is magic and the classists are causing fake scarcity or whatever.

I agree he has the odds stacked against him but I still think it adds nothing but combustibility to (e.g.) invite Dr Phil along on raids.

And I think he benefits from trolling the liberals so hard they start engaging in political violence.

There's a huge gulf between that and what Trump is doing currently. Trump is making these raids as much a spectacle as possible.

Did we forget the Studio Ghibli rendition of the crying handcuffed deportee tweeted by the White House? What about videos captioned "ASMR: Illegal Alien Deportation Flight"?

He even has fucking Dr Phil accompanying raids now.

PLEASE try lowering the temperature, Dems.

I agree, but let us also remember to pin some blame on Trump for doing the ICE raids as flamboyantly as possible.

Obama deported 410,000 people in 2012 and managed to avoid cameras far better.

I am convinced Trump wants liberals to overreact because it's the best campaign ad and the mobs are happy to take the bait.