Search found 4747 matches

by Psychophanta
Mon Apr 15, 2024 8:04 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 330
Views: 40919

Re: PureBasic 6.10 LTS is out !

The bottom line is not about getting the smallest in size, that too, but about efficiency of a compiler. Saying or believing that size does not matter because we have gigabyte or tera data in our storage devices, is the SAME as saying that speed does not matter because we have more than 50 years of ...
by Psychophanta
Sun Apr 14, 2024 8:04 am
Forum: Bugs - 3D Engine
Topic: [PB6.10LTS] Absolute ScaleEntity() does not work
Replies: 3
Views: 179

Re: [PB6.10LTS] Absolute ScaleEntity() does not work

I think yes, at least to have a powerful complete Scale functions :)
As the title says, absolute scale does not work now:
Just with the current status of the Scale commands, we really can not scale an entity to any given world units.
by Psychophanta
Sun Apr 14, 2024 7:53 am
Forum: Bugs - 3D Engine
Topic: [PB6.10LTS] Absolute ScaleEntity() does not work
Replies: 3
Views: 179

Re: [PB6.10LTS] Absolute ScaleEntity() does not work

ScaleEntity() with the '#PB_Absolute' should RESIZE the entity to the entered params. To manage size in relation to the original creation entity size, #PB_Absolute and #PB_Relative flags, are enough. However, to RESIZE an Entity (i.e., to manage its size disregarding the original size with which it...
by Psychophanta
Fri Apr 12, 2024 9:46 am
Forum: Tricks 'n' Tips
Topic: V4 - OOP
Replies: 79
Views: 35202

Re: V4 - OOP

I translated this code to not OOP PB code, because is much more clear and useful to me the NOT OOP (and faster because the use of macros instead of procedures).
I post it here because it is a clear OOP example, and just in case some of you want to get it to PB in its OOP format.
by Psychophanta
Wed Apr 10, 2024 3:08 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 330
Views: 40919

Re: PureBasic 6.10 LTS is out !

What do you mean by accurate? It's more important to calculate 2+2 than to return the right result?? ? Indeed, I forgot tou add that "accurate" is always a subjective and relative thing, while the other 2 are purely objective. @skywalk, also indeed. It is reductionism. Lets say it is refe...
by Psychophanta
Wed Apr 10, 2024 8:55 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 330
Views: 40919

Re: PureBasic 6.10 LTS is out !

My priority for EXE =>
1.- fast
2.- accurate
3.- smallest size
by Psychophanta
Thu Apr 04, 2024 7:24 am
Forum: Coding Questions
Topic: Scary keyboard behaviour with 3D !
Replies: 2
Views: 163

Re: Scary keyboard behaviour with 3D !

pjay wrote: Wed Apr 03, 2024 8:48 pm Isn't this because you've used #PB_Key_Up twice in your if statement?
Damn!, that's it. This thread must be demoled in 3, 2, 1, ... :oops: :oops: :oops:
by Psychophanta
Wed Apr 03, 2024 8:06 pm
Forum: Coding Questions
Topic: Scary keyboard behaviour with 3D !
Replies: 2
Views: 163

Scary keyboard behaviour with 3D !

Still not sure if this happens in every machine or what. Please just look at the tip, an check :shock: Just hit key '1', then '2', then '3', and all is as it should. Then hit 'F5' Then: Just hit key '1', then '2', then 'Up', and it does not work :o . InitEngine3D(#PB_Engine3D_NoLog,#PB_Compiler_Home...
by Psychophanta
Tue Apr 02, 2024 7:12 pm
Forum: 3D Programming
Topic: Physics - Airplane
Replies: 28
Views: 6579

Re: Physics - Airplane

pf shadoko wrote: Tue Apr 02, 2024 7:09 pm don't you think it'd be easier to fix your problem than to adapt all the 3D code just for you?
Again; maybe, but the good idea is to just copy, paste and run the demos, and avoid, if possible to have to adapt any code :wink:
Besides, what about users who use several PB versions?
by Psychophanta
Tue Apr 02, 2024 7:06 pm
Forum: 3D Programming
Topic: Physics - Airplane
Replies: 28
Views: 6579

Re: Physics - Airplane

Indeed Fred, so the parameter for InitEngine3D() is hightly useful for those who have several PB versions installed.
Usually i do not create exe, that's why i just said i copied, pasted, and run, and it did not work, When i create an .exe i must joint to it the correct .dll. I know.
by Psychophanta
Tue Apr 02, 2024 5:13 pm
Forum: 3D Programming
Topic: Physics - Airplane
Replies: 28
Views: 6579

Re: Physics - Airplane

@pf shadoko,
ok, and so, is it too hard for you to write:

Code: Select all

InitEngine3D(#PB_Engine3D_NoLog,#PB_Compiler_Home+"Compilers\Engine3d.dll")
instead of

Code: Select all

InitEngine3D()
:?:
With the first command all goes fine :o

Good demo, by the way :)
by Psychophanta
Tue Apr 02, 2024 9:53 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 330
Views: 40919

Re: PureBasic 6.10 LTS is out !

idle wrote: Tue Apr 02, 2024 8:02 am 6.04 should be small still.
WaW :!:
That's right, :shock: !
by Psychophanta
Tue Apr 02, 2024 8:30 am
Forum: 3D Programming
Topic: Physics - Airplane
Replies: 28
Views: 6579

Re: Physics - Airplane

However, in previous versions it went fine :|
by Psychophanta
Tue Apr 02, 2024 7:36 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 330
Views: 40919

Re: PureBasic 6.10 LTS is out !

Ok idle. Well, it doesn't matter, when I want mini executables, then I go to 5.46, or my beloved 5.10 :) :wink: