I tested the example "PureBasic621x86\Examples\3D\Demos\FPSFirstPerson.pb"
and it has the same problem: the jump height changes every time I alt+tab.
Search found 22 matches
- Thu Sep 18, 2025 12:06 pm
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
- Thu Sep 18, 2025 1:14 am
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
Re: When moving, the speed can change unpredictably. 3d FPS
The running speed and jump height change every time I switch between windows with alt+tab. 
- Thu Sep 18, 2025 1:08 am
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
Re: When moving, the speed can change unpredictably. 3d FPS
These models and textures are for demonstration purposes only.
Even if I reduce the number of cars from *25 to *1 #max_ent, I still see a problem: each test run shows a different jump height.
And even if I disable entity addition altogether: :shock: :shock: :shock:
Procedure game_start()
; game ...
Even if I reduce the number of cars from *25 to *1 #max_ent, I still see a problem: each test run shows a different jump height.
And even if I disable entity addition altogether: :shock: :shock: :shock:
Procedure game_start()
; game ...
- Tue Sep 16, 2025 10:45 pm
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
Re: When moving, the speed can change unpredictably. 3d FPS
So, I made further testes. I figured, that the static geometry does not inherits visibilitymask of the parent entity, so it was rendered twice. I made a new version, removed the rendertexture camera.
This version is incredibly stable, in the previous one I sometimes noticed spontaneous speed ...
- Tue Sep 16, 2025 10:37 pm
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
Re: When moving, the speed can change unpredictably. 3d FPS
In flight mode (#cam_type = 1) I have almost no problems.
Except for the sprite that disappears in a certain position.
Now the main problem looks like this:
Movement speed and jump height directly depend on FPS.
In the example, you can see the jump height on the graph.
With the constant #render_fps ...
Except for the sprite that disappears in a certain position.
Now the main problem looks like this:
Movement speed and jump height directly depend on FPS.
In the example, you can see the jump height on the graph.
With the constant #render_fps ...
- Tue Sep 16, 2025 3:27 pm
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
Re: When moving, the speed can change unpredictably. 3d FPS
Thank you very much, very informative example.
I have already successfully applied some things. But I haven't figured it out completely yet.
I'm really carried away now.
In my example I keep getting contradictory data.
Sometimes the same code gives different performance after launch.
I have already successfully applied some things. But I haven't figured it out completely yet.
I'm really carried away now.
In my example I keep getting contradictory data.
Sometimes the same code gives different performance after launch.
- Sun Sep 14, 2025 8:29 pm
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
Re: When moving, the speed can change unpredictably. 3d FPS
And a "hipoly" single entity for the ogre staticgeometry instances.
and how can I use a single instance of a mesh to render it multiple times?
In the project the distribution of objects will be uneven, so in the example I placed them in this way.
here I improved the demo a bit:
OpenScreen ...
- Sun Sep 14, 2025 2:10 pm
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
Re: When moving, the speed can change unpredictably. 3d FPS
Thank you very much for the advice. In fact, I will have to rethink a lot.
( As it was too strong to be affected ) Your map looks like some kind of stress test. I belive its not the tris, but the batches that makes an fps drop while you look toward a specific direction (containing entities)
I ...
( As it was too strong to be affected ) Your map looks like some kind of stress test. I belive its not the tris, but the batches that makes an fps drop while you look toward a specific direction (containing entities)
I ...
- Thu Sep 11, 2025 9:38 pm
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
Re: When moving, the speed can change unpredictably. 3d FPS
Hello/
I am using PureBasic 6.21 x86 (win 10)
I am really at a dead end
I am using PureBasic 6.21 x86 (win 10)
- This is not an option, but I have 2 monitors.and you need new screen 16/9
...ElapsedMilliseconds()
I am really at a dead end
- Thu Sep 11, 2025 9:05 pm
- Forum: 3D Programming
- Topic: When moving, the speed can change unpredictably. 3d FPS
- Replies: 22
- Views: 1935
When moving, the speed can change unpredictably. 3d FPS
I'm trying to do something but I get unstable results.
In this example, the NPC's speed changes dramatically depending on where the camera is pointing.
When moving, the speed can change unpredictably.
How to solve this correctly?
;- CONST
Global scale=20*10
;Camera
Global.i camR = 1000 ...
In this example, the NPC's speed changes dramatically depending on where the camera is pointing.
When moving, the speed can change unpredictably.
How to solve this correctly?
;- CONST
Global scale=20*10
;Camera
Global.i camR = 1000 ...
- Sat Jun 03, 2023 9:03 pm
- Forum: 3D Programming
- Topic: 3D Image Button gadget
- Replies: 4
- Views: 3717
Re: 3D Image Button gadget
Faced the same problem. Requires either "ImageButtonGadget3d" or event tracking (click) on ImageGadget3d
- Tue Oct 11, 2022 10:43 pm
- Forum: Tricks 'n' Tips
- Topic: RichEdit Functions (OOP) New: with Image-Support
- Replies: 78
- Views: 51057
Re: RichEdit Functions (OOP) New: with Image-Support
New problem.
on windows 10 tables from opened .rtf files are not displayed
on windows 10 tables from opened .rtf files are not displayed
siesit wrote: Sat Oct 08, 2022 12:39 am Please help friends.
I really like this module, but there is a crash during printing if the document has a table in which a line break occurs.
I don't know how to fix it![]()
- Sat Oct 08, 2022 11:14 pm
- Forum: Tricks 'n' Tips
- Topic: RichEdit Functions (OOP) New: with Image-Support
- Replies: 78
- Views: 51057
Re: RichEdit Functions (OOP) New: with Image-Support
I downloaded the latest version from hereBarryG wrote: Sat Oct 08, 2022 2:46 am Can't download; it wants me to sign up? Can you post it elsewhere? Thanks.
http://www.rsbasic.de/backupprogramme/temp/RichEdit.zip
- Sat Oct 08, 2022 12:39 am
- Forum: Tricks 'n' Tips
- Topic: RichEdit Functions (OOP) New: with Image-Support
- Replies: 78
- Views: 51057
Re: RichEdit Functions (OOP) New: with Image-Support
Please help friends.
I really like this module, but there is a crash during printing if the document has a table in which a line break occurs.
I don't know how to fix it
I really like this module, but there is a crash during printing if the document has a table in which a line break occurs.
I don't know how to fix it
- Thu Dec 21, 2017 9:17 am
- Forum: Coding Questions
- Topic: OnError Lib + Shared DLL
- Replies: 3
- Views: 1849
Re: OnError Lib + Shared DLL
hm...
PureHelp:
When using the OnError library inside a DLL the best practice is to set the error handler at the beginning of every public DLL function and resetting it back to the default with this command before returning to the caller to make sure there is no interference between the OnError ...
PureHelp:
When using the OnError library inside a DLL the best practice is to set the error handler at the beginning of every public DLL function and resetting it back to the default with this command before returning to the caller to make sure there is no interference between the OnError ...