Skip to content
Coding adventures of a geek
  • Home
  • About
  • Cookies
  • Tip Jar
  • Search
  • Contact me
  • RSS

Getting traction with BGFX…

  • Posted on April 6, 2021
  • Posted by Codifies
  • Leave a comment

Well while BGFX is an amazing renderer library, I don’t mind admitting I’ve found the initial learning curve fairly steep! Let me explain what I’m intending to do with BGFX (and you’d be forgiven for thinking I’m a masochist ! ) BGFX has a C API which is primarily intended for people to use when […]

What’s faster calling a function with a struct or a pointer to a struct ?

  • Posted on April 5, 2021
  • Posted by Codifies
  • Leave a comment

Well this one should be easy ? Right ? obviously as C is pass by value if you’re passing a few pointers, they are smaller than passing 32 floats (2 Matrix structs). Well initially a quick trip onto godbolt and you can easily convince yourself its an open and shut case… looking at how a […]

Using bgfx from C

  • Posted on April 3, 2021
  • Posted by Codifies
  • Leave a comment

As you may know I’m not much of a C++ fan, the whole point of source code is it should be human readable and it doesn’t take much to make C++ code look like someone’s sicked up a load of ascii on your code! and besides its much more fun being closer to the metal… […]

Getting started with bgfx (the bring your own framework renderer)

  • Posted on April 2, 2021
  • Posted by Codifies
  • Leave a comment

Well over the years I’ve evaluated loads of different engines, and often you find things that don’t quite cut the mark on your fist look. The first look with bgfx was with a 6 year old laptop using integrated graphics. Now integrated and graphics in the same sentence is no longer the horror it used […]

Remove executable permissions, while preserving directories.

  • Posted on April 1, 2021
  • Posted by Codifies
  • Leave a comment

Every time I copy something from an exfat formatted USB stick, I keep on having to search for this simple one liner… As exfat doesn’t allow for permissions, when you copy directories back onto your hard drive, in order that the directory structure will work as intended, all the files are given executable permissions. Directories […]

Cell shader revisited

  • Posted on March 29, 2021
  • Posted by Codifies
  • Leave a comment

First a quick word about “breakages” – I have to say the author of Raylib is a very careful coder (thankfully!) and ever since starting to use Raylib I’ve been able to track and use the master branch of Raylib on github, this does expose you to the occasional breakage, or usually more accurately a […]

Advanced Matrix transforms with Raylib

  • Posted on March 23, 2021
  • Posted by Codifies
  • Leave a comment

When I began developing my Matrix Chain Sandbox app, I always had it in mind to do (at least one) tutorial using this tool as a teaching aid. Well my aim grew just a little higher after releasing my Old School 2 intro, I was inspired by the logo idea and I wasn’t surprised it […]

Drawing textured 2D polygons with rlgl (Raylib)

  • Posted on March 23, 2021
  • Posted by Codifies
  • Leave a comment

UPDATE: I’m happy to say that this post is redundant ! I submitted a Pull Request to the Raylib repository which has been accepted, have a look at the example raylib/examples/textures/textures_poly.c, with a slightly different name, this functionality is now a part of Raylib. As a bit of light relief from debugging some horrible memory […]

Raylib quick start templates (with and without GUI)

  • Posted on March 17, 2021
  • Posted by Codifies
  • Leave a comment

Whenever I want to start a new project with Raylib I used to start from a simple template, which I’ve now dusted off revamped and added a second version with the addition of Nuklear to provide a GUI, I simply do a quick And I’m ready to start on my next mad idea adventure! The […]

Matrix chain sandbox

  • Posted on March 12, 2021
  • Posted by Codifies
  • Leave a comment

Sometimes even the best of us end up scratching our heads trying to work out why a complex chain of matrices isn’t being applied as we expected, and for the novice to computer graphics getting an intuitive grasp of how matrix multiplications chain together can be rather difficult. So I built a tool to allow […]

  • « Older posts

This website uses the Simple Bootstrap theme

Powered by WordPress