🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1684

Re: [p.i.c] ships flyin and faitin

#1684
From: Chris M. Thomasson
Date: Thu, 19 Nov 2026 22:01
62 lines
4300 bytes
On 11/19/2026 1:06 PM, fir wrote:
> Chris M. Thomasson pisze:
>> On 11/19/2026 12:22 AM, fir wrote:
>>> fir pisze:
>>>> this is overally all not hard but its such kind of things that
>>>> (for some not quite known for me reason) liek turns from normal coding
>>>> -like normally you cut through and write it - turns into 'research'
>>>> where you can research it for weeks or months
>>>>
>>>> (and im not saying cutthrough or research are better ways, im not sure,
>>>> maybe some in the middle)
>>>
>>> new version
>>>
>>> https://www.youtube.com/watch?v=T0f6Hx_KrvI
>>
>> Love it! :^)
>>
>> I give the AI props. Btw, how many lines of code did it make for you?
>>
>> Actually, you rendering all of this on the cpu, right? Did that ai use 
>> instancing for the asteroids?
> 
> its not exactly written by ai you see it wrong..ai is used to write some 
> implemenations of functions i tell it to provide but i need to orgaanize 
> it in code test it and so on..invent design and more
> 
> its 40k lines of code all made in 2 months though i got a lot of 
> experience and i generated things i wrote myself years back also
> (whole rasterizer/window setup/utility function and more)
> 
> its 40k lines but a lot of it its the code for 3d models i tested and 
> not use - i will use some only... so its much more code ai allows you to 
> test than the final you use probbly few times more...
> 
> i dont know what is instancing but if you mean that given model is in 
> fact one array (in fat two vertex array and triangle aray) its rather 
> obvious
> 
> its all cpu..and i got very old PC must buy new one and that will be 
> fortinate becouse im afraid it can clow down not only becouse of
> geometry (like it can handle about 100k triangles but it obviusly slows 
> down) but also becouse of collision detection - wchich is square and
> may make it all choke (esp if i will shot a lot of bullets need a lot of
> collision checks with everything..so it is even an option i will hit the 
> wall and get a bit resigned...
> 
> though i have basic experience i collision detection optimisation but if 
> i will see it takes 10 ms of frame time or mor i may end up depressed ;c
> 
> though on positiveside i got some hope some things like coding 'flock'/ 
> crowd of flying a bit synchronised entities may have good
> look, so there is a potential in it and this is only a base
> (2 months of coding , though i must say i began to feel weary so
> maybe i will drop it and will return to it after some months eventually)
> 
> 
> 

You need to ask AI what instancing is. Think of one model, and a buffer 
to the vertex shader with say, a shit load of mat4's. The single model 
can be placed in many places with one single shader pass.
Technical Details
Message-ID: <11dnrkk$2lpn0$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11dfm1u$3rhtq$1@dont-email.me> <11dfrbn$3te4n$2@dont-email.me> <11dfudl$3uc92$2@dont-email.me> <11dg3rf$769$1@dont-email.me> <11dg51k$he7$1@dont-email.me> <11dg56n$he7$2@dont-email.me> <11dhc32$bglk$1@dont-email.me> <11dmbl4$22ofk$1@dont-email.me> <11dnmn0$2juse$1@dont-email.me> <11dnocg$2kk54$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: [p.i.c] ships flyin and faitin
Date: Thu, 19 Nov 2026 14:01:55 -0800
Organization: A noiseless patient Spider
Lines: 62
Message-ID: <11dnrkk$2lpn0$1@dont-email.me>
References: <11dfm1u$3rhtq$1@dont-email.me> <11dfrbn$3te4n$2@dont-email.me>
 <11dfudl$3uc92$2@dont-email.me> <11dg3rf$769$1@dont-email.me>
 <11dg51k$he7$1@dont-email.me> <11dg56n$he7$2@dont-email.me>
 <11dhc32$bglk$1@dont-email.me> <11dmbl4$22ofk$1@dont-email.me>
 <11dnmn0$2juse$1@dont-email.me> <11dnocg$2kk54$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 19 Nov 2026 22:01:56 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2811616"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+CgbIK1Gecrs5v4RZHWRwPW41IMxI6lzA="; posting-host="dd59464af16a495ae69e5e40853b34a8"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:/j5xsiAk0RId1TfvD3h4PoVA8xI= sha256:c8yytOYkUjOubFIhNAImB0QnC79ria2QWCNlutb1sZY=
	sha1:LRGjrb158mUE6esqUTHYr3AQvZg= sha256:aGDLjH4s8SxDwiJdyaZm35t8LyjO0Tmvm2SaznpEqZE=
Content-Language: en-US
In-Reply-To: <11dnocg$2kk54$1@dont-email.me>