Updated code to show a FPS counter in the status bar. Get it from the same place.
http://rapidq.phatcode.net/openGL/GLSL_Demo.zip
fröhlich weihnachten
Search found 18 matches
- Dec 22, 2020 15:16
- Forum: Projects
- Topic: Shaders from shadertoy.com on old OpenGL 2.x gfx cards.
- Replies: 26
- Views: 2691
- Dec 22, 2020 6:56
- Forum: Projects
- Topic: Shaders from shadertoy.com on old OpenGL 2.x gfx cards.
- Replies: 26
- Views: 2691
Re: Shaders from shadertoy.com on old OpenGL 2.x gfx cards.
I guess you can't use gfx.null with ScreenRes if you want an openGL context. Anyway here is my code in rapidQ with free basic DLL. It makes it easy to use the code posted in shaderToy. You can add textures, make Avi movies, use the mouse and offsets, and even modify and then execute glsl code. Just ...
- Nov 30, 2020 22:52
- Forum: Community Discussion
- Topic: FreeBasic+Emscripten+OpenB3D: sky is the limit
- Replies: 18
- Views: 917
Re: FreeBasic+Emscripten+OpenB3D: sky is the limit
Correct on my Android phone, crashes probably because of webGl is not supported.
On my Win10 Surface laptop, I get variable amount of rendering, then can come up with exception.
Clicking fullscreen always causes exception.
On my Win10 Surface laptop, I get variable amount of rendering, then can come up with exception.
Clicking fullscreen always causes exception.
- Nov 30, 2020 2:46
- Forum: Projects
- Topic: Shaders from shadertoy.com on old OpenGL 2.x gfx cards.
- Replies: 26
- Views: 2691
Re: Shaders from shadertoy.com on old OpenGL 2.x gfx cards.
Thanks for this code, it is excellent 3d rendering. Is it possible to get a fb.gfx_null window to work? I am using Win10. I say this because I just want the gl context and pixels. That is, just the bitmap and not the screen generated by ScreenRes. I can get the bitmap from glReadPixels. Using wglMak...
- Nov 30, 2020 2:33
- Forum: Community Discussion
- Topic: FreeBasic+Emscripten+OpenB3D: sky is the limit
- Replies: 18
- Views: 917
Re: FreeBasic+Emscripten+OpenB3D: sky is the limit
I like the idea but after a few seconds
I get an "exception error, see javascript console"
I can't open the console and nothing appears in the rendered console.
Good luck!
I get an "exception error, see javascript console"
I can't open the console and nothing appears in the rendered console.
Good luck!
- Apr 15, 2020 2:39
- Forum: Community Discussion
- Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
- Replies: 166
- Views: 8522
Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?
I think the best advice here is to suggest the gui libraries that are most mature that you can search in posts. They should be C, or C++ with wrapper, or native fb code FLTK multi platform FBGUI IUP Win API but that is probably better by a helper like FreeQ or? WX-C To me there is only one gui for f...
- Mar 17, 2020 15:51
- Forum: Community Discussion
- Topic: BASIC(modified B++ complier) + wxWidgets
- Replies: 38
- Views: 4213
Re: BASIC(modified B++ complier) + wxWidgets
I take it back, I encourage the development of this project. I have no opinion about posting in community topic
- Mar 12, 2020 21:05
- Forum: Community Discussion
- Topic: BASIC(modified B++ complier) + wxWidgets
- Replies: 38
- Views: 4213
Re: BASIC(modified B++ complier) + wxWidgets
I think a lot of fb users don't agree on what gui API to use. So big projects like this tend to fail unless you get several people to contribute, unless it includes DJ Peters... I suggested that fb add native code that makes it look compatible with vb6, but that started a huge fight. I thought that ...
- Mar 12, 2020 2:57
- Forum: Community Discussion
- Topic: BASIC(modified B++ complier) + wxWidgets
- Replies: 38
- Views: 4213
Re: BASIC(modified B++ complier) + wxWidgets
Then this project total junk, waiting for victims?
I don't even want to try downloading!
I don't even want to try downloading!
- Mar 09, 2020 5:54
- Forum: Libraries
- Topic: libOpenCV Windows/Linux 32/64-bit
- Replies: 38
- Views: 3228
Re: libOpenCV Windows/Linux 32/64-bit
This another awesome lib from DJ Peters. Thanks!
- Mar 09, 2020 5:49
- Forum: Community Discussion
- Topic: BASIC(modified B++ complier) + wxWidgets
- Replies: 38
- Views: 4213
Re: BASIC(modified B++ complier) + wxWidgets
Very interesting, like fb with a gui. This is something I have been waiting for.
Are you the only dev?
Is there further dev?
Is the code translated to c++ but allows debugging?
Are you the only dev?
Is there further dev?
Is the code translated to c++ but allows debugging?
Re: Opencv
The main reason for the example is to show how to interface via basic language, as fb is not compatible. It is not that difficult once you get the dll code to compile. The hard work is setting up opencv distrib, which is why I included the binaries , but for xp... I never said that it would be effor...
Re: Opencv
And see here:
viewtopic.php?t=28024
viewtopic.php?t=28024
- Jan 19, 2020 20:12
- Forum: General
- Topic: OpenCV to capture an image with a webcam?
- Replies: 13
- Views: 972
Re: OpenCV to capture an image with a webcam?
This is not native FB code but is relevant if you want to interface FB to OpenCV. FB and RQ are very similar except for GUI I have uploaded my QOpenCV DLL and interface to the public. It uses the OpenCV 2.2 library (32-bit). This is a powerful image processing library that allows video playback and ...
- Dec 29, 2019 0:55
- Forum: Beginners
- Topic: Configurable source code beautifier for FB
- Replies: 10
- Views: 3736
Re: Configurable source code beautifier for FB
There is the FreeQ ide that does SOME for you depending on the complexity. Load up your fb code then press F4. Tabs, spaces are in the FreeQ configuration http://rapidq.phatcode.net/FreeQ/ There are some differences between FB and rapidq, but they are similar. The sourcecode link is at the top of th...