Page 2 of 3
Posted: Tue Oct 14, 2008 12:42 pm
by rotacak
Fred wrote:For now, we don't force hardware vertex processing, the default is software (if the capability D3DDEVCAPS_HWTRANSFORMANDLIGHT isn't found).
In this case D3DDEVCAPS_HWTRANSFORMANDLIGHT returns wrong result "found", PB use HW and bsod appear?
Posted: Tue Oct 14, 2008 12:59 pm
by Fred
according to intel's code, if the D3DDEVCAPS_HWTRANSFORMANDLIGHT returns found, it is supported. It's only for the software mode than an exception is needed.
Posted: Tue Oct 14, 2008 6:58 pm
by blueznl
Perhaps a parameter that allows the user to force software mode?
Posted: Wed Jan 07, 2009 11:46 pm
by rotacak
So, it will be somewhat fixed? Anything than bluescreen would be better. I still don't get where is the problem, why 3D sprite not work on specific GFX cards, when others games work ok. (my bad english)
Posted: Thu Jan 08, 2009 2:19 am
by netmaestro
@rotacek: InitSprite() is always required first, whether or not you will be later using InitSprite3D().
Posted: Thu Jan 08, 2009 2:41 am
by rotacak
I using:
Code: Select all
If InitSound() = 0 : MessageRequester("Error", "InitSound failed", 0) : End : EndIf
If InitKeyboard() = 0 : MessageRequester("Error", "InitKeyboard failed", 0) : End : EndIf
If InitSprite() = 0 : MessageRequester("Error", "InitSprite failed", 0) : End : EndIf
If InitSprite3D() = 0 : MessageRequester("Error", "InitSprite3D failed", 0) : End : EndIf
And then I want load sprite with #PB_Sprite_Texture, and PC will crash in bluescreen.
Posted: Thu Jan 08, 2009 2:48 am
by netmaestro
This code is working fine here, winx86 DX9:
Code: Select all
If InitSound() = 0 : MessageRequester("Error", "InitSound failed", 0) : End : EndIf
If InitKeyboard() = 0 : MessageRequester("Error", "InitKeyboard failed", 0) : End : EndIf
If InitSprite() = 0 : MessageRequester("Error", "InitSprite failed", 0) : End : EndIf
If InitSprite3D() = 0 : MessageRequester("Error", "InitSprite3D failed", 0) : End : EndIf
OpenScreen(640,480,32,"")
LoadSprite(1, #PB_Compiler_Home+"examples\sources\data\purebasic.bmp",#PB_Sprite_Texture)
CreateSprite3D(1,1)
Repeat
ClearScreen(0)
Start3D()
DisplaySprite3D(1,100,100)
Stop3D()
FlipBuffers()
ExamineKeyboard()
Until KeyboardPushed(#PB_Key_Escape)
Posted: Thu Jan 08, 2009 12:31 pm
by blueznl
Intel 945 on HP / Compaq NC4400 laptop works fine here.
I just looked around, but haven't got a 965 here in the office or back at home. Sorry.
Posted: Thu Jan 08, 2009 12:33 pm
by rotacak
netmaestro: With intel q965/963 graphic card?
Posted: Thu Jan 08, 2009 12:39 pm
by rotacak
For example this notebook with intel 943GML Express chipset cause problems: Notebook Acer Aspire 5315-051G08Mi
I don't know if I tryed BMP instead of PNG, but it will be probably same. I can't test it now.
Posted: Thu Jan 08, 2009 12:43 pm
by djes
No problem with the netmaestro example. No more hang with the Sprite3d.pb example with directx9, but nothing is drawed, just a blue background, nothing else.
However, bluescreen hang with directx7. Hang on igxpdx32.dll.
Posted: Thu Jan 08, 2009 5:18 pm
by rotacak
I tested it with PB4.20. In 4.30 it's fixed? Or I need to instal something in PB? I don't know much about dx9 in PB.
Posted: Fri Jan 09, 2009 10:45 am
by djes
It seems not "fixed", but it's not hanging, at least with directx9 subsystem.
Posted: Fri Jan 09, 2009 12:48 pm
by White Eagle
djes wrote:It seems not "fixed", but it's not hanging, at least with directx9 subsystem.
You should try using DX7 and not DX9.
Many of Intel's GFX chips are not DX9 compliant. I have one of the first Eees released and it will not run anything DX9 based. However, it handles DX7 and OpenGL fine.
Posted: Fri Jan 09, 2009 1:30 pm
by djes
White Eagle wrote:djes wrote:It seems not "fixed", but it's not hanging, at least with directx9 subsystem.
You should try using DX7 and not DX9.
Many of Intel's GFX chips are not DX9 compliant. I have one of the first Eees released and it will not run anything DX9 based. However, it handles DX7 and OpenGL fine.
Could you read the entire thread, please?
