Recent

Author Topic: raylib and addons  (Read 621 times)

Guva

  • Full Member
  • ***
  • Posts: 160
  • 🌈 ZX-Spectrum !!!
raylib and addons
« on: March 18, 2025, 03:24:07 am »
Since a lot of changes have been made, I decided to publish the dev version of raylib 5.6-dev and create a new thread in the raylib and addons forum, so as not to split it into separate threads.

https://github.com/GuvaCode/ray4laz
You can also download through the OPM package manager.

Huge collection with +180 code examples for ray4laz package.
https://github.com/GuvaCode/Ray4Laz-Example

What's new:
Updated the IDE integration menu for Windows users. Now you can copy the necessary dll libraries into your project using the menu in lazarus ide.

Added new third-party libraries and examples for them.

raylib-media: Is a clean and user-friendly extension for raylib that adds seamless audio and video streaming support via the FFmpeg libav* libraries. It enables easy integration of multimedia content into raylib applications, providing direct access to video textures and audio streams, with support for seeking and looping.
  • Simple yet effective, with customizable options
  • Direct access to video Texture and AudioStream for efficient media handling
  • Optimized memory usage: no direct allocations are made outside the LoadMedia function.
  • Synchronized audio and video playback
  • Supports media seeking and looping
  • Supports loading media from custom streams, enabling flexible input sources like archives, online streams, or encrypted resource packs
  • Compatible with formats supported by the codecs in the linked FFmpeg build.
raylib-gizmo: Is a clean and customizable 3D gizmo tool for raylib. Designed with an Immediate Mode style for simplicity, it requires just a single function call to draw and interact.No dependencies other than raylib!
  • Ease of Use: Simple and customizable.
  • Flexible Transformations: Translate, rotate, scale, or any combination of these three together.
  • Orientation Support: Works with global, local, and view orientations.
  • Immediate-Mode Style: Just one function call to draw and interact with the gizmo.
  • Camera Independence: Gizmo size remains consistent regardless of camera movement.
  • raylib Integration: Leverages raylib's Transform structure, eliminating the need for additional data structures.
R3D: Is a 3D rendering library designed to work with raylib. It offers features for lighting, shadows, materials, post effects, and more.
R3D is ideal for developers who want to add 3D rendering to their raylib projects without building a full rendering engine from scratch.
  • Material: Uses raylib’s material system, just load a model and set its material maps, R3D handles the rest.
  • Lighting: Supports deferred lighting with directional, spot, and omni-directional lights.
  • Shadow Mapping: Real-time shadows with adjustable resolution and support for multiple light types.
  • Skyboxes: Loads and renders HDR/non-HDR skyboxes, with IBL support for scene lighting.
  • Post-processing: Includes SSAO, bloom, fog, tonemapping, color adjustment, FXAA, and more.
  • Instanced Rendering: Supports instance rendering with matrix arrays, an optional global matrix, and per-instance colors.
  • Frustum Culling: Provides easy shape tests (bounding boxes, spheres, points) for visibility in the scene frustum.
  • Blit Management: Renders at an internal resolution and blits the result to the main framebuffer or a render texture, with aspect ratio options.
« Last Edit: March 19, 2025, 02:19:17 am by Guva »

wp

  • Hero Member
  • *****
  • Posts: 12757
Re: raylib and addons
« Reply #1 on: March 18, 2025, 10:16:35 am »
Unfortunately because of the examples the project has increased to 140 megabytes. We need to do something about it.
You can do like @sysrpl in Bare.Game and load resources separately.

Download: https://github.com/GuvaCode/ray4laz/archive/refs/tags/5.6.zip
You can also download through the OPM package manager.
I have mixed feelings to have a 140 MB heavy-weight in OPM while more than 50% of all OPM packages are smaller than 1 MB. The idea behind OPM has been to simplify installation of third-party packages. Examples always have been welcome to demonstrate how to use that package. But when examples accumulate to this extent - no. Please reduce the OPM package to the minimum needed to get it working, including a few examples. But keep the rest on your github and link to it.

Guva

  • Full Member
  • ***
  • Posts: 160
  • 🌈 ZX-Spectrum !!!
Re: raylib and addons
« Reply #2 on: March 19, 2025, 02:11:58 am »
I have mixed feelings to have a 140 MB heavy-weight in OPM while more than 50% of all OPM packages are smaller than 1 MB. The idea behind OPM has been to simplify installation of third-party packages. Examples always have been welcome to demonstrate how to use that package. But when examples accumulate to this extent - no. Please reduce the OPM package to the minimum needed to get it working, including a few examples. But keep the rest on your github and link to it.

It was a reasonable decision, and I did it. Now the package weight is 7,5 megabytes.
« Last Edit: March 19, 2025, 02:31:25 am by Guva »

 

TinyPortal © 2005-2018