Page 1 of 1

Karaté Anim (polygones OpenGL)

Posted: Fri Aug 12, 2022 5:06 pm
by SPH
Hi,

I come out of 4 days of code to present you an anim in OpenGL polygons.
The code is too big to put it on the forum.
Please see it here:

http://sph.chez.com/sources/karate.html

It repeats 4 times and then ends. :idea:

Thank you for your comments... :wink:

Re: Karaté Anim (polygones OpenGL)

Posted: Fri Aug 12, 2022 6:26 pm
by Janni
Using Linux I get:
Line 82: ShowCursor_() is not a function, array, list, map or macro.

Re: Karaté Anim (polygones OpenGL)

Posted: Fri Aug 12, 2022 6:43 pm
by SPH
I know, I know, i'm sorry... :?

Delete it

Re: Karaté Anim (polygones OpenGL)

Posted: Fri Aug 12, 2022 9:38 pm
by Caronte3D
Very nice!

Re: Karaté Anim (polygones OpenGL)

Posted: Fri Sep 09, 2022 11:31 pm
by SPH
Caronte3D, you are alone !!! 😥
W H Y ? ? ?

Re: Karaté Anim (polygones OpenGL)

Posted: Fri Sep 09, 2022 11:51 pm
by jacdelad
I'm not sure if I know what's going on here, but @Janni: ShowCursor_() is a Windows API-call. Just comment it out.

Re: Karaté Anim (polygones OpenGL)

Posted: Mon Sep 12, 2022 7:50 am
by dige
Can't get it to work. Unfortunately I always get the same error with x86 or x64: illegal memory access in adress 0..

Re: Karaté Anim (polygones OpenGL)

Posted: Mon Sep 12, 2022 8:05 am
by SPH
dige wrote: Mon Sep 12, 2022 7:50 am Can't get it to work. Unfortunately I always get the same error with x86 or x64: illegal memory access in adress 0..
Incredible !
You are alone... :idea:

Re: Karaté Anim (polygones OpenGL)

Posted: Mon Sep 12, 2022 8:54 pm
by JHPJHP
Post removed.

Re: Karaté Anim (polygones OpenGL)

Posted: Mon Sep 12, 2022 9:11 pm
by SPH
Thx JHP for this Gif. :wink:

Re: Karaté Anim (polygones OpenGL)

Posted: Thu Jun 22, 2023 11:30 am
by luis
Ahahahah ! That's nice !

Where all the data for the polygons is coming from ?

BTW there is some dead code you can remove, for example render() and Render2DQuad(), maybe more.

Re: Karaté Anim (polygones OpenGL)

Posted: Thu Jun 29, 2023 10:18 am
by SPH
luis wrote: Thu Jun 22, 2023 11:30 am Ahahahah ! That's nice !

Where all the data for the polygons is coming from ?

BTW there is some dead code you can remove, for example render() and Render2DQuad(), maybe more.
I took a karate video from the internet and saved every 10 frames and recorded all the polygon points with my polygon editor made in PB.

Re: Karaté Anim (polygones OpenGL)

Posted: Thu Jun 29, 2023 11:07 am
by luis
SPH wrote: Thu Jun 29, 2023 10:18 am I took a karate video from the internet and saved every 10 frames and recorded all the polygon points with my polygon editor made in PB.
Really ? Pretty amazing ! You are crazy :) Good job.