Karaté Anim (polygones OpenGL)

Advanced game related topics
User avatar
SPH
Enthusiast
Enthusiast
Posts: 268
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:
http://HexaScrabble.com/
!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 : 5.73LTS - 32 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: 268
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
http://HexaScrabble.com/
!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 : 5.73LTS - 32 bits
User avatar
Caronte3D
Addict
Addict
Posts: 1027
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: 268
Joined: Tue Jan 04, 2011 6:21 pm

Re: Karaté Anim (polygones OpenGL)

Post by SPH »

Caronte3D, you are alone !!! 😥
W H Y ? ? ?
http://HexaScrabble.com/
!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 : 5.73LTS - 32 bits
User avatar
jacdelad
Addict
Addict
Posts: 1431
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

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.
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
dige
Addict
Addict
Posts: 1247
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: 268
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:
http://HexaScrabble.com/
!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 : 5.73LTS - 32 bits
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

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.
User avatar
SPH
Enthusiast
Enthusiast
Posts: 268
Joined: Tue Jan 04, 2011 6:21 pm

Re: Karaté Anim (polygones OpenGL)

Post by SPH »

Thx JHP for this Gif. :wink:
http://HexaScrabble.com/
!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 : 5.73LTS - 32 bits
User avatar
luis
Addict
Addict
Posts: 3876
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 ?"
A little PureBasic review
User avatar
SPH
Enthusiast
Enthusiast
Posts: 268
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.
http://HexaScrabble.com/
!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 : 5.73LTS - 32 bits
User avatar
luis
Addict
Addict
Posts: 3876
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 ?"
A little PureBasic review
Post Reply