Search found 268 matches
- Mon Apr 01, 2024 2:39 pm
- Forum: Off Topic
- Topic: Happy Birthday, Fred!
- Replies: 17
- Views: 737
Re: Happy Birthday, Fred!
Happy Birthday! Felicidades, Fred!!
- Mon Dec 11, 2023 1:18 pm
- Forum: Coding Questions
- Topic: Converting a video to individual images.
- Replies: 6
- Views: 1668
- Wed Aug 09, 2023 9:38 am
- Forum: 3D Programming
- Topic: Need a push for 3D
- Replies: 19
- Views: 2947
Re: Need a push for 3D
The easy way to colorize the board is: · create texture · paint texture green · create material with texture · assign material to entity CreateTexture(0,128,128) StartDrawing(TextureOutput(0)) Box(0,0,128,128,RGB(0,255,0)) StopDrawing() CreateMaterial(0,TextureID(0)) CreateEntity(0, MeshID(0), Mater...
- Sun Jun 04, 2023 8:55 pm
- Forum: Game Programming
- Topic: SGL (Simple GL)
- Replies: 39
- Views: 7420
Re: SGL (Simple GL)
I'm not sure I understand what you mean ... SGL is buit on top of GLFW 3.3.8 and you can't switch it to another version. If you run the programs from the IDE, all should be working automagically and dynamically link to sgl/glfw/lib/glfw3.x64.so. If you compile a binary and try to run that, the same...
- Sun Jun 04, 2023 7:22 pm
- Forum: Game Programming
- Topic: SGL (Simple GL)
- Replies: 39
- Views: 7420
Re: SGL (Simple GL)
Tested on linux with an integrated card and works great. Someone, please, make a game engine xD
¿Anyway, is possible to detect glfw library installed? I had to hardcoded the library path.
¿Anyway, is possible to detect glfw library installed? I had to hardcoded the library path.
- Wed Mar 22, 2023 10:20 pm
- Forum: 3D Programming
- Topic: Demo 3D - Mountain v3
- Replies: 20
- Views: 2864
Re: Demo 3D - Mountain v3
In linux works too. Looks fantastic.
- Tue Mar 21, 2023 10:01 am
- Forum: 3D Programming
- Topic: Demo 3D - Mountain v3
- Replies: 20
- Views: 2864
Re: Demo 3D - Mountain v3
I have same problem, but on Linux, with an Intel card.
- Thu Dec 22, 2022 5:35 pm
- Forum: Coding Questions
- Topic: howto with function, if possible.
- Replies: 26
- Views: 1266
Re: howto with function, if possible.
I told ChatGPT, three times, purebasic has no functions. Perhaps it is here to confirm it. xD
- Thu Jul 14, 2022 10:53 pm
- Forum: 3D Programming
- Topic: PB 6.00 - Shader documentation
- Replies: 7
- Views: 2210
Re: PB 6.00 - Shader documentation
I think you have to process events with:
Repeat
event=WindowEvent()
Until event=0
Anyway something is not ok, I get a random error on linux at RenderWorld() line.
Repeat
event=WindowEvent()
Until event=0
Anyway something is not ok, I get a random error on linux at RenderWorld() line.
- Mon Jun 27, 2022 9:58 am
- Forum: 3D Programming
- Topic: Texture colors inverted in Linux/Windows
- Replies: 5
- Views: 944
Re: Texture colors inverted in Linux/Windows
Thank you. I don't have problems swapping bytes, but it's confusing some purebasic functions give different results on different computers.
I think RGB($FF,0,0) would must be red on windows and linux.
I think RGB($FF,0,0) would must be red on windows and linux.
- Sun Jun 26, 2022 11:26 am
- Forum: 3D Programming
- Topic: Texture colors inverted in Linux/Windows
- Replies: 5
- Views: 944
Re: Texture colors inverted in Linux/Windows
But the operation should give the same result in both Windows and Linux, right?
- Sat Jun 25, 2022 2:48 pm
- Forum: 3D Programming
- Topic: Texture colors inverted in Linux/Windows
- Replies: 5
- Views: 944
Texture colors inverted in Linux/Windows
I have a problem with 3dengine. I'm trying to create a texture with basic colors, but looks like colors are inverted, a Red in Windows, is Blue in Linux. I'm not sure if it's a bug in engine, texture format, unknown driver's issue or whatever. Some purebasic demos use differents ways to draw texture...
- Wed Dec 15, 2021 5:54 pm
- Forum: Coding Questions
- Topic: OpenScreen causes Error in Linux OpenSuse Leap 15.3
- Replies: 15
- Views: 1248
Re: OpenScreen causes Error in Linux OpenSuse Leap 15.3
I think you must use a valid monitor resolution, so 100x100 must not work. For example, you can use 1024x768, 800x600... or use OpenWindowedScreen() instead for lower resolutions.
- Tue Nov 30, 2021 10:18 pm
- Forum: Announcement
- Topic: PureBasic 6.00 released !
- Replies: 626
- Views: 151622
Re: PureBasic 6.00 Beta 1 released !
Looks like pbcompilerc executable don't have execute permission. I changed and it works.
Take a look if that's the problem.
Take a look if that's the problem.
- Wed Nov 10, 2021 3:16 pm
- Forum: Coding Questions
- Topic: Why the type LONG work differently in x86 and x84 complier?
- Replies: 19
- Views: 2477
Re: Why the type LONG work differently in x86 and x84 complier?
Long type is always 4 bytes. But Integer type can be 4 bytes (x86) or 8 bytes (x64). That's the problem.
In x64 the code must be:
In x64 the code must be:
Code: Select all
l.l=$FFFFFF85
i.i=$FFFFFFFFFFFFFF85
Debug l
Debug i