Search found 12 matches

by Gunslinger
Oct 09, 2018 21:14
Forum: Game Dev
Topic: 3D polygon world render
Replies: 12
Views: 1544

Re: 3D polygon world render

Thanks, Freezes happens when the video buffer is to small. It wil do a redim preserve for more room as many times as needed. That array is very big so it freezes a bit, over times it will stop doing that. Yes, but it shouldn't freeze the app. Also, why such a simple scene uses an inordinate amount ...
by Gunslinger
Oct 09, 2018 20:32
Forum: Game Dev
Topic: 3D polygon world render
Replies: 12
Views: 1544

Re: 3D polygon world render

Cool demo. Can the code be used to make something like this? https://www.youtube.com/watch?v=8piDU5UFA68 I remember the fun of learning to land on the air craft carrier without crashing. Flying under the Golden Gate bridge and over Alcatraz. Looking back on some of the old software I have to take m...
by Gunslinger
Oct 09, 2018 11:15
Forum: Game Dev
Topic: 3D polygon world render
Replies: 12
Views: 1544

Re: 3D polygon world render

Let me know if you have any tips. :-) Nice! Didn't take a really depth look, but for now I can tell you that it freezes the process after a while. Are you using getMouse() in another thread? It is either this, or you're having a race condition somewhere in the code. One tip for now: the movement sp...
by Gunslinger
Oct 08, 2018 22:33
Forum: Game Dev
Topic: 3D polygon world render
Replies: 12
Views: 1544

Re: 3D polygon world render

I have been working on my one 3D render and i like to show some pictures and source if you like ... A little source code would be nice, I think ;) The source code is not little any more. So many thing to improve and cleanup. here you go. http://ac1.servegame.com:88/download/ArcherCraft%20by%20Gungl...
by Gunslinger
Oct 07, 2018 21:21
Forum: Game Dev
Topic: 3D polygon world render
Replies: 12
Views: 1544

Re: 3D polygon world render

Update 2
I got back on it. https://youtu.be/gB4ajrh-aU0
Now loads from STL 3D files.

The 200 trees are objects and the cubes are dropped in solid world.
Moving light is still not on the objects.
by Gunslinger
Mar 16, 2017 17:32
Forum: Projects
Topic: Pi day
Replies: 6
Views: 886

Re: Pi day

Thanks for the code updates. I got the idea for a YouTube user. For you i searched my history and here you go. https://www.youtube.com/watch?v=HrRMnzANHHs Matt Parker @ http://standupmaths.com And he got it from Najeeb Sheikh and Jake Trookman (i think) I know it's nice to always tell your source. ...
by Gunslinger
Mar 16, 2017 16:52
Forum: Projects
Topic: Pi day
Replies: 6
Views: 886

Re: Pi day

Thanks for the code updates. I got the idea for a YouTube user. For you i searched my history and here you go. https://www.youtube.com/watch?v=HrRMnzANHHs Matt Parker @ http://standupmaths.com And he got it from Najeeb Sheikh and Jake Trookman (i think) I know it's nice to always tell your source. B...
by Gunslinger
Mar 16, 2017 7:37
Forum: Projects
Topic: Pi day
Replies: 6
Views: 886

Pi day

For Pi day i made this code. have fun declare function gcd(a as uinteger, b as uinteger) as uinteger dim as ulongInt prime1, count dim as ulongInt ii=1 dim as uinteger ints = &hFFFF screen 19 do if gcd(int(rnd*ints+1), int(rnd*ints+1)) = 1 then prime1 +=1 count += 1 if count mod 10000 = 0 then p...
by Gunslinger
Feb 22, 2017 23:16
Forum: Game Dev
Topic: 3D polygon world render
Replies: 12
Views: 1544

3D polygon world render

Hello Everyone, I have been working on my one 3D render and i like to show some pictures and source if you like. I call it a low-polygon cartoon style 3D. Never did think to make it this far. Here is a picture i like http://ac1.servegame.com:88/Screens/Screenshot03.png some older pictures are http:/...
by Gunslinger
Apr 10, 2016 20:21
Forum: Beginners
Topic: [S]imple [N]etwork [C]onnection - Advice needed
Replies: 12
Views: 583

Re: [S]imple [N]etwork [C]onnection - Advice needed

Hello, i like to say there are still some problems with the Simple Netwerk Connection and i am still working on this. Problems i do know are, closing the connection is done wrong it's missing the Shutdown(socket) making the connection timeout go wrong. other problem is the delay in site the getdata ...
by Gunslinger
Mar 13, 2016 12:05
Forum: Tips and Tricks
Topic: Antialias Line Drawing
Replies: 9
Views: 1285

Re: Antialias Line Drawing

Thank you, I tested this line and looks nice. only when i draw a line on a red screen it will use black for Anti-aliasing. So i modified the pset to add the color under it and i fount out pset sometimes draws on the same point multiple times Making the line look to fat. I will use it any way, just a...

Go to advanced search