ed2caf094dChanges to PathIntegrator maxdepth and light sampling
main
Wito Wiala2026-09-04 13:10:04 +0100
5038ed8270basic_intersect for DiskShape computed the plane hit with interval arithmetic where pbrt uses a scalar (shapes.h: Float tShapeHit = (height - Float(oi.z)) / Float(di.z)). It produced NaN, and since every NaN comparison is false neither the t range test nor the subsequent dist2 > radius^2 test could reject it. The disk reported a hit on every ray tested against it, and the NaN reached dpdu/ dpdv, the shading normal, and the area-light MIS pdf.
allocatorvec
Wito Wiala2026-09-03 12:39:56 +0100
1b1344c393Disk and Cylinder stored the phimax parameter raw. It arrives in degrees, while PBRT does radians. This one is embarassing, was causing 50x exposureWito Wiala2026-09-02 21:59:38 +0100
4faa3cdc95Fix colorspace illuminant, LayeredBxDF transmittance, and film pixel boundsWito Wiala2026-09-02 21:20:38 +0100
34ea80c030Bunch of logic errors in port of math and sampling functionsWito Wiala2026-09-02 17:21:16 +0100
aba574219cAdded creators to all textures but mix, need to decide now on a bloody architecture, this repo was in an insane stateWito Wiala2026-09-01 22:45:42 +0100
2e9526ce18Continuing work on Texture creationWito Wiala2026-09-01 20:12:39 +0100
87afe4168dMight have just made a huge mistakeWito Wiala2026-09-01 19:37:59 +0100
86151918e2Correcting some mistakes I had regarding error handling, enabling optimization on builds, added option handling to BasicSceneBuilderWito Wiala2026-09-01 18:00:33 +0100
853e980e83Fixing logic bugs in Sampling, texture loading. Moving on to issues with ImageTexture, the long dreaded diveWito Wiala2026-06-06 17:13:52 +0100
63c10c6573Continguing fixes. Some issues with memory leaksWito Wiala2026-06-05 19:18:13 +0100
79c87a6c15Continuing cleanup. Added constructors for FloatImageTextureWito Wiala2026-06-05 17:39:22 +0100
aefd204577Eliminated duplicate and incorrect definitions of transform applications to geometric primitivesWito Wiala2026-06-05 16:28:04 +0100
ac7fdd7486Fixing precision issues on vector operations, disk intersectionWito Wiala2026-06-05 16:04:19 +0100
a14960562cThis commit is way too large. So, added Upload trait back again, but only for Textures, which are the most complex types. Fixing Medium and PixelSensor creation on host side. Can´t really find a satisfying way of keeping construction and creation separate, so for now, regrettably, putting them in the same place. Added some types to parameter parsing. Continuing fixup caused by creation of GVec and GBoxWito Wiala2026-05-20 16:16:57 +0100
fa4692bfe6Trying out allocate API, and just have a unified Vec and Ptr representation instead of duplicating everything and having DeviceReprWito Wiala2026-05-18 22:44:22 +0100
dad7300a14Hitting myself, and going for a trait for uploading objs to GPU. Keep forgetting to actually upload them
arena
Wito Wiala2026-05-16 02:36:20 +0100
645556da22Fixign dangling pointer issues. Moving now to bumpalo, not able to keep a stable memory allocation system.Wito Wiala2026-05-15 15:35:21 +0100
c659ea0f44Continuing cleanup of builder and parser. Removing light factory, creating issues with function signatures and unnecessary resources for light creationWito Wiala2026-05-12 12:29:44 +0100
0c04eeb0f9Fixing issues caused by migrating from shared to host code. Lanczos filter is unseemly now, but options have to be handled host sideWito Wiala2026-02-20 22:37:50 +0000
731a37abaeMore fixes to allow for spirv compilation. Namely, issues with array initialization with functions ([object::default()]), initializing arrays from a function (implemented a simple gpu version using manual MaybeUninit pointers), changing enums with distinct types to structs or changing the selection logic, changing pointer subtraction in light samplers to a scan (this will come back to bite me in the ass), and ignoring the data module, since SPIR-V cant use pointers in statics.Wito Wiala2026-02-20 21:10:36 +0000
31ce07e079SPIR-V doesnt like mismatched enumsWito Wiala2026-02-20 16:58:36 +0000
7ebed27d4aCleanup of shared codebase to no_std and spirv compatibilityWito Wiala2026-02-20 16:39:27 +0000
b36105edc1Changing error handling with scene file parsingWito Wiala2026-02-19 15:41:24 +0000
8a92d7642dGeneralizing GPU framework to use Vulkan or CUDA with spirvWito Wiala2026-02-19 15:41:05 +0000
c412b6d668Updated light creation, sampling types in shared codepingu2026-01-16 15:42:51 +0000
f94c5d78c7Implementing arena based memory allocationpingu2026-01-10 00:20:43 +0000
0ef563d1a5Implementing arena based memory allocationpingu2026-01-10 00:16:24 +0000
f7c47be077Some more refactoringpingu2026-01-01 09:45:00 +0000
cc557dfa50Forgot to actually implement FilterTraitpingu2025-12-30 18:19:17 +0000
75655ed774Continuing GPU migration, implemented new parallelization strategies, correcting some logic bugs in maths functionspingu2025-12-30 18:09:30 +0000
4dbec9bc2cMajor overhaul to data management over CPU and GPU, clean up of incorrectly defined light creation methods, a lot of stuff in general. I should make smaller commits.pingu2025-12-22 22:54:49 +0000
cda63e42c5Big slog, separating GPU and CPU safe structs and constructorspingu2025-12-21 02:17:28 +0000
2e9d3c7301Migrating to a more GPU friendly architecture, refactored texture handling, working on images and scene creation. God have mercy on my soulpingu2025-12-20 18:37:52 +0000
8bcc2fb0c8Very big change, preparing for gpu integrationpingu2025-12-20 00:11:31 +0000
b490bdf180Changes to transport using VolPathIntegrator, minor format tweakspingu2025-12-09 22:50:30 +0000
11a731247dUpdated light management and creation, refactored module. Started work on rendering and integrators, fixed up maths functionspingu2025-12-09 14:07:46 +0000
63f4a36e69Updated light management and creation, refactored module. Started work on rendering and integrators, fixed up maths functionspingu2025-12-09 14:07:25 +0000
d42437e860Everything is brokenpingu2025-12-04 12:55:06 +0000
96e437921fRestructured image code, refactored spectrum code, removed some less idiomatic code to make compiler happy, added mipmap methodspingu2025-12-03 19:43:46 +0000