Search found 107 matches
- May 04, 2024 9:37
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
An example of shader code for shadows (although pretty bare) is included in OpenB3D Plus add on Regarding the chunk world system. have also a look at built in octrees (blocks cannot cast shadows, but meshes inside octrees can, I think) Sorry i cant not find OpenB3D plus add-on examples. i know i se...
- Apr 30, 2024 18:27
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
Thanks, camera bigger range works not a real solution for everything. So i have to add some kind of chunk world system again like i did with my other game. One other thing, shadow and fog is not working nice together. When object is complete in think fog it is still darker in shadow looks strange. R...
- Apr 23, 2024 10:44
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
I have a new project the physics got to complex with mij space game. (for the time i have) Make a tile world now but run into shadow problems. Everting looks fine when i set camera view range bigger then my world. When i set the view range to max 60 then shadow have problems close to edge before bec...
- Apr 20, 2024 13:01
- Forum: Sources, Examples, Tips and Tricks
- Topic: Custom typeface (font)
- Replies: 8
- Views: 714
Re: Custom typeface (font)
Checkout Sebastian Lague on youtube
https://www.youtube.com/watch?v=SO83KQuuZvg
He going mad with the truetype font in 3D, very interesting to watch him struggle with al little bugs.
https://www.youtube.com/watch?v=SO83KQuuZvg
He going mad with the truetype font in 3D, very interesting to watch him struggle with al little bugs.
- Feb 10, 2024 9:59
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
Ah yes got it now :) First i did think csg function is for subtracting mesh shapes from 2 bodies. I'm working as a engineer with 3D cad software a lot, where sometimes i use to subtract/add or intersect 3D bodies. I was mistaken this is the same idea. it's not. Maybe it's a good idea to pack some of...
- Feb 09, 2024 12:05
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
The decal mesh is supposed to be on the sphere Sorry i did not know, and yes i got the last 1.3 version. Still think there are very big caps in csg mesh. My modifactaions #include "openb3d.bi" screenres 1920,1080, 32, , &h10002 Graphics3d 1920,1080,32,1,1 var camera=CreateCamera() var...
- Feb 08, 2024 19:02
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
Nice work, thanks for the updates. I have played around with mesh svg and lighting seems to be fix. in version 1.3 I don't think gaps in the mesh is suppose to happen? Link to screen: https://ac1.servegame.com:88/Mesh-svg.png Also made some screen of state of my game the world/universe is almost inf...
- Feb 06, 2024 15:30
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
Code: Select all
CameraClsColor(cam3, 0.8, 0.5, 0.7)
CameraFogColor(cam3, 0.1, 0.5, 0.9)
It will not fix the camera problem, seems a bug to me.
Same on LibOpenB3D version.
- Jan 27, 2024 12:08
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
Thank you for your information. my function checks uv if coordinates are different and copies normals from original in same way (maybe..it has bugs) For spheres it works great now. I did some testing with 1000 sphere(32) with and without mesh optimize function. All rolling around with physics on the...
- Jan 25, 2024 18:59
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
I'm not sure what you mean with EntityMatrix. UseEntity function? no idea how to use that. But i got distracted bij how many vertex point are created in createspheres() and createcube() createspheres(16) has 1984 vertices and 1425 are duplicated vertex point at same points createspheres(32) has 8064...
- Jan 21, 2024 20:24
- Forum: Libraries & Headers
- Topic: libOpenB3D Win32/64 Linux32/64
- Replies: 27
- Views: 15946
Re: libOpenB3D Win32/64 Linux32/64
Found a probleem in openb3d.bi file declare sub ClearSurface (byval _Surface as tSurface ptr, _ byval bClearAllVertices as long = true, _ byval bClearAllTriangles as long = true) needs to be declare sub ClearSurface (byval _Surface as tSurface ptr, _ byval bClearAllVertices as long = 1, _ byval bCle...
- Jan 21, 2024 8:49
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
This example should work a bit better. By the way, if you need a complete physics engine, you would indeed need an external libraries. The functions provided by OpenB3D are mostly for collision detections #include "openb3d.bi" screen 18, 32, , &h10002 Graphics3d 640,480,32,1,1 var cam...
- Jan 20, 2024 13:49
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
I'm trying to make a builder for a spaceship in game. like a box grid 2d. like engine and top-cone, fuel tanks, living apartments, trusters. Where you can place them there every you like. but placing truster out of center of mass will result in problems on lift-off. So i did not had a lot of time th...
- Jan 13, 2024 13:07
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
Because the constraints affects the pivots, not their parent entities. The pivots should not be children of player, they should be independent entities, and then you should use CreateRigidBody to use them as a reference for the player entity (you need four pivots: one for the position, and three fo...
- Jan 09, 2024 7:31
- Forum: Libraries & Headers
- Topic: MiniB3d for FreeBasic
- Replies: 1089
- Views: 311017
Re: MiniB3d for FreeBasic
got it, Any idea why createconstraints are not keeping the box at place ?
making the cube feets it one entity is also not working for me.
making the cube feets it one entity is also not working for me.