Karaté Anim (polygones OpenGL)

Advanced game related topics
User avatar
SPH
Enthusiast
Enthusiast
Posts: 583
Joined: Tue Jan 04, 2011 6:21 pm

Karaté Anim (polygones OpenGL)

Post 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:

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
Janni
Enthusiast
Enthusiast
Posts: 127
Joined: Mon Feb 21, 2022 5:58 pm
Location: Norway

Re: Karaté Anim (polygones OpenGL)

Post by Janni »

Using Linux I get:
Line 82: ShowCursor_() is not a function, array, list, map or macro.
Spec: Linux Mint 20.3 Cinnamon, i7-3770K, 16GB RAM, RTX 2070 Super
User avatar
SPH
Enthusiast
Enthusiast
Posts: 583
Joined: Tue Jan 04, 2011 6:21 pm

Re: Karaté Anim (polygones OpenGL)

Post by SPH »

I know, I know, i'm sorry... :?

Delete it

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
Caronte3D
Addict
Addict
Posts: 1364
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Karaté Anim (polygones OpenGL)

Post by Caronte3D »

Very nice!
User avatar
SPH
Enthusiast
Enthusiast
Posts: 583
Joined: Tue Jan 04, 2011 6:21 pm

Re: Karaté Anim (polygones OpenGL)

Post by SPH »

Caronte3D, you are alone !!! 😥
W H Y ? ? ?

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
jacdelad
Addict
Addict
Posts: 2027
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Karaté Anim (polygones OpenGL)

Post 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.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
dige
Addict
Addict
Posts: 1415
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Karaté Anim (polygones OpenGL)

Post 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..
"Daddy, I'll run faster, then it is not so far..."
User avatar
SPH
Enthusiast
Enthusiast
Posts: 583
Joined: Tue Jan 04, 2011 6:21 pm

Re: Karaté Anim (polygones OpenGL)

Post 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:

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
JHPJHP
Addict
Addict
Posts: 2259
Joined: Sat Oct 09, 2010 3:47 am

Re: Karaté Anim (polygones OpenGL)

Post by JHPJHP »

Post removed.
Last edited by JHPJHP on Thu Mar 30, 2023 2:40 pm, edited 1 time in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
SPH
Enthusiast
Enthusiast
Posts: 583
Joined: Tue Jan 04, 2011 6:21 pm

Re: Karaté Anim (polygones OpenGL)

Post by SPH »

Thx JHP for this Gif. :wink:

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Karaté Anim (polygones OpenGL)

Post 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.
"Have you tried turning it off and on again ?"
User avatar
SPH
Enthusiast
Enthusiast
Posts: 583
Joined: Tue Jan 04, 2011 6:21 pm

Re: Karaté Anim (polygones OpenGL)

Post 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.

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Karaté Anim (polygones OpenGL)

Post 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.
"Have you tried turning it off and on again ?"
Post Reply