Search found 2289 matches

by angros47
Nov 06, 2011 17:21
Forum: Sources, Examples, Tips and Tricks
Topic: Random Password Generator
Replies: 3
Views: 1595

Here are some hints about how to get a strong password:

http://xkcd.com/936/
by angros47
Nov 03, 2011 18:23
Forum: General
Topic: Procedural music from one line!
Replies: 1
Views: 603

Here is a windows version: 'Programmed by Angelo Rosina #DEFINE MusicFunction (i shr 6 or i or i shr (i shr 16))*10+((i shr 11) and 7) '#DEFINE MusicFunction i * (i shr 5 or i shr 8) shr(i shr 16) '#DEFINE MusicFunction i*((i shr 9 or i shr 13)and 25 and i shr 6) '#DEFINE MusicFunction i * ((i shr 1...
by angros47
Nov 03, 2011 16:40
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1089
Views: 310847

Try replacing, in tree.cpp, the line:

Code: Select all

	if( tree==NULL ) return false;
with:

Code: Select all

	if( tree==0 ) return false;
(it should produce exactly the same code, since NULL and 0 should be equivalent, but maybe some versions of the compiler don't like NULL)
by angros47
Nov 01, 2011 12:11
Forum: Community Discussion
Topic: Community effort proposal - 3D game maker
Replies: 16
Views: 3583

Maybe you misunderstand my post... I'm NOT going to use Darkbasic. I only said that, with DarkBasic, a game editor has been done, and so, since FB has all the features of darkbasic, a game editor in FreeBasic can be done, too.
by angros47
Nov 01, 2011 8:23
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1089
Views: 310847

There is no point in doing a "hello world" demo, since an "hello world" demo does not require 3d. Here is a demo that shows a cube: #include "openb3d.bi" screen 18, 32, , &h10002 graphics3d 640,480 var cube=createcube() var camera=createcamera() moveentity cube,0,0,...
by angros47
Oct 31, 2011 22:28
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1089
Views: 310847

Texture mapping is not an easy task (that's why there are dedicated programs). Try replacing your CreatePlatform function with this: Function CreatePlatform(basescale As Double = 1.0, parent As Any Ptr=0) As Any Ptr 'Triangles share vertices of the same face/surface var brush = CreateBrush(128,128,1...
by angros47
Oct 31, 2011 21:12
Forum: Community Discussion
Topic: Community effort proposal - 3D game maker
Replies: 16
Views: 3583

@darkhog some of your goals are similar to mines; that's why I worked on OpenB3d (easy to use, allows to build games of all genres, works on windows and Linux). Years ago, there was a compiler called DarkBasic (a game-oriented basic); the same company developed a drag-and-drop game editor (called &q...
by angros47
Oct 30, 2011 8:28
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1089
Views: 310847

Maybe a typo in mesh.cpp? Mesh* Mesh::CreateCylinder(int verticalsegments,int solid,Entity* parent_ent){ ... if(solid=true){ thissidesurf=thiscylinder->CreateSurface(); } -> if(solid==true){ You are right; thank you. The same bug affected original version of iMinib3d, and has been fixed in the next...
by angros47
Oct 28, 2011 23:28
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1089
Views: 310847

Cube mapping (and sphere mapping) are used to map reflections: so, they will always show the same part of the texture when you turn the mesh, but they will change when you move the camera. To be able to map a different texture to every face of a cube, a solution could be the use of VertexU and Verte...
by angros47
Oct 28, 2011 16:28
Forum: Community Discussion
Topic: Commercial Offshot permission
Replies: 24
Views: 4707

I'm adding many new thing like better structure, command name, etc. So why must I allow it's open distribution? Because the license requires you to do so. From the file GPL.txt: if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that...
by angros47
Oct 25, 2011 15:48
Forum: General
Topic: Is there an FbGfx compatible 3D library?
Replies: 21
Views: 2716

The license is the LGPL (FBGFX uses the same license, too). You are free to use the library to develop commercial games: you only have to include a copy of the license itself (the file lgpl.txt,) with the library when you distribute your game; also, if you make any change in the library (the library...
by angros47
Oct 24, 2011 15:27
Forum: General
Topic: Is there an FbGfx compatible 3D library?
Replies: 21
Views: 2716

Where can I find this Open3d? ~creek23 Right here: http://sourceforge.net/projects/minib3d/files/ Here is the official thread: http://www.freebasic.net/forum/viewtopic.php?t=15409 With OpenB3d, you'll have: - Blitz3d-like functions (syntax is almost identical) - Multi-platform (windows and linux) -...
by angros47
Oct 21, 2011 22:03
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1089
Views: 310847

Veggie already did it: http://www.glbasic.com/forum/index.php?topic=6982.msg56816#msg56816 Anyway, you could simply read the blitz manual: http://blitzbasic.com/b3ddocs/docs.php Most commands are similar. There are few differences: rotation commands, for example, have pitch that works in the opposit...
by angros47
Oct 21, 2011 18:11
Forum: General
Topic: Procedural music from one line!
Replies: 1
Views: 603

Procedural music from one line!

I've found this site: http://wurstcaptures.untergrund.net/music/ It can make a sound from a formula, and it can generate a very complex tune; it's worth a try. Can the same result be achieved in FreeBasic? Of course it can: here is a program (for linux): '#DEFINE MusicFunction (i shr 6 or i or i shr...
by angros47
Oct 21, 2011 17:57
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1089
Views: 310847

This is the main page:
http://sourceforge.net/projects/minib3d/files/

The official wiki (very incomplete) is at http://sourceforge.net/apps/mediawiki/m ... =Main_Page

When I made the site, I haven't change the library name to OpenB3d yet.