Article View: comp.lang.c
Article #2130Re: fir's bag visualisation
From: fir
Date: Thu, 03 Dec 2026 09:50
Date: Thu, 03 Dec 2026 09:50
40 lines
2938 bytes
2938 bytes
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) > i added btw primitive 2d depth pixels supposed to be cheap > > https://www.youtube.com/watch?v=M5XQty04PtA > > such pixels are fake coz not 3d but always NxN blocks not 3d > but for debug purposes or hud visualisation seem ok
Technical Details
Message-ID:
<11ere17$5ij4$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!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>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!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 10:50:22 +0100 Organization: A noiseless patient Spider Lines: 40 Message-ID: <11ere17$5ij4$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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 03 Dec 2026 09:50:32 +0000 (UTC) Injection-Info: dont-email.me; logging-data="182884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18u2cp7CIvL958pN4cHhsZv7lvygoy/YXg="; 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:cHEWVVfVwjt9f7VIFBNWd0Jipyk= sha256:lWJB3k8Hu1kbv7UiNw5JQfuVrphX4tlfuwv/EArofXU= sha1:sQy6NXNLLc9PVUH536Tj6QCEL8I= sha256:yIZZXYgmbWtJYi0O7oYtw2vXzgzwQyP8LILmZGk2Vqo= In-Reply-To: <11eq6pr$3kbvt$1@dont-email.me>