Well, for example: a drawing of the letter "P"
The trick would be to avoid creating a polygon that would cover the "hole" of the letter.
Furthermore, the OpenGL instruction I'm using only creates convex polygons.
All this taken into account, we end up with a rather demanding algorithm... :idea:
Search found 576 matches
- Tue Oct 21, 2025 11:33 pm
- Forum: Announcement
- Topic: Rapid Object Mapping
- Replies: 15
- Views: 1127
- Tue Oct 21, 2025 7:31 pm
- Forum: Announcement
- Topic: Rapid Object Mapping
- Replies: 15
- Views: 1127
Re: Rapid Object Mapping
There are advantages and disadvantages.
There are a lot of files (>1) for the little I've been looking for. Additionally, we should see if your algorithm can create polygons that trace an entire area.
I'm skeptical.
There are a lot of files (>1) for the little I've been looking for. Additionally, we should see if your algorithm can create polygons that trace an entire area.
I'm skeptical.
- Tue Oct 21, 2025 4:53 pm
- Forum: Off Topic
- Topic: Curiosity : RandomSeed(Random(1000))
- Replies: 5
- Views: 318
Re: Curiosity : RandomSeed(Random(1000))
And so: asking PB to create a random RandomSeed when it shouldn't, I find that comical.

- Tue Oct 21, 2025 2:03 pm
- Forum: Off Topic
- Topic: Curiosity : RandomSeed(Random(1000))
- Replies: 5
- Views: 318
- Tue Oct 21, 2025 11:46 am
- Forum: Announcement
- Topic: Rapid Object Mapping
- Replies: 15
- Views: 1127
Re: Rapid SVG Mapping
Hi JHP²
I'd like to get the gist of what I'm looking for. All I need for what I need is minimal.
I'd like to use your code to create an algorithm that allows me to find the points surrounding a shape.
Could you provide me with a simple code that does this?
I know my request is rather... bold, but if ...
I'd like to get the gist of what I'm looking for. All I need for what I need is minimal.
I'd like to use your code to create an algorithm that allows me to find the points surrounding a shape.
Could you provide me with a simple code that does this?
I know my request is rather... bold, but if ...
- Sun Oct 19, 2025 1:13 pm
- Forum: Announcement
- Topic: Rapid Object Mapping
- Replies: 15
- Views: 1127
Re: Rapid SVG
Did I understand correctly? :
Does this code define the points around a shape?
In OpenGL, the instruction that creates polygons only creates convex polygons. Is there a way to "slice" any shape into convex polygons? (If so, that would be great for me.)
Thanks
Does this code define the points around a shape?
In OpenGL, the instruction that creates polygons only creates convex polygons. Is there a way to "slice" any shape into convex polygons? (If so, that would be great for me.)
Thanks
- Sat Oct 18, 2025 10:10 am
- Forum: Game Programming
- Topic: Game test v0.01
- Replies: 94
- Views: 8567
Re: Game test v0.01
¿Añadiendo azúcar??
- Wed Oct 15, 2025 6:51 pm
- Forum: Tricks 'n' Tips
- Topic: Random(Random(Random(x)))
- Replies: 0
- Views: 200
Random(Random(Random(x)))
PB6.20 OR LESS
The benefits of random(random(...(x))) :wink:
F1 to decrease the number of Randoms
F2 to increase the number of Randoms
Right and left mouse clicks to shoot and new target
InitSprite()
InitMouse()
InitKeyboard()
OpenWindow(0, 0, 0, 800, 800, "Pan!", #PB_Window_SystemMenu ...
The benefits of random(random(...(x))) :wink:
F1 to decrease the number of Randoms
F2 to increase the number of Randoms
Right and left mouse clicks to shoot and new target
InitSprite()
InitMouse()
InitKeyboard()
OpenWindow(0, 0, 0, 800, 800, "Pan!", #PB_Window_SystemMenu ...
- Tue Oct 14, 2025 6:46 pm
- Forum: Game Programming
- Topic: Game test v0.01
- Replies: 94
- Views: 8567
Re: Game test v0.01
Yes, same question: did you use a filter on a real photo of people?
PS: Your game images are missing trees and grass.
PS: Your game images are missing trees and grass.
- Sun Oct 12, 2025 7:20 pm
- Forum: Game Programming
- Topic: Fracturetrix Game Announcement Video
- Replies: 61
- Views: 6411
Re: Fracturetrix Game Announcement Video
Very good work!Carm3D wrote: Fri Oct 10, 2025 6:30 pm Here's DevLog 005 with detailed looks at the options screen, level select screen and the fun lens effects in the main game system.
https://www.youtube.com/watch?v=ZLfM3okaEW4
Is the music yours?
Good opening credits and options settings. Very professional.
- Sun Oct 12, 2025 4:39 pm
- Forum: Coding Questions
- Topic: Slow code !! Why ?
- Replies: 10
- Views: 591
Re: Slow code !! Why ?
The mouse movements are being caught in a queue as you're only processing one OS event per frame, whereas you should be handling all of them.
Replace:
Event = WaitWindowEvent()
With:
Repeat
Event = WindowEvent()
Select Event
Case #PB_Event_CloseWindow : End
EndSelect
Until Event ...
- Sun Oct 12, 2025 11:47 am
- Forum: Coding Questions
- Topic: Slow code !! Why ?
- Replies: 10
- Views: 591
Re: Slow code !! Why ?
Even with 10, 100, or even 1000, it's still intolerably slow!
What did I miss compared to the smooth codes of 10 years ago?
What did I miss compared to the smooth codes of 10 years ago?
- Sun Oct 12, 2025 11:33 am
- Forum: Coding Questions
- Topic: Slow code !! Why ?
- Replies: 10
- Views: 591
Slow code !! Why ?
Hi,
How come it's so slow?
PB6.20 or lower
InitSprite()
InitMouse()
OpenWindow(0, 0, 0, 800, 800, "Pan!", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
OpenWindowedScreen(WindowID(0), 0, 0, 800, 800)
CreateSprite(0,200,200)
StartDrawing(SpriteOutput(0))
DrawingMode(#PB_2DDrawing_Outlined ...
How come it's so slow?
PB6.20 or lower
InitSprite()
InitMouse()
OpenWindow(0, 0, 0, 800, 800, "Pan!", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
OpenWindowedScreen(WindowID(0), 0, 0, 800, 800)
CreateSprite(0,200,200)
StartDrawing(SpriteOutput(0))
DrawingMode(#PB_2DDrawing_Outlined ...
- Sat Oct 11, 2025 3:38 pm
- Forum: Coding Questions
- Topic: For loops: Step 1 is not mandatory, but Step -1 is
- Replies: 10
- Views: 685
Re: For loops: Step 1 is not mandatory, but Step -1 is
Code: Select all
For i=1 To 10 Step 1 ; that's ok too
Debug i
Next
- Wed Oct 01, 2025 2:28 pm
- Forum: Coding Questions
- Topic: Why are ValF & ValD so slow?
- Replies: 27
- Views: 1777
Re: Why are ValF & ValD so slow?
Hi Fred, thanks for looking (and the reason for performance).
The test code I used is below:
EnableExplicit
OpenConsole()
Procedure.d _ValD(*pUniString.string, endChar.a = #Null) ; extension of infratecs code from https://www.purebasic.fr/english/viewtopic.php?p=493922
DisableDebugger ...