3D Engine problems - quit unexpec

Everything related to 3D programming
marc_256
Addict
Addict
Posts: 859
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

3D Engine problems - quit unexpec

Post by marc_256 »

Hi,

I am making a demo version of my 3D CAD viewer, and I converted all my software to PB 5.11 Final.

[WIN 8 - x64 - PB 5.11 Final]

First I use:
If OpenWindow(0, 10, 10, 1600, 900, "PVG", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)

If I use:
;- OPEN WINDOWED SCREEN TO PLAY THE DEMO

OpenWindowedScreen(WindowID(0), 5, 5, 1590, 700, 0, 0, 0, #PB_Screen_NoSynchronization)
OR
OpenWindowedScreen(WindowID(0), 5, 5, 1590, 700, 0, 0, 0, #PB_Screen_WaitSynchronization)
OpenWindowedScreen(WindowID(0), 5, 5, 1590, 700, 0, 0, 0, #PB_Screen_SmartSynchronization)

I get a POLINK ERROR


If I use this:

OpenWindowedScreen(WindowID(0), 5, 5, 1590, 700, 0, 0, 0)

After a few seconds, my demo is blocked ?
Even if I use threadsafe option

Then I use:

OpenScreen(1600, 900, 32, "PVG", #PB_Screen_WaitSynchronization, 40)

It works ...
But I need a windowed screen ??

Can some one help me here ?

I found this ??
http://www.purebasic.fr/english/viewtop ... 4f6d120eea

Tested with DirectX and OpenGL (same problems)

Marc,
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: 3D Engine problems - quit unexpec

Post by IdeasVacuum »

Hi Marc

Well, if it was all working in a previous PB Version, then the POLINK ERROR is high on the suspects list. That could be caused by a lib that is not up-to-date for PB5.11.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply