HackerTrans
TopNewTrendsCommentsPastAskShowJobs

holg

no profile record

Submissions

Show HN: AutoLISP in Rust/WASM, reused to script GLDF and IFC file formats

gldf.icu
4 points·by holg·قبل 26 يومًا·3 comments

Show HN: Browser-based light pollution simulator using real photometric data

iesna.eu
44 points·by holg·قبل شهرين·20 comments

Show HN: Pure Rust IFC/BIM Viewer in the Browser via WebAssembly

bimifc.de
2 points·by holg·قبل 4 أشهر·0 comments

Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago

acadlisp.de
137 points·by holg·قبل 7 أشهر·44 comments

Show HN: Rust/WASM lighting data toolkit – parses legacy formats, generates SVGs

eulumdat.icu
52 points·by holg·قبل 7 أشهر·5 comments

[untitled]

1 points·by holg·قبل 7 أشهر·0 comments

comments

holg
·قبل 25 يومًا·discuss
[dead]
holg
·قبل 26 يومًا·discuss
Forgot to mention: it is all Open Source and on crates.io: github.com/holg (acadlisp, bimifc, gldf-rs)
holg
·قبل 26 يومًا·discuss
As the title as well mentioned IFC, here how to create the Quonset Hut on bimifc.de (same engine as acadlisp.de)

(ifc-new) (ifc-set-project "Quonset Hut" "Airfield" "Hangar" "GF" "Engineer" "Corps") (ifc-storey "Ground Floor" 0.0) (ifc-add-slab 0 0 8 15 0.2 0 "Concrete Pad") (ifc-add-wall 0 0 8 0.15 4.0 0.2 "Front Wall") (ifc-add-wall 0 14.85 8 0.15 4.0 0.2 "Rear Wall") (ifc-add-door 3 0 2.0 0.15 3.0 0.2 "Hangar Door") (ifc-add-window 1 14.85 1.5 0.15 1.5 0.2 "Rear Window") (ifc-storey "Roof" 4.0) (ifc-add-roof-barrel 0 0 8 15 3.0 4.0 "Steel Arch")
holg
·قبل 26 يومًا·discuss
Hi HN, author here. This builds on the very same AutoLISP Interpreter, i did for: https://news.ycombinator.com/item?id=46393271

The Lisp can be used to define the GLDF product in the LISP REPL, some files are in the wasm bundle, so for the demo you can simply: Click the [λ Script (Lisp)] Button and it will create the GLDF as defined in the LISP, and also start some Animation, tilting the light fixtures, changing Variants (and as such housing and light color) and some camera movement
holg
·قبل شهرين·discuss
Love it, bcs i am infested, i would love to see it in Rust (even embedded bcs of even more RTOS), but hey thanks for sharing, love it to repeat myself :)
holg
·قبل شهرين·discuss
it is the fantastic tool!
holg
·قبل شهرين·discuss
That's the neat idea!
holg
·قبل شهرين·discuss
Thanks, well i got more feedback, so i figured out it shall be done even better...
holg
·قبل شهرين·discuss
Thanks for your interest :D
holg
·قبل شهرين·discuss
i agree, sorry this is some edge-tech, so for safari it is a bit tricky, as it reports to have webgpu, but &force=webgl2 will do the trick. I am working on the fix to have webgpu behave properly on Safari
holg
·قبل شهرين·discuss
Yup, so actually my take as well is, the scene itself is imperfect, i took some known and easy to implement one. So some scene, where some high building is illuminated up, would be desirable...
holg
·قبل شهرين·discuss
That's the real good proposal. I must admit, my focus was on the street lights, which in general are already almost good, compared to what you mention Thanks a lot
holg
·قبل شهرين·discuss
[flagged]
holg
·قبل شهرين·discuss
https://iesna.eu/?wasm=skyglow_demo&force=webgl2, tested on wsl2 ubuntu, sorry linux machine in the office :D
holg
·قبل شهرين·discuss
Ok, even so the quality degrades a lot, i added the webgl2 version, it shall load as fallback, if webgpu is not enabled, but can as well be enforced, to see the difference:

https://iesna.eu/?wasm=skyglow_demo&force=webgl2
holg
·قبل شهرين·discuss
I should have mentioned: WebGPU is needed, on Safari there is a bug in the Bevy Overlay, so you only see flickering (very annoying!) This is an upstream issue (on to it) So FF and Chrome works fine (if WebGPU is enabled!)
holg
·قبل شهرين·discuss
Thanks for the information, i should have mentioned, webgpu is explicitly used here, and this might be the issue! Bevy's usage of WebGL2 is not that mature, and i use Bindless rendering (from my own contribution)...
holg
·قبل 4 أشهر·discuss
i miss the Apple GPUs, specially bcs for higher VRAM they compute quite well, not even talking about power efficiency. For my use-cases very often the low VRAM is the limiting factor, where the Apple GPUs often shine, the Apple Tax if seeing this way is nowadays quite low :D
holg
·قبل 4 أشهر·discuss
interesting proof of concept, in php, who would have thought :D
holg
·قبل 5 أشهر·discuss
Sounds interesting, will give it a try, thx for sharing the Code as well