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 days ago·3 comments

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

iesna.eu
44 points·by holg·2 months ago·20 comments

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

bimifc.de
2 points·by holg·4 months ago·0 comments

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

acadlisp.de
137 points·by holg·7 months ago·44 comments

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

eulumdat.icu
52 points·by holg·7 months ago·5 comments

[untitled]

1 points·by holg·7 months ago·0 comments

comments

holg
·25 days ago·discuss
[dead]
holg
·26 days ago·discuss
Forgot to mention: it is all Open Source and on crates.io: github.com/holg (acadlisp, bimifc, gldf-rs)
holg
·26 days ago·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 days ago·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
·2 months ago·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
·2 months ago·discuss
it is the fantastic tool!
holg
·2 months ago·discuss
That's the neat idea!
holg
·2 months ago·discuss
Thanks, well i got more feedback, so i figured out it shall be done even better...
holg
·2 months ago·discuss
Thanks for your interest :D
holg
·2 months ago·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
·2 months ago·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
·2 months ago·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
·2 months ago·discuss
[flagged]
holg
·2 months ago·discuss
https://iesna.eu/?wasm=skyglow_demo&force=webgl2, tested on wsl2 ubuntu, sorry linux machine in the office :D
holg
·2 months ago·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
·2 months ago·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
·2 months ago·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 months ago·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 months ago·discuss
interesting proof of concept, in php, who would have thought :D
holg
·5 months ago·discuss
Sounds interesting, will give it a try, thx for sharing the Code as well