pouët.net

Blittermade Phong with source code and .exe file.

category: residue [glöplog]
Yo!!!!


Here it is. Blittermade Phong.

BB Image

https://www.laffik.com/BlitterPhong.zip


Cheers!
added on the 2023-05-01 20:20:02 by Laffik Laffik
Just to make sure we're all on the same page here

https://en.wikipedia.org/wiki/Phong_shading
added on the 2023-05-01 20:37:28 by d0DgE d0DgE
BB Image

The one on the left.

You ask? Sh&tpoolp on the eyes?

Ah yea! Phong in wiki is in different colour. That could puzzle you.

dodge - another quasi-sarcastic-pseudointelectualist.

I am not on the same page with you, boy!
added on the 2023-05-01 20:42:28 by Laffik Laffik
In that case please tone down on the language lest you find yourself unable to log in.
added on the 2023-05-01 20:52:18 by Gargaj Gargaj
Quote:
I am not on the same page with you, boy!


Easily. You'll be when your stuff runs on an actual Amiga :P


...ahhh, feels like good ol' Pouet trolling
added on the 2023-05-01 20:57:53 by d0DgE d0DgE
doesn't it run on "actual" Amiga? I tested it. It does. It's just all this forum that is delusional saying it doesn't.

"actual" Amiga...
added on the 2023-05-01 21:00:21 by Laffik Laffik
Quote:
It doe

Nope, doesn't. Tested on A1200 + 1260@50 MHz + 128 MB Ram (that is called a High End Amiga).
I get a nice picture of a flat shaded triangle-poly object and the machine is frozen.
added on the 2023-05-01 21:20:49 by d0DgE d0DgE
and it does run on 1230/50. what's the clue? yours and charlie's sixties are not the best in the world. it has no reason to fail. code is right and works everywhere except you two. and it's clearly allergy for fairy sixties, just like if it were in every house in 1997.

don't drill further, or they'll shut it. or shut me. or you.

safe!
added on the 2023-05-01 21:24:19 by Laffik Laffik
Quote:
what's the clue? yours and charlie's sixties are not the best in the world


Now that's a good one XDDD
You made my day...you know what. Tomorrow imma get up my little 1200 with a 1230. Let's see if it's "not the best in the world" either.
But not today.
added on the 2023-05-01 21:28:05 by d0DgE d0DgE
Also this applies

Guess we're like five steps away from a legit Taxi-Commander greentext.
added on the 2023-05-01 21:35:30 by d0DgE d0DgE
There's no point to buy Amiga just to test if it works. You'll give it up the next day.

Screen of performance on 1230/50MHz + 8MB RAM. Fast forwarded - if you didn't think... Anyway. Works, buzzes and doesn't slowdown like you all say.

You're dudes are really naaasty buzzkiller!!!

ftp://laffi081@ftp.laffik.com/public_html/Dreamolers%20CAPS%20-%20Phonk%21%20%28FFWD%20WIP%20trailer%29.gif
added on the 2023-05-01 21:45:38 by Laffik Laffik
BB Image

screwe3d-up the link - that's how you train my nerves!!!!
added on the 2023-05-01 21:46:43 by Laffik Laffik
Quote:
don't drill further, or they'll shut it. or shut me. or you.

Mostly you.
added on the 2023-05-01 22:27:56 by Gargaj Gargaj
for being drilled? fair like all the courts...
added on the 2023-05-01 23:01:18 by Laffik Laffik
Nice flat shading. Filler could be improved, though.
And runs at about 3 fps with "fastest possible" JIT emulation.
added on the 2023-05-02 08:53:15 by hfr hfr
try "immediate blitter".

I know it'd dead slow - Blitter polyline, Blitter filling-up, Blitter copy to relevant bitplanes planes and clear overlapping edges of faces on empty bitplanes. All that per every face.

That's why it's never happened that we've seen full-screen Phongs anywhere. And three faces were most that computer shown.

If Commodore didn't screw up, if PC's didn't stick themselves in - Amiga still would be the best computer in the World - concept! - hardware making binary algebra and boolean algebra on polygons!
added on the 2023-05-02 09:23:20 by Laffik Laffik
Quote:
Blitter copy to relevant bitplanes planes

For a simple convex mesh like this you don't have to cookie-cut individual triangles.
added on the 2023-05-02 10:04:43 by hfr hfr
no, it's semi-differential cluster and I candy-spray it instead of cookie-cutting...


(???)


WTF.
added on the 2023-05-02 10:57:01 by Laffik Laffik
Not sure what you are trying to say.
But if you just start asking proper questions, quite a few people around here are able and willing to help.
added on the 2023-05-02 11:17:53 by hfr hfr
no, no again. I don't question. Forums are not for questions. There ere times before 2010, when on forums dudes were presenting various things. Glory! later, because of social politics, fora turned in places, where populi desperately search for answers how to use mouse. up to now.

This is Phong. Hyde-park. Have you been there? It is what it used to be and let's keep it on.

and some cookie stuff? world is not just Escher. you 'now what I mean?
added on the 2023-05-02 12:30:31 by Laffik Laffik
Quote:
you 'now what I mean?

Not a bit.
But that's fine.
added on the 2023-05-03 01:00:24 by hfr hfr
Has anybody noticed that this is thread number 12468?

Yesterday I was amazed when I learned that the Cri du Chat syndrome has number 123450 in the OMIM database.
added on the 2023-05-03 07:25:45 by Adok Adok
would be good if it was 02468. 1 in 12468 breaks the symmetry of a coffee cup.

it's not y=2n... :(
added on the 2023-05-03 09:39:13 by Laffik Laffik
Well, tie me to an ant hill and smear my ears with jam!
This behemoth of a flat-shade object actually runs on an 030.


...but in 1.5 FPS and it takes ages after exiting to restore the mouse pointer sprite.

Having something go at 1.5 FPS that should run in solid 50 FPS on that machine could be considered almost not running.
added on the 2023-05-03 21:24:47 by d0DgE d0DgE
yeah! how to restore the mouse pointer from the side of the code?
added on the 2023-05-04 10:24:25 by Laffik Laffik

login