🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #2132

Re: fir's bag visualisation

#2132
From: fir
Date: Thu, 03 Dec 2026 10:07
49 lines
3326 bytes
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

> 
>> 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: <11erf17$642p$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-mail
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>

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 11:07:24 +0100
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <11erf17$642p$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 03 Dec 2026 10:07:35 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="200793"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+X0ZyU9uTP8FlvirQGJYZqp+zol7rl7BA="; 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:cAVAhE5uHJtrhoYXdh5t6QR/wz8= sha256:XgkELaWWsLlSdsjxJs+h/4kor61FC8Qqs+eMIwHh1E8=
	sha1:dKU/EKBWSoFbUYEi/A5HrwIp1bk= sha256:0qbeoxuLS2xJ678GY5Sa70v+uHEsAAZoaUrDgO7DEfk=
In-Reply-To: <11ere17$5ij4$1@dont-email.me>