Search found 3458 matches
- Wed Feb 21, 2024 12:42 pm
- Forum: Coding Questions
- Topic: OpenGL dot / cross Functions
- Replies: 10
- Views: 369
Re: OpenGL dot / cross Functions
PB imports the legacy part of the OpenGL function, up to version 1.1. PB also creates a context in compatibility mode, where your OpenGL driver makes available all the OpenGL functions (modern and legacy) to be used together. This is true on Linux and Windows, there are limitations under MacOS becau...
- Mon Jan 22, 2024 4:36 pm
- Forum: Game Programming
- Topic: SGL (Simple GL)
- Replies: 39
- Views: 7147
Re: SGL (Simple GL)
Do you think, a MacOS-version would be a lot of work? Hi, it wouldn't be a lot of work, you need to compile GLFW for macOS (wasn't OS X just a while ago ? they can't stick to a name) and update the glfw importer (contained in SGL). Plus, you need to double check the functions in SGL dealing with sy...
- Sat Jan 13, 2024 5:22 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 325
- Views: 40440
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Thanks, but why you didn't use MiniAudio on Windows too ?Updated: Reworked the Sound library to use MiniAudio on OS X and Linux (SDL dependency is no more requiered for sounds on Linux).
On Windows the audio uses DirectSound ?
- Wed Jan 10, 2024 10:28 pm
- Forum: Announcement
- Topic: i2pdf - image to pdf
- Replies: 38
- Views: 12720
Re: i2pdf - image to pdf
I've added support for the A2 paper format (by request), cleaned up the helpfile and updated the source to make it compatible with PB 6.03. The new version 1.0.52 now include the source, you'll find it in the zip file in the first post. The source is not a good example of PB programming as I wrote i...
- Sat Jan 06, 2024 11:44 pm
- Forum: Game Programming
- Topic: SGL (Simple GL)
- Replies: 39
- Views: 7147
Re: SGL (Simple GL)
Wouldn't it be possible to use your imgui module with the current ogre3d in purebasic? Maybe you forgot but you asked the same thing in July :) I paste my previous answer because nothing is changed It's just a demo of how it's possible to implement a IMGUI in OpenGL, it's not remotely complete or r...
- Thu Dec 28, 2023 4:40 pm
- Forum: Announcement
- Topic: i2pdf - image to pdf
- Replies: 38
- Views: 12720
Re: i2pdf - image to pdf
Hi to all, I've put the program (1.0.51) online again and updated the first post with a working link.
- Wed Dec 27, 2023 5:33 pm
- Forum: General Discussion
- Topic: [SOLVED] Integer calc. variation between ASM and C backend
- Replies: 4
- Views: 556
Re: [SOLVED] Integer calc. variation between ASM and C backend
The two backends must give the same results, the source code is the same, the language is the same,
If this does not happen it's a bug and the inconsistency should be resolved.
That being said, using PB 6.03 I always get the same result: 2477196
If this does not happen it's a bug and the inconsistency should be resolved.
That being said, using PB 6.03 I always get the same result: 2477196
- Wed Dec 27, 2023 4:22 pm
- Forum: Announcement
- Topic: i2pdf - image to pdf
- Replies: 38
- Views: 12720
- Sat Dec 09, 2023 12:56 pm
- Forum: Coding Questions
- Topic: Why do not use GOTO inside a Select Statement?
- Replies: 15
- Views: 1237
Re: Why do not use GOTO inside a Select Statement?
"GoTo is the worst basic language instruction" ouch, I think Break followed by a number is a good contender ! "but the code becomes more and more spaghetti" That's true if you use GOTO to jump back and forth or for looping, also if you jump very far away. Then the code may become...
- Mon Dec 04, 2023 12:48 pm
- Forum: Game Programming
- Topic: SGL (Simple GL)
- Replies: 39
- Views: 7147
Re: SGL (Simple GL)
Hi pjay, thank you, I know the examples require still a lot of setup code, even if less compared to naked OpenGL, but this library is to simplify OpenGL programming, nothing more. My intention was to make a sort of GLFW but easily usable in PB (offering keyboard and mouse input, windowing, etc) whil...
- Sun Nov 26, 2023 2:23 pm
- Forum: 3D Programming
- Topic: Demo 3D - Shoal of fish V2
- Replies: 35
- Views: 3769
Re: Demo 3D - Shoal of fish V2
Very nice and nice procedurally generated fishes
- Thu Nov 23, 2023 4:32 pm
- Forum: Game Programming
- Topic: SGL (Simple GL)
- Replies: 39
- Views: 7147
Re: SGL (Simple GL)
Hi.
Pretty good thanks
Pretty good thanks
- Tue Sep 26, 2023 12:06 am
- Forum: Coding Questions
- Topic: RegisterFontFile() True Type Font vs Open Type Font
- Replies: 2
- Views: 229
Re: RegisterFontFile() True Type Font vs Open Type Font
On Windows I have used RegisterFontFile() with open type fonts, so I can confirm it works.
BTW: have you encountered this bug viewtopic.php?t=81284 with RegisterFontFile() on Linux ?
BTW: have you encountered this bug viewtopic.php?t=81284 with RegisterFontFile() on Linux ?
- Mon Sep 25, 2023 11:26 pm
- Forum: Coding Questions
- Topic: [solved] OPTIMIZER-Flag - What asm optimizations?
- Replies: 8
- Views: 496
Re: OPTIMIZER-Flag - What asm optimizations?
You should get them to rewrite the wikipedia page to say what you want it to say. :wink: Uh ? Already does that. It makes extensive code-size optimization and allows unconstrained forward referencing It says "code-size" optimization and the second document linked there (number 7) talk abo...
- Mon Sep 25, 2023 11:12 pm
- Forum: Coding Questions
- Topic: [solved] OPTIMIZER-Flag - What asm optimizations?
- Replies: 8
- Views: 496
Re: OPTIMIZER-Flag - What asm optimizations?
Yes, that's it, optimizing the size of the code by trying to select the smallest opcodes, for example for the jumps, where you have opcodes for near or far jumps with different sizes. But the ASM code stays the same and it's not optimized in any way. Some comments about this from its forum https://b...