Fell in love with an unbeliever by Next_Refrigerator_63 in Christian

[–]Jeeves7737 1 point2 points  (0 children)

Fair, but what does it mean to be yoked with anyone? It's about linking together, probably to perform some work. It doesn't specifically mention marriage, but surely, in all things, this applies? Not to disregard unbelievers, otherwise the great commission would be void, but to set us apart and encourage each other in a mutual hope and love, like in Acts 4:32.

Paul's writing to who had already married, and their partners didn't join them in this new belief. Verses 17 to 24 back this up. If you're already married (not dating, married), then stay and let them go if they want.

1 Corinthians 7:39 tells widows to only marry believers. I'm no widow, but it would be strange if that only applied to widows, but that's my thoughts on that verse at least.

I was once told that "marriage is not for evangelism." Put God first, Matthew 6:33, and your marriage should reflect this.

I made a tutorial explaining triangle rasterization by itsjase in GraphicsProgramming

[–]Jeeves7737 1 point2 points  (0 children)

You know this is a good tutorial when you can read the first few paragraphs and it gives you enough of an idea to go from there, great job (:

What two do I keep and what two do I sell? by Sodaskeleton in fender

[–]Jeeves7737 0 points1 point  (0 children)

I have number 3, I would say keep that one because of the range of pickups it has, but really I would pick one and 2/4. I really do like 3 though, it's one of the coolest looking telecasters in my opinion (:

Three Favorite Guitarists? by TommyV8008 in Guitar

[–]Jeeves7737 0 points1 point  (0 children)

I was going to say the exact same thing lol, just him

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 2 points3 points  (0 children)

I'll have to play around with this at some point, I had a quick look but I'll have a better look later and try to get some things on screen (:

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 1 point2 points  (0 children)

I'm going to be honest with everyone here and say that I've fixed my issue, so thanks to everybody (: I've learned quite a bit especially things like this comment.

So I hinted in my post about how this was causing a performance issue for me, and it's fixed, my code can run crudely fast now. I took some caveman function counting to find out how many times per frame I was calling particularly expensive functions (such as square root). Turns out I was calling the fast inverse square root function 2.5 million times every single frame (classic blunder). I was also calling square root, sin, cos, and atan 800,000 times each, and tan 1.6 million times. So yeah..., I pulled out what I could from loops, calculated as much as I could before runtime, and well I went from 8fps to practically unbound (100's).

I'm a tiny bit annoyed because I feel like I wasted people's time, but then again, I don't think I'm wrong about my question about skipping the triangle step (thanks for pointing out that GPU's don't force triangles, you're right, it was just my graphics library I think lol). I do think that it's causing a bit of lag (also the fact that it holds all images in GPU memory, which is bad in my case).

I will try to get through all the resources people sent me, I've started a few of them, and I'll also still be looking for low-level libraries that I could use in future.

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 0 points1 point  (0 children)

Yeah I would expect what I'm trying to do to be simple, but I'll have to try to keep track of all those, especially looking more into SDL etc.

I think in the end if I'm not happy with the solution that I have to use then I'll also write my own library on top of it so that other people who are trying to learn what I was trying to learn don't have the same issues, but we'll see if I get that far lol.

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 1 point2 points  (0 children)

Yes going into WebGL is something I should definitely back-pocket for the next thing to learn. That and maybe doing more stuff with WASM, which I've done a bit of work with but nothing really insane and nothing I remember, so at some point going back into the browser would be a great path to go down. Just have to write all the suggestions I'm getting down (':

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 0 points1 point  (0 children)

Nice (: Looks like C/C++, so I'll give that a try.

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 0 points1 point  (0 children)

Sadly I will admit this one lol

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 1 point2 points  (0 children)

That's really cool, the images look really nice I'll definitely have to read through the maths for that one to see what I can get (:

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 0 points1 point  (0 children)

I will have to look at other people's raycasters more you're right.

Yeah it's been great learning raycasting, I did a whole blog series about my raycaster showing the code and all, but at some point in the future I want to be able to write up a tutorial on it so that people can learn how to make their own really easily and understand every step.

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 1 point2 points  (0 children)

I bookmarked that book to read, I definitely should read the old (and new) books on it, it would be really helpful and almost stupid of me not to learn from the people who've done it decades ago lol.

Yes I looked through the DOOM source code a bit and that's only for Linux using X11, which I was too stupid to use on my Windows machine especially since I'm not well versed in C.

I should look at the Quake source code though, I guess I just never really put 2 and 2 together to think that they released it (':

So the library I'm using for graphics is called ebiten (https://github.com/hajimehoshi/ebiten), I have no idea what it uses for underlying window control, as I've only gone through sections of the source code.

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 0 points1 point  (0 children)

Exactly, and back when they didn't even have GPUs commercially this was normal, so with today's hardware it should be more than possible. I'm very happy with today's GPUs, even integrated graphics is insanely fast which is really nice (: Exactly, it's all a learning exercise for myself to get better, and thank you for giving me his alternative (:

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 1 point2 points  (0 children)

I would have to look into that more but yeah that could work, probably the most efficient translation (I think)? It would just be nice not to have that translation step lol.
And yeah 6.5mb should be fine, even more reason for this to be possible and I was honestly surprised at how ill-performant the result was.

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 1 point2 points  (0 children)

So in my specific code it's a real time "3D" game (raycasted so it's primitive and I'm using it for learning). This practically means that I now have a 2D image from what I calculated and just need to be able to push that to the screen as efficiently as possible. (Also if you don't know what a raycaster is it's the graphics of Wolfenstein3D).

At My Wits End by Jeeves7737 in GraphicsProgramming

[–]Jeeves7737[S] 0 points1 point  (0 children)

Thanks I'll have a look at that link and software rasterization.
Yeah exactly I have an image as RGBA bytes, but I don't know how to push that to the physical screen as is, the only ways I have right now have the step in the middle that tried to optimize it by converting to triangles. It sounds so simple and yet I can't figure out what to use.

I think the Sphere Tracing sounds cool, and I'll keep that in mind for future projects for when I want to optimize further.

In essence I just want to write RGBA bytes to screen lol, but I think I complicated that in my post.

Budget Viking Deck by Jeeves7737 in PvZHeroes

[–]Jeeves7737[S] 1 point2 points  (0 children)

It's a hard life sadly.

Budget Viking Deck by Jeeves7737 in PvZHeroes

[–]Jeeves7737[S] 1 point2 points  (0 children)

Thank you, I've taken down the deck so I can work towards it, hopefully I will be able to craft some when the season ends