Search found 37 matches

by Haubitze
Dec 02, 2018 11:18
Forum: General
Topic: Too restrictive compilation control on dynamic arrays in the main code?
Replies: 30
Views: 1727

Re: Too restrictive compilation control on dynamic arrays in the main code?

hm yeah for 64bit the code is sub dothis static as long locked if locked then return print "Greetings from " + __function__ locked=1 end sub dothis '============================ 'one code line to be greeted again '============================ 'dim x as long ptr=cast(long ptr,@dothis):*(x+8...
by Haubitze
Dec 01, 2018 23:13
Forum: General
Topic: Too restrictive compilation control on dynamic arrays in the main code?
Replies: 30
Views: 1727

Re: Too restrictive compilation control on dynamic arrays in the main code?

a little hack where works by me sub dothis static as long locked if locked then return print "Greetings from " + __function__ locked=1 end sub dothis '============================ 'one code line to be greeted again '============================ dim x as long ptr=cast(long ptr,@dothis):*(x+...
by Haubitze
Nov 12, 2018 10:07
Forum: Tips and Tricks
Topic: simulate oldscool amber/green monitor with rgb inputs
Replies: 4
Views: 787

Re: simulate oldscool amber/green monitor with rgb inputs

oh my fault. you can delete this line, all you need is in the posted code ;) here is an newer version, the above version has an bug with the orginal picture colors, now it is fixed. #Include "fbgfx.bi" '#Include "colorizer.bi" Using FB Static scr_w As Integer=1024 Static scr_h As...
by Haubitze
Nov 11, 2018 18:42
Forum: Tips and Tricks
Topic: simulate oldscool amber/green monitor with rgb inputs
Replies: 4
Views: 787

Re: simulate oldscool amber/green monitor with rgb inputs

so now an bether version of this thing, its a bit slow but it works. todo: improve speed render curvature of an crt screen blur the output a bit phosphor glow has to imlement you need an image, you can use any rgb bmp or create your own 32 bit image. edit: speed nearly doubled, using a macro to get ...
by Haubitze
Nov 10, 2018 8:45
Forum: General
Topic: [Code question] variables and unwanted results.
Replies: 10
Views: 824

Re: [Code question] variables and unwanted results.

how fxm says, in your last code example in the XC sub you have to print out NewZ/Y not x/y ;) sub TheXC (x as integer, y as integer, z as integer, xangle as integer, yangle as integer, zangle as integer) DIM AS INTEGER NewY, NewZ NewY = y * cos(XAngle * (D_PI / 180)) - z * sin(XAngle * (D_PI / 180))...
by Haubitze
Nov 02, 2018 20:40
Forum: Tips and Tricks
Topic: simulate oldscool amber/green monitor with rgb inputs
Replies: 4
Views: 787

simulate oldscool amber/green monitor with rgb inputs

hey there, i have write an simple thing that converts normal rgb values to any else "monocrome" values. i dont know if and how it can improved. you can use keys a and d to anjust the brighness of the output. i hope anyone can use this for projects that matchs "oldscool". so here ...
by Haubitze
Oct 09, 2018 7:01
Forum: Projects
Topic: 3D Playground
Replies: 26
Views: 3005

Re: 3D Playground

hehe so then surprise me ;D
by Haubitze
Oct 08, 2018 8:31
Forum: Projects
Topic: 3D Playground
Replies: 26
Views: 3005

Re: 3D Playground

oh nice, so i dont have to switch to OGL? if your refactored Engine is similar in handling and programming i can switch to this.
so i cant wait for the refactored thing. ;)
by Haubitze
Sep 29, 2018 12:20
Forum: Libraries
Topic: MiniB3d for FreeBasic
Replies: 947
Views: 179571

Re: MiniB3d for FreeBasic

hey there, i have an problem with my CubeSphere. if i generate it from scratch it looks okay but if i cenerate it fom an own "cubemap" texture it is craked. can anyone help me to fix that please? i stole the code to generate the sphere from Krischan from the BB3D forum. but he only uses te...
by Haubitze
Sep 03, 2018 21:09
Forum: Projects
Topic: 3D Playground
Replies: 26
Views: 3005

Re: 3D Playground

hehe okay so i have to imlement it by my self ;)

logarithmic scale sounds good so i will take a look thanks.
i dont like OGL programming but anytime i will take a look to it.

salute
by Haubitze
Sep 03, 2018 14:06
Forum: Projects
Topic: 3D Playground
Replies: 26
Views: 3005

Re: 3D Playground

He everyone, now i generate solarsystems using this resource http://sol.trisen.com/downloads/wg.pdf . if i get in to an sector i try to render the system. but all is to far away (so it is to small to see it). it uses for Stars this measurements star size = x*SOLSIZE star seperation = x*AU for the pl...
by Haubitze
Aug 22, 2018 6:16
Forum: Projects
Topic: 3D Playground
Replies: 26
Views: 3005

Re: 3D Playground

hey badidea and Paul Doe, thanks for testing. in the next demo i will show an FPS counter. for the A* i think an Plain A* where enoug for me. if i create hundreds of ships and they are all searching for an path to another target then i think Vector Field Pathfinding is a bit to much. the rotation pr...
by Haubitze
Aug 21, 2018 18:33
Forum: Projects
Topic: 3D Playground
Replies: 26
Views: 3005

Re: 3D Playground

Here a little update on my Demo, i think the MST is build a bit faster. i also have adjust the colors a bit. but my A* algo do not the work i sugested :( eventualy anyone can tell me what i make wrong. but i have to say the code isnt commented an its not clean to this time. my first thinking was tha...
by Haubitze
Aug 10, 2018 11:27
Forum: Projects
Topic: 3D Playground
Replies: 26
Views: 3005

Re: 3D Playground

Hello Paul Doe, i have a question about camera position. i need to turn a camera around a point. so i can "orbit" him. in BlitzBasic3D i think i use lookat and move. but i cant build it in your engine. can you explain how i can orbit an point with a given distance with an camera? thanks fo...
by Haubitze
May 14, 2018 11:25
Forum: Tips and Tricks
Topic: Simple Wather Rippler
Replies: 9
Views: 1027

Re: Simple Wather Rippler

Now i code a fire effect. it is most the same prozedure iuse in the wather-ripple. the pallete is not the best but it works. also the code for the cooling map is not the best. i think a 2d-perlin-noise will give betther results. so here is the idea. #Include "fbgfx.bi" Using FB '#Include &...

Go to advanced search