Search found 317 matches

by UEZ
Jun 07, 2019 7:21
Forum: Tips and Tricks
Topic: Auto-complete input text [windows only]
Replies: 2
Views: 194

Re: Auto-complete input text [windows only]

nimdays wrote:Could you provide a screenshot?
I typed "window" and nothing happened(winxp)


Thanks for your feedback. I can test it only on my Win10 machine but it seems it doesn't run properly on WinXP.
by UEZ
Jun 05, 2019 17:28
Forum: Tips and Tricks
Topic: Auto-complete input text [windows only]
Replies: 2
Views: 194

Auto-complete input text [windows only]

Here an example how to create an auto-complete list for an input box control using Windows API. 'Coded by UEZ build 2019-06-07 beta #Include "windows.bi" #Include "win\commctrl.bi" Declare Function WndProc(hWnd As HWND,uMsg As UINT,wParam As WPARAM,lParam As LPARAM) As Integer De...
by UEZ
Jun 01, 2019 18:58
Forum: Beginners
Topic: How to get and use a dictionary
Replies: 14
Views: 514

Re: How to get and use a dictionary

Maybe this will help you: viewtopic.php?f=7&t=26646
by UEZ
Jun 01, 2019 18:51
Forum: Projects
Topic: Simple WinAPI GUI library
Replies: 58
Views: 12330

Re: Simple WinAPI GUI library

You can do something like this here. Modified "Window.bas" example: '=============================================================================== ' Window.bas ' How to create a window and how to use simple controls ' Created on 08/04/2015 ' Last changes on October 20, 2016 '============...
by UEZ
Jun 01, 2019 14:44
Forum: Projects
Topic: Simple WinAPI GUI library
Replies: 58
Views: 12330

Re: Simple WinAPI GUI library

Hey, First of I would like thank the creator for this nice library. Later when using the library I realized that it would be nice if we could also put freebasic image buffers onto a window. I already compiled a subroutine of code (from various code snippets from the forum) that gets the job done, ....
by UEZ
May 17, 2019 14:19
Forum: Community Discussion
Topic: New array features
Replies: 83
Views: 3860

Re: New array features

Here my suggestions: array_shuffle -> Shuffles selected rows of 1D or 2D arrays - can be limited to a specific column in 2D arrays array_transpose -> transposes a 1D or 2D array (swaps rows and columns) array_concatenate -> concatenate two arrays - either 1D or 2D with the same number of columns arr...
by UEZ
Apr 23, 2019 13:27
Forum: Tips and Tricks
Topic: Rutt Etra Izer Effect v0.7
Replies: 2
Views: 363

Re: Rutt Etra Izer Effect v0.6

Wow, that's pretty cool. What does the effect do? Is it giving a Z coordinate based on the colour value? Thank you for your feedback. :-) Yes, the Z depth is the grey scale of the color. The Z depth can be adjusted by the divider. The less the divider is the more depth will be drawn. To invert the ...
by UEZ
Apr 23, 2019 7:39
Forum: General
Topic: Mandelbrot and Julia Sets fractals without any drawing code?
Replies: 3
Views: 235

Re: Mandelbrot and Julia Sets fractals without any drawing code?

Does this help? Dim Shared As ULong iW, iH iW = 100 iH = 60 Dim as Ulong iMax = iW * iH - 1 , iX, iY Function MandelIter(cx As Single, cy As Single, maxIter As ULong) As ULong Dim As Single x = 0.0, y, xx, yy, xy Dim As ULong i = maxIter While (xx + yy <= 4 And i > 0) xy = x * y xx = x * x yy = y * ...
by UEZ
Apr 22, 2019 18:05
Forum: Tips and Tricks
Topic: Rutt Etra Izer Effect v0.7
Replies: 2
Views: 363

Rutt Etra Izer Effect v0.7

Here another graphical example to display an image using the Rutt Etra Izer video effect. If you want to use the predefined image settings than you need first the image. Copy / paste the code to your editor and run it. It will convert the JPG to BMP format and save it to disk (Windows only!). Put it...
by UEZ
Apr 18, 2019 11:11
Forum: Tips and Tricks
Topic: 3d animated tunnel in pure FB
Replies: 15
Views: 17502

Re: 3d animated tunnel in pure FB

Here another Tunnel flight: Tunnel Flight v2.5.2 (too long to post it here directly)

Image
by UEZ
Apr 17, 2019 8:11
Forum: Projects
Topic: 3D Geometry , basics
Replies: 28
Views: 3097

Re: 3D Geometry , basics

Thank you Luxan. This is non string parser, but experimenting with light shading with a given trig function. Type V3 As Single x,y,z End Type Operator -(v1 As v3,v2 As v3) As v3 'v1-v2 Return Type(v1.x-v2.x,v1.y-v2.y,v1.z-v2.z) End Operator Operator ^ (Byref v1 As v3,Byref v2 As v3) As v3 'cross pr...
by UEZ
Apr 10, 2019 22:32
Forum: Tips and Tricks
Topic: Rotating Earth build 2019-04-14
Replies: 6
Views: 520

Re: Rotating Earth build 2019-04-11

Little update on 2019-04-11:
* added simple meteor movement
* sun light direction is now from the right side
* ecliptic calculation (earth axis)

If you are interested have a look to the 1st post. You need to download the zip-archive because I changed the background size.
by UEZ
Apr 08, 2019 20:38
Forum: Tips and Tricks
Topic: Rotating Earth build 2019-04-14
Replies: 6
Views: 520

Re: Rotating Earth build 2019-04-08

Thanks UEZ. Very nice. If you don't mind, I have tweaked a bit to give shorter days (and nights) Hi all, @dodicat, your snippet doesn't use GDI+ it seems? If so, I'll try to learn from it because I was looking for a planet for my game ! Neither the code I posted nor the tweaked version from dodicat...
by UEZ
Apr 08, 2019 14:52
Forum: Tips and Tricks
Topic: Rotating Earth build 2019-04-14
Replies: 6
Views: 520

Re: Rotating Earth build 2019-04-08

Thanks for your feedback dodicat. :-) No, I don't mind of course and I also wanted to ask how to tweak the code that it runs faster. That's a nice idea to use the construct which give a great performance boost to fps - now at ~ 77 fps (doubled+). I need to analyse and check it to understand the idea...
by UEZ
Apr 08, 2019 12:44
Forum: Tips and Tricks
Topic: Rotating Earth build 2019-04-14
Replies: 6
Views: 520

Rotating Earth build 2019-04-14

I've already coded this using GDI+ but now my try to code it without GDI+ using native FB code. That means it should run also on Linux (not tested by me). https://i.ibb.co/5k9GjQ2/Screenshot-RE.jpg Source code: 'Main code by UEZ 'Image to sphere projection by andalmeida -> https://www.codeproject.co...

Go to advanced search