BlitzMax 135 RC5 for Win32...
BlitzMax Forums/BlitzMax Programming/BlitzMax 135 RC5 for Win32...
| ||
Hi, (Win32 only for now) Grab the latest version from the update page for... * Moved d3d9 cooperative level test from WndProc to Flip in d3d9 graphics driver. * Change d3d9 max2d driver to manually generate mipmaps. * Oops...added image edge smearing to d3d9 driver for non-pow2 images. * d3d9 max2d driver manually sets alpha to 255 in GrabPixmap. * Added some ugly temporary retain/release code to directsound and openal audio drivers to handle problems with threaded GC and finalizers that 'resurrect' objects. Need a more general purpose solution... |
| ||
directSound works good but openal and freeAudio fail to work with any of the 135 releases on my laptop. Compaq NC6400 Centrino Duo 2GHZ Windows XP SP3 SoundMAX integrated Digital HD Audio Driver. |
| ||
SetLineWidth didn't work :(SetGraphicsDriver D3D9Max2DDriver() 'SetGraphicsDriver D3D7Max2DDriver() Graphics 800, 600 Cls SetColor 0, 200, 0 SetLineWidth(1.0) DrawLine(100, 100, 700, 100) SetLineWidth(2.0) DrawLine(100, 200, 700, 200) SetLineWidth(3.0) DrawLine(100, 300, 700, 300) Flip WaitKey() |
| ||
SetLineWidth Method is Empty(in dx9 module) |
| ||
Oh, hope this is a temporary solution :) |
| ||
yeap. because there was earlier: Global _fverts#[24] Global _iverts:Int Ptr=Int Ptr( Varptr _fverts[0] ) but for now there are: Field _texture:IDirect3DTexture9 Field _magfilter,_minfilter,_mipfilter Field _fverts#[24],_iverts:Int Ptr=Int Ptr( Varptr _fverts[0] ) but i think this is only temporary.... and also SetUV() methos is missing in D3D9ImageFrame type... etc... ^^ you have to make yourself that method.. and rebuild modules... edit... but now there are globals _fverts and also field _fverts.... so... this dx9 driver beta tesing.. but working wery well.. but this dx9 is so good... thanks mark. |
| ||
but im still wondering:SuperStrict SetGraphicsDriver D3D9Max2DDriver() 'SetGraphicsDriver D3D7Max2DDriver() 'SetGraphicsDriver GLMax2DDriver() Graphics 800,600 Local img:TImage=CreateImage(20,20) While Not (KeyHit(key_escape) Or AppTerminate()) Local a:Int=MilliSecs() Cls For Local layer:Int=0 To 5 For Local y:Int=0 To 22 For Local x:Int=0 To 22 DrawRect x*20,y*20,20,20 'DrawImage img,x*20,y*20 Next Next Next Local b:Int=MilliSecs()-a DrawText "time: "+b+"ms",500,10 Flip Wend ^^ why this is faster when using dx9 driver... but if i change layer to (For Local layer:int=0 to 50) then dx7 is faster thant dx9.... |
| ||
Hi, > directSound works good but openal and freeAudio fail to work with any of the 135 releases on my laptop. Is this in threaded mode? Do any of the samples work? Can you post some sample code to bug reports? |
| ||
After seeing that BRL.D3D9Max2D imports BRL.D3D7Max2D, will it automatically decide and set the appropriate driver if I just import BRL.D3D9Max2D and not set anything? |
| ||
Drawing gets blurry with the new DX9 driver and MaxGUI. This does not happen with DX7. I'm coding a map editor with MaxGUI, and I do not want everything getting blurred when the window is resized. |