Search found 619 matches

by bluatigro
Jan 08, 2020 11:19
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 485

Re: OPENGL NEHE EXAMPLES

if that is the case i stop whit this fount examples of open gl 1.1 on www : https://www.opengl.org/archives/resources/code/samples/redbook/ they are in c first try at hello.c to hello.bas error : i get a black screen how do i change _opengl.bas to full screen ? ''bluatigro 8 jan 2020 ''hello.bas ''b...
by bluatigro
Jan 07, 2020 14:56
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 485

Re: OPENGL NEHE EXAMPLES

nehe-05 '' BLUATIGRO 7 JAN 2020 '' NEHE 05 #INCLUDE "_OPENGL.bas" dim rtri as single ' Angle for the triangle dim rquad as single ' Angle for the quad glEnable GL_CULL_FACE do glClear GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT ' Clear screen and depth buffer glLoadIdentity ' Reset the curr...
by bluatigro
Jan 07, 2020 14:35
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 485

Re: OPENGL NEHE EXAMPLES

nehe-04 '' BLUATIGRO 7 JAN 2020 '' NEHE 03 primativs and colors and animation #INCLUDE "_OPENGL.bas" dim rtri as single ' Angle For The Triangle ( NEW ) dim rquad as single ' Angle For The Quad ( NEW ) do glClear GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT ' Clear The Screen And The Depth B...
by bluatigro
Jan 07, 2020 14:22
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 485

Re: OPENGL NEHE EXAMPLES

nehe-01 is realy the nehe-02 example nehe-03.bas '' BLUATIGRO 7 JAN 2020 '' NEHE 03 primativs and colors #INCLUDE "_OPENGL.bas" glClear GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT ' Clear The Screen And The Depth Buffer glLoadIdentity ' Reset The View glTranslatef -1.5,0.0,-6.0 ' Move Left ...
by bluatigro
Jan 07, 2020 14:08
Forum: General
Topic: OPENGL NEHE EXAMPLES
Replies: 12
Views: 485

OPENGL NEHE EXAMPLES

i shal try to translate as many a nehe examlpe as i can error : nehe-01 does not stop good _opengl.bas : '' BLUATIGRO 5 JAN 2020 '' _OPENGL.BAS '' MINNAMAL STUF #ifndef h_opengl #define h_opengl #include "fbgfx.bi" #if __FB_LANG__ = "fb" Using FB #endif #include once "GL/gl....
by bluatigro
Nov 06, 2019 9:41
Forum: General
Topic: PI : many digits try
Replies: 4
Views: 205

PI : many digits try

what is the good way for this ? [ translated from vb2005 code ] const as integer n = 100 sub array_mul( byref a() as integer , f as integer ) dim as integer c = 0 , p , h for p = n to 0 step -1 h = a( p ) * f + c c = int( h / 10 ) a( p ) = h mod 10 next p end sub sub array_div( byref a() as integer ...
by bluatigro
Aug 21, 2019 8:52
Forum: General
Topic: Advanced Raycasting?
Replies: 1
Views: 2362

Re: Advanced Raycasting?

i did some raytracing on this forum [ raytrace try ]
look if you can use that
by bluatigro
Jun 26, 2019 13:14
Forum: General
Topic: suker lump desolve sim try
Replies: 6
Views: 846

suker lump desolve sim try

this is a sim of a suker lump in water slowly desolving error : where com the suker on the edge from ? ''suker lump desolve try screen 18 , 32 dim as integer winx , winy screeninfo winx , winy paint ( 1 , 1 ) , 0 line ( winx / 4 , winy / 4 ) - step ( winx / 2 , winy / 2 ) , rgb( 255 , 255 , 255 ) , ...
by bluatigro
Feb 17, 2019 10:35
Forum: General
Topic: blue toth or wifi ?
Replies: 4
Views: 529

Re: blue toth or wifi ?

i tryed a battle ship game in a other basic it is more complex then i did think so i decided to try a chat program first [ i shal post some code if i have it ] eventualy i want to try 'wifmaze' senario : several player's are as a sphere in a maze and try to shoot eatch other there are ninja's and du...
by bluatigro
Feb 15, 2019 10:13
Forum: General
Topic: blue toth or wifi ?
Replies: 4
Views: 529

blue toth or wifi ?

i want to create a set of wireles network games ?1 : do i use BT or wifi ? ?2 : is there anyone out there whoo know's how to do 1 or both ? a module whit functions to do this wood be nice as first project i sugest batleship [ both player's have a pc whit a square whit ships ] [ and try to gues the o...
by bluatigro
Feb 05, 2019 8:29
Forum: General
Topic: AI : ant road map creator
Replies: 1
Views: 245

AI : ant road map creator

i m trying to create a road map by ants this is based on a presenation by the ai hcc ig see also : http://www.ai.hcc.nl/nieuws.html [ dutch ] [ wil be soon there ] error : my food is not on good place '' bluatigro 5 feb 2019 '' ant road map maker screen 18 , 32 dim shared as integer winx , winy scre...
by bluatigro
Jan 20, 2019 10:01
Forum: General
Topic: 2d quasi cristals
Replies: 3
Views: 400

Re: 2d quasi cristals

update : try 2 i changed the idea code i added some REM so you can see what what shoot do '' bluatigro 16 nov 2018 '' 2D quasi cristals randomize timer screen 18 , 32 dim shared as integer winx , winy , ptel screeninfo winx , winy const as double pi = atn( 1 ) * 4 const as ulong black = rgb ( 0 , 0 ...
by bluatigro
Jan 18, 2019 14:12
Forum: General
Topic: 2d quasi cristals
Replies: 3
Views: 400

2d quasi cristals

error : i get only 2 cristals '' bluatigro 16 nov 2018 '' 2D quasi cristals randomize timer screen 18 , 32 dim shared as integer winx , winy , ptel screeninfo winx , winy const as double pi = atn( 1 ) * 4 const as ulong black = rgb ( 0 , 0 , 0 ) const as ulong yellow = rgb( 255 , 255 , 0 ) const as ...
by bluatigro
Jan 12, 2019 13:18
Forum: General
Topic: arduino & tfduino whit FB ?
Replies: 1
Views: 242

Re: arduino & tfduino whit FB ?

update : i font the folowing on the libertyB site : who helps to translate this to FB ? WARNING : this is libertyB code ' Command Pin Range Value to send Response '==================================================================== ' GetDigital 0-13 - pin,0 or 1 ' The port is set to input and the p...
by bluatigro
Jan 12, 2019 11:38
Forum: General
Topic: arduino & tfduino whit FB ?
Replies: 1
Views: 242

arduino & tfduino whit FB ?

is there here anyone whit experiance
whit controling the arduino and ftduino
whit FB

how do i l;ink a DIY c++ lib to FB ?
how do i create a c++ lib that can be linked to FB ?

a verry simple example wil be good

Go to advanced search