Article View: comp.lang.c
Article #2135Re: fir's bag visualisation
From: fir
Date: Thu, 03 Dec 2026 12:35
Date: Thu, 03 Dec 2026 12:35
50 lines
3530 bytes
3530 bytes
fir pisze: > fir pisze: >> fir pisze: >>> fir pisze: >>>> i found a complication though: >>>> >>>> rocket adresses its targets by index in bag and obviously when this >>>> compacting is on then rockets get crazy >>>> >>>> i wuld need to rethink whats the simplest way to resolve this >>>> >>>> (right now overally this compacing not visually speed sthings much >>>> if any - but thats probbaly becouse i got no heavy square loops yet, >>>> if i have i guess it would matter.. >>>> >>>> so for now i can just disable compacting, curing the sanity of rockets, >>>> but will need to get back to it then) >>> >> >> maybe the relativly standable way of handling that is to add >> is_adressed filed to slot and just no compact/move slots that are >> adressed >> >> it would need to enable and disable those flags is_adressed in >> code flow so it is a bit error proe and need to take specific care >> (maybe not too much big care, though..probably depends) >> >> it all become just look like builtin garbage collector >> - though its more to minimalise LOOP sizes than RAM occupation >> >> tight now i offed it becouse my collision detection section >> (where i expect smaller loop would help) is in range 0-1 ms >> and linear drawing/rasterisation takes solid 10 ms or so) >> > > and this is only becouse i use qHD 1920/2 x 1080/2 > in HD what is 7 ms becomes 19 ms .. though i must say if > those visuals have not very tiny details then it dont make > very much visual difference between HD and qHD..and i do those > graphics lowpolly anyway so maybe its fortunate > overally i must say its quite fun to code https://www.youtube.com/watch?v=BpKy9Dc_3ZI yu like invest C coding in it but you got observation about space (compositions and movement in it) like from it.. code is interesting as coding but the observations on space are fresh bonus i would say
Technical Details
Message-ID:
<11ernno$aiqc$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11ecdnp$1qvjl$1@dont-email.me> <11ecerh$1reea$1@dont-email.me> <11ecl7q$1u08b$1@dont-email.me> <11ecng8$1uu5l$1@dont-email.me> <11emgi9$1m92f$1@dont-email.me> <11eq5a4$3jmh2$1@dont-email.me> <11eq6pr$3kbvt$1@dont-email.me> <11ere17$5ij4$1@dont-email.me> <11erf17$642p$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: fir <profesor.fir@gmail.com> Newsgroups: comp.lang.c Subject: Re: fir's bag visualisation Date: Thu, 3 Dec 2026 13:35:59 +0100 Organization: A noiseless patient Spider Lines: 50 Message-ID: <11ernno$aiqc$1@dont-email.me> References: <11ecdnp$1qvjl$1@dont-email.me> <11ecerh$1reea$1@dont-email.me> <11ecl7q$1u08b$1@dont-email.me> <11ecng8$1uu5l$1@dont-email.me> <11emgi9$1m92f$1@dont-email.me> <11eq5a4$3jmh2$1@dont-email.me> <11eq6pr$3kbvt$1@dont-email.me> <11ere17$5ij4$1@dont-email.me> <11erf17$642p$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 03 Dec 2026 12:36:09 +0000 (UTC) Injection-Info: dont-email.me; logging-data="346956"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19n3JJsxu6ElTmf98pNwQ3+MAUbgryQg1M="; posting-host="399c5b2f7a23ac57cd11dc698d13151d" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24 Cancel-Lock: sha1:tmf3IiM0OkkkdKq5muChsF46Wz4= sha256:jdCGgB+SFDEUq3E/8OoaAjZH0QzyFboN6/158dywt3s= sha1:Pl9zgYEK9ORFhcg+PGRIOV7KNi8= sha256:bdpWS0f+XQG1xzgMTxo3b6ZbfzIQnWgid3QYLgUsJh4= In-Reply-To: <11erf17$642p$1@dont-email.me>