Search found 21 matches

by Gunslinger
Aug 25, 2019 23:28
Forum: Projects
Topic: Marching Cubes
Replies: 1
Views: 38

Marching Cubes

I came across a term called Marching Cubes on youtube somewhere. He pointed me to this source http://paulbourke.net/geometry/polygonise/ So i tested my freebasic skills and made this from it. With the help of the nice openB3D lib it was not so hard. http://ac1.servegame.com:88/Screens/Screenshot05.p...
by Gunslinger
Aug 24, 2019 12:13
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 942
Views: 152094

Re: MiniB3d for FreeBasic

I'm unable to say whats going on. Look like there are differences in the loadmesh functions. I made a example hier: http://ac1.servegame.com:88/download/Loadfighter.zip .b3d files load fine like the ninja.b3d the fighter.3ds file from air demo in not working on peters version, well on angros47 openb...
by Gunslinger
Aug 21, 2019 18:26
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 942
Views: 152094

Re: MiniB3d for FreeBasic

I will look in the loadmesh dieper. When i get back from vacation.

Thanks angros for the updatelight fix.
by Gunslinger
Aug 20, 2019 17:39
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 942
Views: 152094

Re: MiniB3d for FreeBasic

After problems with loadmesh from DJpeters in openB3D-xx.dll If no once report any problem's how we should fix them ? I fixed only small bugs and never touched the load function what is the problem ? Joshy i'm not sure. i only know the fighter.3ds from my last zip file does not load when i use your...
by Gunslinger
Aug 20, 2019 16:42
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 942
Views: 152094

Re: MiniB3d for FreeBasic

I got it, the shadow is not done right. Great tip using -1 to -3 for no shadow cast lights. I have not seen that on any forums. Let me show a picture what i mean with light problem i have. http://ac1.servegame.com:88/image/ScreenshotOpenB3Dshadow03.PNG The spotlight shows up my Triangle plane. While...
by Gunslinger
Aug 19, 2019 21:56
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 942
Views: 152094

Re: MiniB3d for FreeBasic

Oke i got something working light now with a quick rotating sun. http://ac1.servegame.com:88/download/AirTest01.zip After problems with loadmesh from DJpeters in openB3D-xx.dll i got back to older version. My problems with light came from flat planes or empty terrain. Some how it not working for spo...
by Gunslinger
Aug 17, 2019 23:04
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 942
Views: 152094

Re: MiniB3d for FreeBasic

Oke forget the last error. I have loaded some terrain yes. Next step for me is to cast some sunlight on it for the right look. That is where i get stuck. Not lucky with shaders and to complicated me for now. I placed a directional light on top of the camera position. Seems the best sunlight effect o...
by Gunslinger
Aug 15, 2019 22:00
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 942
Views: 152094

Re: MiniB3d for FreeBasic

Thanks angros47 for your quick replay. your trick worked for now. I'm new to openGL and openB3D. Hoop you still working on it? Because a lot of things can be added.(Like terrain functions) Also it make 3d rendering in freebasic easy to do, just whats needed. I just ran into a problem with the differ...
by Gunslinger
Aug 15, 2019 10:26
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 942
Views: 152094

Re: MiniB3d for FreeBasic

I can use some help with this. After some days testing demos en reading on openB3D i got to like it. Now i'm making some basic things with shadows and got some problems. Very sure it normal whats happening. Can someone tell me why and how to prevent it? Some kind of overlapping shadows that invert t...
by Gunslinger
Oct 09, 2018 21:14
Forum: Game Dev
Topic: 3D polygon world render
Replies: 12
Views: 2090

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

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

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

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

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.

Go to advanced search