Search found 572 matches

by PMV
Thu Feb 16, 2017 6:23 pm
Forum: Feature Requests and Wishlists
Topic: PB5.60 please rename Event()
Replies: 16
Views: 6190

Re: PB5.60 please rename Event()

I understand your concern, but the fact is PB use a lot of common name for its commandset. You can check the list here http://www.purebasic.com/documentation/reference/commandindex.html and you will see a lot, we won't prefix them all as it will make main code less readable
That's why it's hurting ...
by PMV
Mon Feb 06, 2017 4:33 pm
Forum: Feature Requests and Wishlists
Topic: PB5.60 please rename Event()
Replies: 16
Views: 6190

PB5.60 please rename Event()

Why Fred? Every PB-Function collides with module-function-names ...
so how should we call our event-procedures now?

Imagin a custom window-module for screens ... you want to have
an "event"-procedure. The logical step is to call it "Event()" and use
Window::Event() to call the function out of the ...
by PMV
Mon Jan 30, 2017 12:31 am
Forum: 3D Programming
Topic: (Fixed) Massive speed differences between PB versions
Replies: 11
Views: 8700

Re: Massive speed differences between PB versions (Windows)

There was a feature request that comtois has granted by using
submeshes for the cube. The problem is, that ogre needs the
same performance for a submeshes like a normal mesh.
CreateCube() should have a parameter to decide, if it should
be one mesh or 6 submeshes.

MFG PMV
by PMV
Fri Jan 06, 2017 8:50 pm
Forum: 3D Programming
Topic: Using OGRE natively from PureBasic ?
Replies: 6
Views: 4910

Re: Using OGRE natively from PureBasic ?

There are a few problems with this:
1. the work done by PB-Team has to be done again
2. you will problably not be able to use a pb-screen (OpenScreen()) and so drawing and 2d commands couldn't be used
3. the task size is aproxamatly endless as OGRE3D is really huge
4. later, the created code has to ...
by PMV
Fri Jan 06, 2017 8:33 pm
Forum: Coding Questions
Topic: [5.31] OGRE Engine3D ScreenOutput to Image or Sprite crash.
Replies: 8
Views: 3454

Re: [5.31] OGRE Engine3D ScreenOutput to Image or Sprite cra

If i remember right, GrabSprite() has never worked with InitEngine3D().
Use the solution above with rendertextures and you should get your screenshot. :)

MFG PMV
by PMV
Fri Jan 06, 2017 8:23 pm
Forum: 3D Programming
Topic: Convincing examples of PB + the Ogre 3D-Engine?
Replies: 7
Views: 5437

Re: Convincing examples of PB + the Ogre 3D-Engine?

The question is not the need ... the problem is the size and time that is needed to get everything working. OGRE3D would fit PureBasic perfectly, if ... the PB-Team gets OGRE3D up to date to the 2.1 Version. But i don't know if OGRE3D 2.1 is already ready to be implmented into PB ... it could be ...
by PMV
Wed Aug 24, 2016 5:15 pm
Forum: General Discussion
Topic: My version of PureBasic's future
Replies: 47
Views: 19166

Re: My version of PureBasic's future

Dropping OGRE support to create there own 3D engine based on OpenGL?
Sorry but i had to laugh there. :lol:
Do you have checked out what OGRE really can? Do you have compared it
with what PB OGRE can? OGRE 3D is very hugh and is still evolving.
The problem is not that it is laking somewhere. Our ...
by PMV
Sun Jul 31, 2016 10:51 pm
Forum: Feature Requests and Wishlists
Topic: Loop & Procedure alignment
Replies: 19
Views: 5720

Re: Loop alignment

Shouldn't be loops always aligned to 32/64 bit? :|
I don't have done much with ASM so this is more a question
... arent instructions always 32/64-bit aligned? :shock:
by PMV
Fri Jul 01, 2016 2:32 pm
Forum: Windows
Topic: AtExit() for PureBasic
Replies: 5
Views: 3949

Re: AtExit() for PureBasic

As long as you are only using your own functions, you can create your
own "system" that will provide a functionality to do cleanup on exit. But
this will always create a dependancy on this custom solution. On bigger
projects, or when you have multiple projects, every project will have this ...
by PMV
Sat Apr 09, 2016 4:45 pm
Forum: Off Topic
Topic: "Why, Mr. Anderson?"
Replies: 11
Views: 5354

Re: "Why, Mr. Anderson?"

Really nice text Bo Marchais, thanks for the hint :wink:

I dont have usefull stuff to say like that. I just try to have fun.
Every finished milestone makes me smile. Progress makes me
smile. So even when i have to do stuff that doesn't make fun,
i think about the finished work and that makes me ...
by PMV
Tue Mar 08, 2016 7:23 pm
Forum: Windows
Topic: Warning! Windows Server DLL Issue
Replies: 10
Views: 3878

Re: Warning! Windows Server DLL Issue

I remember some note from PB docs
- The declaration of arrays, lists or map with Dim, NewList or NewMap must always be done inside the procedure AttachProcess.

Don't know why it has to be done this way (can someone explain?), in my DLLs I ignored this (also even not declaring all those ...
by PMV
Sun Jan 24, 2016 12:34 am
Forum: Off Topic
Topic: Opening forums links in new tab
Replies: 7
Views: 2803

Re: Opening forums links in new tab

Maybe the middle mouse button will work for you :wink:
by PMV
Sat Jan 16, 2016 2:20 am
Forum: 3D Programming
Topic: Texture flickering [solved]
Replies: 2
Views: 3667

Re: Texture flickering [solved]

Maybe a thread with function-requests of OGRE like the thread for
missing windows-api structures would be interessting?

That way, not only the PB-Team would have a easier way to see
what function are missing, but the community, too.
Just my 2 cents. :)

MFG PMV
by PMV
Wed Dec 16, 2015 10:57 am
Forum: Coding Questions
Topic: Why is Debug 30/4 equal to 7 instead of 7.5 ?
Replies: 6
Views: 3297

Re: Why is Debug 30/4 equal to 7 instead of 7.5 ?

In calculations, PB will use the variable type that matches the used variables.
That means if you have a division of just intenger, the result will be an integer.

If you need to convert on the fly from integer to float, as the calculation based
on only integer variables needs to be done in ...
by PMV
Sat Dec 12, 2015 4:17 pm
Forum: Feature Requests and Wishlists
Topic: Nested modules
Replies: 7
Views: 4994

Re: Nested modules

Nested modules would only make a difference for me, if the scope of the
inner modules is only inside the parent module, where they are defined.
Thats where i see nested modules necessary.

A module can only accessed by modules, that are defined in the same
parent module. Child modules will not ...