Advanced game related topics
SPH
Enthusiast
Posts: 561 Joined: Tue Jan 04, 2011 6:21 pm
Post
by SPH » Fri Aug 12, 2022 5:06 pm
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.
Thank you for your comments...
!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
Janni
Enthusiast
Posts: 127 Joined: Mon Feb 21, 2022 5:58 pm
Location: Norway
Post
by Janni » Fri Aug 12, 2022 6:26 pm
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
SPH
Enthusiast
Posts: 561 Joined: Tue Jan 04, 2011 6:21 pm
Post
by SPH » Fri Aug 12, 2022 6:43 pm
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
Caronte3D
Addict
Posts: 1355 Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe
Post
by Caronte3D » Fri Aug 12, 2022 9:38 pm
Very nice!
SPH
Enthusiast
Posts: 561 Joined: Tue Jan 04, 2011 6:21 pm
Post
by SPH » Fri Sep 09, 2022 11:31 pm
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
jacdelad
Addict
Posts: 1993 Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa
Post
by jacdelad » Fri Sep 09, 2022 11:51 pm
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
Posts: 1391 Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:
Post
by dige » 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..
"Daddy, I'll run faster, then it is not so far..."
SPH
Enthusiast
Posts: 561 Joined: Tue Jan 04, 2011 6:21 pm
Post
by SPH » Mon Sep 12, 2022 8:05 am
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...
!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
JHPJHP
Addict
Posts: 2251 Joined: Sat Oct 09, 2010 3:47 am
Post
by JHPJHP » Mon Sep 12, 2022 8:54 pm
Post removed.
Last edited by
JHPJHP on Thu Mar 30, 2023 2:40 pm, edited 1 time in total.
SPH
Enthusiast
Posts: 561 Joined: Tue Jan 04, 2011 6:21 pm
Post
by SPH » Mon Sep 12, 2022 9:11 pm
Thx JHP for this Gif.
!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
luis
Addict
Posts: 3893 Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy
Post
by luis » 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.
SPH
Enthusiast
Posts: 561 Joined: Tue Jan 04, 2011 6:21 pm
Post
by SPH » Thu Jun 29, 2023 10:18 am
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
luis
Addict
Posts: 3893 Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy
Post
by luis » Thu Jun 29, 2023 11:07 am
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.