Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Berni

About

Username
Berni
Joined
Visits
2
Last Active
Roles
Member

Comments

  • Yes i noticed it afterwards that examples show it being done inside the BeginDrawing() and EndDrawing(). At first i assumed that i would mess up the canvas since it has to set up everything for drawing into the texture. So to try and avoid touching …
  • I have tried relocating my BeginTextureMode in to diferent locations. The best luck was calling BeginTextureMode(); then glFlush(); and then BeginDrawing() Where i draw to the screen. This was tested on a RaspberryPi 3 running the latest kernel wit…
  • I kept using rlglDrawMesh() because the older versions of raylib would have the DrawModel() and DrawModelEx() functions overwrite the "model.transform" element with there own matrix. The version i was using on RPi turned out had a extra matrix multi…
  • Thanks, it probably wouldn't have contained 3d if it wasn't for raylib cause i would likely find it too much work for what its worth. I didn't need thick lines that badly, i was mostly using it to draw 3d vectors inside a sphere to visualize them b…
  • I tried calling rlglDraw() and that worked nicely. Tho i still see that drawing a large amount of lines does make the RPi start to strugle to maintain 60fps (To be expected really) I haven't got around to doing the framebufer being drawn over by 1 p…
  • I had tried to use 1 pixel wide rectangles and that worked well but really gave it a hit in performance once you draw a lot of them. I had started digging in the source files of raylib and indeed found the define for the maximum number of lines. Ho…
  • Also i have noticed that if you try to draw too many line sections in a single frame raylib crashes with an "ERROR: MAX_LINES_BATCH overflow"
  • Ah i haven't noticed all the matrix building functions are already in raymath.h. By default the build script in notepad++ only points to a include path with raylib.h and nothing else (So to include it i needs to be copied in from src). I assumed the…
  • My solution in the end was to not use the DrawModel() function and instead directly call in to rlgl.c with this: void rlglDrawMesh(Mesh mesh, Material material, Matrix transform); Its basically all that DrawModel() calls anyway, but without messin…
  • No problem. Looking forwards to the next version!
    in My impressions Comment by Berni April 1