返回资讯中心
外部精选
软件工程
#开发者实时流

TinyFFR – A free realtime 3D rendering library for modern .NET

Full PBR workflow Post-processing enabled out-of-the-box

Hacker News 最新bj-rn2026/10/17 · 20 天前13 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Full PBR workflow Post-processing enabled out-of-the-box

Create materials with built-in support for various channels: Albedo, Normal, Ambient Occlusion, Rougness/Metallic, Reflectance, Absorption, Transmission, Emissive, Anisotropy, and Clearcoat.

Add screen-space refractivity + reflections, distance fog, bloom, shadowing, depth-of-field, and antialiasing; all with a single API call.

Built-in support for picture-in-picture, splitscreen, render-to-texture, CPU readback streaming, screenshot capture, and scene compositing.

Don't write a single shader. TinyFFR's build comes with pre-compiled shaders for each platform ready to support every texture/material combination you create.

Support for tens of popular asset formats (incl. glTF, FBX, OBJ) including skeletal animations, all common texture formats, HDR/EXR backdrops, fonts, and more. Each loadable with a single line of C#.

Rescale, translate, optimise, and error-correct imported meshes. Transform, swizzle, negate, compress, and process imported textures. Generate mip-maps, combine textures, and modify bounding boxes on the fly.

Froxel forward lighting, cascaded shadows, and frustum culling with automatic bounding box calculation.

Designed from day one to create zero GC pressure; from asset loading to the rendering loop. Backed up with a benchmark suite and profiling.

Configure quality with a single API call; or use one of the built-in presets designed to target all ranges of hardware.

Rein in your VRAM usage with built-in texture compression.

TinyFFR avoids any dynamic or runtime resource access; meaning consuming applications can enable AoT compilation.

Every math primitive uses a fully SIMD-enabled abstracted plain-English API and can be converted to raw Vector/Matrix form for custom SIMD processing.

For when you need to go deeper: Options exposed for controlling frame latency, rate limiting, FPS capping + measurement, vsync control, async load sharing, and more.

Enable AMD FidelityFX FSR upscaling with a single property edit.

Camera Control Text Rendering Animations Hit-Testing

Import your own TTF files or use one of three built-in fonts. Render text that looks sharp at any size & distance with optional outlines or background colours and multi-line text justification control.

Import an HDRi and get image-based lighting across your entire scene.

Enumerate packed animation data and play animations with target time frames, speed multipliers, blending, and node transform calculations.

Manually set properties such as FoV, focus depth, exposure (aperture, shutter-speed, sensitivity) and use provided higher-level controllers; including first-person, follow/chase, free-flying, inspection, orbital, PTZ, and programmable keyframe types.

Programmatically construct texture maps or use the built-in UV test material. Use texture pattern generators to create grids, circles, squares, chequerboards, and more.

Transform and blend textures on any object in realtime; or control emissive strength for easy lighting simulation effects.

Modify mesh vertices in realtime. Create dynamic VB/IB buffers and manage mesh views. Specialized API provided for mutable grids.

Create quads and text instances in-world that stay facing the camera.

Easily create 2D overlays, HUDs, or debug readouts for either your entire window or a target texture for in-world screens.

Mouse, keyboard, and game controller support out of the box; with a shared API between standalone and UI-framework-integrated scene views.

Add basic objects to your scene without needing material or mesh definitions. Render wireframe data with optional face clearing.

Query which object is under the cursor, or test what gets intersected by rays, cuboids, or spheres.

No trigonometry, linear algebra, or matrices required. Use plain-English APIs like "AngleBetween", "RotatedBy", "PointClosestTo", "DistanceFrom"; and shapes types like Sphere, Plane, Line, and more.

Avalonia, WPF, WinForms & ImGui Integration Cross-Platform Robust Testing

No interpreters, additional runtimes, external CLR hosts or rewriting compilers. Just a single NuGet package that supports every .NET version from 9+ (including the latest).

Support for Windows, MacOS (Apple Silicon) and Linux (Debian/Ubuntu).

A specialized control for each of Avalonia, WPF, and Windows Forms makes it easy to render 3D realtime scenes inside your existing applications.

Support for Dear ImGui means you can build rich UIs without needing a framework at all.

The main library and all satellite libraries are debuggable from inside your IDE, with full external sources enabled.

Every public API member documented; backed up by tutorials, example applications, and reference docs online. All actually written and reviewed by a real human.

15,000 assertions, 50+ integration tests, 1.4K unit tests and growing.

No vibe-coded AI slop here. TinyFFR has been in development since before the AI era and was started as a passion project by a C#/.NET veteran with a diverse background.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →