Search found 78 matches
- Apr 03, 2022 15:03
- Forum: Beginners
- Topic: FB+Glu+rotate problem
- Replies: 1
- Views: 546
Re: FB+Glu+rotate problem
Hello, I managed to get the triangle to rotate. Here is the program. Any additions or suggestions? #include once "\GL\glut.bi" Dim shared As Single rtri=0 ''Угол поворота для треугольника sub renderScene() glClear(GL_COLOR_BUFFER_BIT) glPushMatrix() glRotatef(rtri,0.0,1.0,0.0) 'glColor3f(1...
- Apr 01, 2022 17:35
- Forum: Beginners
- Topic: GLFW+ Freebasic
- Replies: 18
- Views: 1985
Re: GLFW+ Freebasic
Thanks
- Apr 01, 2022 17:31
- Forum: Beginners
- Topic: FB+Glu+rotate problem
- Replies: 1
- Views: 546
FB+Glu+rotate problem
Raspberry 4B system, OS Linux Hello! I have a question about using Glut. Moreover, I want to preserve "sort of compatibility" with the C language and use the glu functions. I want the rectangle to rotate, and it does, but only when I resize the window. I have the impression that glutMainLo...
- Mar 27, 2022 17:47
- Forum: Beginners
- Topic: GLFW+ Freebasic
- Replies: 18
- Views: 1985
Re: GLFW+ Freebasic
On my system, your program writes: ppp.bas(259) error 42: Variable not declared, EXIT_FAILURE in 'return (EXIT_FAILURE)' so replaced return(EXIT_FAILURE) on the return(0) respectively fprintf replaced with print Of course, there will be no error messages in the output, but I didn’t come up with anyt...
- Mar 27, 2022 4:13
- Forum: Beginners
- Topic: GLFW+ Freebasic
- Replies: 18
- Views: 1985
Re: GLFW+ Freebasic
Hello, thank you very much for your concern. I figured out what the problem is. For my configuration (OS bullseye, Raspbian 4b, FB1.09) need library GLFW version 2, and I installed 3. In order to run the example, I had to remove 3 version and install the second one, after which everything compiled n...
- Mar 26, 2022 17:33
- Forum: Beginners
- Topic: GLFW+ Freebasic
- Replies: 18
- Views: 1985
Re: GLFW+ Freebasic
I don't understand you a bit. I already installed the libraries:
sudo apt-get install libglfw3
sudo apt-get install libglfw3-dev
sudo apt-get install libglfw3
sudo apt-get install libglfw3-dev
- Mar 26, 2022 14:26
- Forum: Beginners
- Topic: GLFW+ Freebasic
- Replies: 18
- Views: 1985
Re: GLFW+ Freebasic
Well, let the code be outdated. In this case I am trying to compile the program
attached with FB1.09 as an example. So the program must compile and run.
What needs to be done for this?
OS Linux
attached with FB1.09 as an example. So the program must compile and run.
What needs to be done for this?
OS Linux
- Mar 25, 2022 17:02
- Forum: Beginners
- Topic: GLFW+ Freebasic
- Replies: 18
- Views: 1985
GLFW+ Freebasic
(OS bullseye, Raspbian 4b, FB1.09) Hello I wanted to run glfw_splitview.bas example located in examples/graphics/OpenGL To do this, I downloaded the corresponding GLFW library sudo apt-get update sudo apt-get install libglfw3 sudo apt-get install libglfw3-dev But when run, the compiler writes: ld: F...
- Mar 20, 2022 14:22
- Forum: Beginners
- Topic: FreeB 1.09 #include "GL/glu.bi" Problem
- Replies: 15
- Views: 1307
Re: FreeB 1.09 #include "GL/glu.bi" Problem
Yes, I recommend Raspberry 4 the size of a business card, 4 core processor, 4 gigabytes of memory. If you don’t like to mess with iron, Raspberry 400 is better.
But modern 3D games will not pull
But modern 3D games will not pull
- Mar 20, 2022 14:18
- Forum: Beginners
- Topic: FreeB 1.09 #include "GL/glu.bi" Problem
- Replies: 15
- Views: 1307
Re: FreeB 1.09 #include "GL/glu.bi" Problem
EXTENSIONS:
(207 of 'em)
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
does not work
Probably the result of some changes in the language FB 1.09
(207 of 'em)
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
does not work
Probably the result of some changes in the language FB 1.09
- Mar 20, 2022 13:52
- Forum: Beginners
- Topic: FreeB 1.09 #include "GL/glu.bi" Problem
- Replies: 15
- Views: 1307
Re: FreeB 1.09 #include "GL/glu.bi" Problem
Card: V3D 4.2
Manufacturer Broadcom
OpenGL Version 2.1 Mesa 20.3.5
FreebASIC Driver = OpenGL
Manufacturer Broadcom
OpenGL Version 2.1 Mesa 20.3.5
FreebASIC Driver = OpenGL
- Mar 20, 2022 13:43
- Forum: Beginners
- Topic: FreeB 1.09 #include "GL/glu.bi" Problem
- Replies: 15
- Views: 1307
Re: FreeB 1.09 #include "GL/glu.bi" Problem
An interesting example, but both figures turned out to be multi-colored, and instead of
'#include "gl/glu.bi"
had to put for successful compilation
#include "GL/glu.bi"
(I have Freebasic 1.09
Raspberry 4B (OS Linux))
'#include "gl/glu.bi"
had to put for successful compilation
#include "GL/glu.bi"
(I have Freebasic 1.09
Raspberry 4B (OS Linux))
- Mar 20, 2022 6:25
- Forum: Beginners
- Topic: FreeB 1.09 #include "GL/glu.bi" Problem
- Replies: 15
- Views: 1307
Re: FreeB 1.09 #include "GL/glu.bi" Problem
Can anyone tell me how to turn on the grid mode in the above program?
Just using glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) doesn't help. What else needs to be done?
Just using glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) doesn't help. What else needs to be done?
- Mar 19, 2022 17:35
- Forum: Beginners
- Topic: FreeB 1.09 #include "GL/glu.bi" Problem
- Replies: 15
- Views: 1307
Re: FreeB 1.09 #include "GL/glu.bi" Problem
Yes, thanks for helping.
And what's about
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) can you tell me? Grid mode not enabled
And what's about
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) can you tell me? Grid mode not enabled
- Mar 19, 2022 16:42
- Forum: Beginners
- Topic: FreeB 1.09 #include "GL/glu.bi" Problem
- Replies: 15
- Views: 1307
Re: FreeB 1.09 #include "GL/glu.bi" Problem
Yes, yes, sorry, please forgot to mention that I really have FreeBasic 1.09 Raspberry 4B (Linux OS) There were no problems with Freebasic 1.07. I wonder why the files were not submitted? By the way, glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) stopped working for me in Freebasic 1.09 (no grid mode enab...