Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 3.41 KB

File metadata and controls

52 lines (36 loc) · 3.41 KB

brender-v132-portable-core-texture-smoke

Field Value
Target brender
Status completed
Type cmake-texture-mapping-smoke
Host Windows local probe with Visual Studio 18 2026 and MSVC 19.50.35721.0, Win32 Debug target
Harness brender-v132-portable-core-plan
Build brender-v132-build-environment
Reproduction brender-critical-edition-source-build
Exit Code 0
Transcript external-workspace:C:\dev\public\engine-revival-workspaces\brender-v132-portable-core-build-texture-smoke-2026-07-03.txt; external-workspace:C:\dev\public\engine-revival-workspaces\brender-v132-portable-core-ctest-texture-smoke-2026-07-03.txt

Command

engine-revival materialize-brender-harness ...; cmake -S <harness> -B <build> -A Win32 -DBRENDER_SOURCE_DIR=<checkout>; cmake --build <build> --config Debug --target brender_core_texture_smoke; ctest --test-dir <build> -C Debug --output-on-failure

Result Summary

Built and ran brender_core_texture_smoke.exe with exit 0 (11855 lit pixels, both checkerboard colours present, perspective-correct mapping) and passed 7/7 CTest cases with -C Debug.

Artifacts Policy

The materialized harness, build tree, smoke executables, the brender_core_float library, and the generated PPM render output were kept outside this metadata repo. No generated binaries, copied BRender source, private assets, or restricted SDK material are committed.

Public Notes

This attempt adds perspective-correct texture mapping to the depth-buffered portable render path. The generated brender_core_texture_smoke target builds a checkerboard texture in a BRender pixelmap, then renders a rotated cube whose faces are mapped to the full texture: u/w, v/w, and 1/w are interpolated linearly in screen space, the per-pixel texel is looked up with BrPixelmapPixelGet, modulated by the flat face shade, and depth-tested on 1/w. Both checkerboard colours appear across the surface (warm 5944, cool 5911 of 11855 lit pixels) and the checker foreshortens correctly toward receding edges, confirming perspective-correct mapping. All rasterization is pure C over the memory pixelmap; the assembly softrend driver is not used. The program passed as CTest case 7 of 7 under a Visual Studio Win32 Debug target. It does not claim datafile texture/material loading, BRender's own texture unit, x64 portability, or release packaging.

Blockers

  • the texture smoke still requires a 32-bit C target
  • the texture is generated in code and sampled through the portable rasterizer; loading textures and materials from BRender datafiles is not covered yet
  • this is the portable C rasterizer's own texture path, not BRender's period softrend texture unit

Next Actions

  • load a real BRender datafile model (and its materials/textures) and render it depth-correct and textured
  • package the portable render path as a documented brender-archival flagship
  • keep generated binaries and PPM output out of git unless an intentional release package is reviewed

Evidence Sources

Source Type Confidence Scope URL
Argonaut Blazing Render (BRender) v1.3.2 source repository repository high BRender 1.3.2 source availability, provenance, and MIT license posture https://github.com/foone/BRender-v1.3.2
BRender preservation index curated-index high BRender source-release and binary-SDK index https://blazingrender.net/