Search found 239 matches

by Westbeam
Apr 11, 2014 16:27
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

Hey :)

Do you know how to get the Z-Buffer in OpenB3D?
by Westbeam
Jan 24, 2014 22:10
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

Hmmm, I think I will try to import the mesh in Blender and export it as a B3D-Mesh. Thank you :)
by Westbeam
Jan 24, 2014 20:50
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

I tried to, but it's not working: For i2 As Integer=1 To CountSurfaces(mesh) Var surface=GetSurface(mesh,i2) For i3 As Integer=0 To CountVertices(surface)-1 Var nx = - VertexNX(surface, i3) Var ny = - VertexNY(surface, i3) Var nz = - VertexNZ(surface, i3) VertexNormal surface, i3, nx, ny, nz Next Ne...
by Westbeam
Jan 24, 2014 20:11
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

So how do I do edge splitting in OpenB3D with 3ds-meshes?
by Westbeam
Jan 24, 2014 9:18
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

Is it possible that edge splitting doesn't work in OpenB3D? When I mark the edges of my mesh as hard in Wings3D, then they aren't hard in my OpenB3D-programm. :/
by Westbeam
Jan 02, 2014 13:13
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

I made something, but I'm not sure what it is. I got the idea from Borderlands and XIII, where they use these black outlines: http://s7.directupload.net/images/140102/rbff7hs4.png Code: #Include once "openb3d.bi" #Define Render_OpenGL #Include once "2d.bi" ScreenRes 640,480,32 Gr...
by Westbeam
Aug 25, 2013 14:31
Forum: Sources, Examples, Tips and Tricks
Topic: TinyDialog a simple Windows and Linux user interface.
Replies: 100
Views: 32786

Re: TinyDialog a simple Windows and Linux user interface.

Terminal wrote:Aborting due to runtime error 12 ("segmentation violation" signal) in /home/alex/Downloads/TinyDialog/TinyDialog.bi::SHOW()
I get this seg fault when I try to run the Test01.bas under Linux. Something seems to be wrong with a function called SHOW(). Sadly I can't find this function.
by Westbeam
Jul 31, 2013 11:46
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

Yes, I forgot it. It looks awesome now. Thank you =]
by Westbeam
Jul 31, 2013 10:58
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

Yes

Code: Select all

ring=CreateRing(,,120,1+2+32,3,192,224,255,64,128,255)
by Westbeam
Jul 31, 2013 10:43
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

Well, thank you. It looks better now. :)
But I still miss the dithering, it's just one color at the moment.
It looks like this now:
Picture
It seems like it doesn't color the edges of the vertexes.
by Westbeam
Jul 31, 2013 8:58
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

Hmmm it works for the moment. I put some "MutExLock/Unlock" in the sub. However, I have a new problem. I want to have a nice looking atmosphere-glow-effect. Like this: http://www.christianhart.de/bb/planet/planet005.jpg I found this code under the screenshot and decided to use it. Function...
by Westbeam
Jul 18, 2013 18:33
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

I did, same problem.
by Westbeam
Jul 18, 2013 15:29
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

It only happens sometimes. And not only for me, some other guys have the same problem.
Screenshot

Uh, theres another wierd problem. When I let off the second "ChDir" in the code, it only loads one texture.
by Westbeam
Jul 17, 2013 19:15
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

Uh sry, I forgot the CreateMesh() in my example, but it's there.
"skyboxpath" and "sectorskybox" are the same, I just tried something in my code, sorry.
Skyboxpath contains the path to the skybox. I get this variable from my server.
by Westbeam
Jul 15, 2013 15:38
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1085
Views: 308572

Re: MiniB3d for FreeBasic

I have a wierd problem with X-tfb. Sometimes it doesn't load all 6 textures of the skybox. This looks kinda ugly, but I have no idea, where the problem is. I am creating the skybox like this: skyboxpath=GetInfoFromServer() Chdir(Exepath+"/data/gfx/"+skyboxpath) Var b=LoadBrush("1.png&...