Search found 652 matches

by bluatigro
May 07, 2012 11:42
Forum: General
Topic: matrix 3d problem
Replies: 7
Views: 285

Re: matrix 3d problem

update : -replaced the link sub -corrected the feet of the man -added some coments wil put somting like it in my opengl projects this wil be build into my raytracer to it works as expected now ''create matrix type to hold position & orentation type matrix dim as single m( 3 , 3 ) end type ''crea...
by bluatigro
May 06, 2012 18:17
Forum: General
Topic: matrix 3d problem
Replies: 7
Views: 285

Re: matrix 3d problem

error :
-the dodeca shoot be sphere like al the time
-the lim's dont join up

i shal ad comments so you can folow the flow

i know that this shoot work because i made this earlyer in vb2008

i m looking in for skeletal animations
so i can store the animations seperately in code
by bluatigro
May 04, 2012 13:21
Forum: Beginners
Topic: FBide problem
Replies: 2
Views: 303

FBide problem

how do i get fbide to store the changes

to editor character types

now if i want bigger characters

i have to change the settings every time i start fbide

i solved this partly by wearing readglasses

but that is not ideal to read my code
by bluatigro
May 04, 2012 13:04
Forum: Tips and Tricks
Topic: fuzzy logic example
Replies: 0
Views: 385

fuzzy logic example

type fuzz dim as single a , b , c , d declare sub fill( na as single , nb as single , nc as single , nd as single ) end type sub fuzz.fill( na as single , nb as single , nc as single , nd as single ) this.a = na this.b = nb this.c = nc this.d = nd end sub declare function fuzzy( x as single , f as ...
by bluatigro
May 04, 2012 11:13
Forum: Tips and Tricks
Topic: E motions sim
Replies: 6
Views: 720

E motions sim

you can use this to build a emotional AI type e_motion dim naam as string dim x as single dim y as single dim z as single declare constructor() declare constructor( n as string , nx as single , ny as single , nz as single ) declare sub fill( n as string , nx as single , ny as single , nz as single )...
by bluatigro
May 04, 2012 9:36
Forum: Game Dev
Topic: a simple maze
Replies: 4
Views: 1047

Re: a simple maze

you mean : if mouse_x <> -1 and mouse_y <> -1 then #include once "GL/gl.bi" #include once "GL/glu.bi" #include "fbgfx.bi" #if __FB_LANG__ = "fb" Using FB '' Scan code constants are stored in the FB namespace in lang FB #endif dim shared as integer mouse_x dim ...
by bluatigro
May 04, 2012 9:26
Forum: General
Topic: matrix 3d problem
Replies: 7
Views: 285

matrix 3d problem

i m also trying graphics whit matrix's i have a bug / typo somewere ? type matrix dim as single m( 3 , 3 ) end type operator * ( a as matrix , b as matrix ) as matrix dim as integer i , j , k dim uit as matrix for i = 0 to 3 for j = 0 to 3 '' uit.m( i , j ) = 0 for k = 0 to 3 '' uit.m( i , j ) += a....
by bluatigro
May 04, 2012 9:21
Forum: General
Topic: color problem
Replies: 2
Views: 233

color problem

the eye's shoot be white but are blue what is my typo / error ? '' 3d engine dim shared as single v( 20 , 6 ) dim shared as single sk( 64 , 2 ) declare sub link( no as integer , x as single , y as single , z as single _ , pan as single , tilt as single , rol as single , p as integer ) declare sub ch...
by bluatigro
May 04, 2012 8:47
Forum: Beginners
Topic: *.bi ?
Replies: 7
Views: 374

Re: *.bi ?

changed code of .bi [ see below ] got : undeclared defenition [ several times ] can i overload fb comands ? example : declare function len( x as complex ) as single can i do : #include "type\complex.bi" #ifndef COMPLEX_BI #define COMPLEX_BI type complex dim i as double dim r as double decl...
by bluatigro
May 03, 2012 13:45
Forum: Beginners
Topic: *.bi ?
Replies: 7
Views: 374

Re: *.bi ?

it shoot be done like this i think but i got a strange error .bi type complex dim i as double dim r as double declare constructor() declare constructor( a as double , bj as double ) declare sub fill( a as double , bj as double ) declare function lenght() as double end type .bas #include "t_comp...
by bluatigro
May 03, 2012 13:22
Forum: Beginners
Topic: split( a as string ) as string() ?
Replies: 11
Views: 910

split( a as string ) as string() ?

i want to split a string into parts :
o = split( "a test of split" )
o( 1 ) => "a"
o( 2 ) => "test"
etc...

how do i do that in fb ?
by bluatigro
May 03, 2012 11:06
Forum: Beginners
Topic: *.bi ?
Replies: 7
Views: 374

*.bi ?

i want to split my code into *.bi's and *.bas's

instructions please
by bluatigro
May 03, 2012 10:45
Forum: Projects
Topic: raytracer
Replies: 13
Views: 1175

raytracer

this is my first try at a raytracer in fb bug : the spheres dont have random positions ''RAYTRACER ''bluatigro ''start : 19 apr 2012 type t3d x as single y as single z as single declare constructor() declare constructor ( x as single , y as single , z as single ) declare sub fill( x as single , y as...
by bluatigro
May 03, 2012 10:31
Forum: Beginners
Topic: maze creation
Replies: 2
Views: 328

Re: maze creation

thans for help

see this forum | programming | game dev | a simple maze

what i did whit it
by bluatigro
May 03, 2012 10:29
Forum: Game Dev
Topic: a simple maze
Replies: 4
Views: 1047

a simple maze

this is my first game in fb future : -windows fulscreen & no border -joystick control how big can de maze be max ? i took a save bet at 30 but i think it can be more #include once "GL/gl.bi" #include once "GL/glu.bi" #include "fbgfx.bi" #if __FB_LANG__ = "fb&qu...

Go to advanced search