Search found 74 matches

by RNavega
Fri Oct 09, 2020 3:39 pm
Forum: Support and Development
Topic: Created .exe, when running .exe error unable to load audio file
Replies: 26
Views: 7552

Re: Created .exe, when running .exe error unable to load audio file

Is this "unable to load audio file" the only info that the error screen gives you? That's kinda vague. - It might fail if it can't find the file (bad relative path or no read permission). - It might fail if it does find the file but the contents are corrupted. - It might fail for some othe...
by RNavega
Sun Oct 04, 2020 1:35 pm
Forum: Support and Development
Topic: Square Color Picker
Replies: 9
Views: 2308

Re: Square Color Picker

I'd favor a geometrical approach, mapping the cursor coordinates to (normalized) coordinates inside the picker rectangle, so you can plug them as the parameters of whatever color space that you're using (HSL, RGB, LCH etc.). The (normalized & clamped) cursor x and y will be numbers in the range ...
by RNavega
Wed Sep 30, 2020 11:21 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 99
Views: 124147

Re: Groverburger's 3D Engine (G3D) New and Improved!

@pgimeno useful info, thank you.
by RNavega
Mon Sep 28, 2020 9:58 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 99
Views: 124147

Re: Groverburger's 3D Engine (G3D) New and Improved!

Thanks for the question. g3d is a rewrite and renaming of SS3D. SS3D's code was very messy, bloated, inefficient, and all-around cumbersome to use. The code eventually got bad enough that I didn't even understand half of it myself. I decided a few months ago that I should just rewrite the whole thi...
by RNavega
Sun Sep 27, 2020 11:56 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 99
Views: 124147

Re: Groverburger's 3D Engine (G3D) New and Improved!

@groveburger what exactly is the history involving G3D and SS3D? - G3D's code has more recent commits, while SS3D is older but has more features (it also supports that UV-less OBJ loader that people are talking about). - I can't find a proper repo for SS3D but for forks to your G3D. For example: htt...
by RNavega
Sun Sep 27, 2020 11:41 am
Forum: Support and Development
Topic: Cant make my matrix and shader work correct
Replies: 6
Views: 1408

Re: Cant make my matrix and shader work correct

Sure, I hope someone can review your code for you (I personally don't have time right now).
If you get tired of waiting, be aware that you can try that framework to get a 3D scene going, and then continue from there.
by RNavega
Fri Sep 25, 2020 11:05 pm
Forum: Support and Development
Topic: Cant make my matrix and shader work correct
Replies: 6
Views: 1408

Re: Cant make my matrix and shader work correct

No problem, have fun with it. Post your progress later if you feel like it.
by RNavega
Fri Sep 25, 2020 10:40 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 99
Views: 124147

Re: Groverburger's 3D Engine (G3D) New and Improved!

@me_smash_videogame: do you have a sample of an OBJ file with this flat color per face?
Also, what software are you using to export the OBJs?
by RNavega
Fri Sep 25, 2020 10:11 am
Forum: Support and Development
Topic: Cant make my matrix and shader work correct
Replies: 6
Views: 1408

Re: Cant make my matrix and shader work correct

Hi. You want to write a 3D engine from scratch. I myself only know the basics of linear algebra (just enough to do what I want), and I can tell you it's very very complicated. Something that needs to be taken in steps, like getting a single point to transform by a matrix with predictable results (do...
by RNavega
Thu Sep 24, 2020 11:02 pm
Forum: Libraries and Tools
Topic: Automatic FFI binding generation from C headers
Replies: 1
Views: 2729

Re: Automatic FFI binding generation from C headers

This looks tasty, thanks for sharing.