Drawing commands aren't working right
BlitzMax Forums/BlitzMax Programming/Drawing commands aren't working right
| ||
Hi I'm getting some weird dots. Some white and some blue. I have no idea why. If its not happening for anyone else I have a screenshot.Strict SeedRnd MilliSecs() Graphics 800,600 Local x#,y#,angle# x=200 y=200 angle=104 For Local nothing=1 To 1000 x:+Cos(angle)/3 y:+Sin(angle)/3 SetColor 0,255,0 DrawLine x,y,x+10,y+10 Plot x,y Next Flip WaitKey End |
| ||
I just get the green lines. |
| ||
ok I'm using, the newest blitzmax on some sort of laptop. |
| ||
1) Works fine here. Specs: AMD64 3000+, X800 XT 256mb, 1gb RAM, Realtek 7.1 onboard audio 2) Get the laptop specifications (frankly, considering you're a programmer, you should have known better and posted them first thing since they're critical to this sort of thing). |
| ||
ok, I think I got it all. I put it in my sig. |
| ||
Are you on Windows or Linux. (It works for me without any problems and I'm on a Radeon 9700 mobile on WinXP Pro SP2 with Catalyst Mobile 6.5 from http://www.computerbase.de/downloads/treiber/grafikkarten/ati/ati_mobile_catalyst/ ) |
| ||
k I'm on XP. I think I got a graphics card update, maybe a year ago. I remember this problem didn't happen on some old version of blitzmax. |
| ||
Have you tried using the GL driver instead of the D3D7 driver (I think that's the default)? |
| ||
Works fine here. It's definately your gfx card. 1. Update to directx9.0c (april) 2. Update your drivers! |
| ||
I would go with Noel's suggestion, I have a Laptop with a radeon chip and it sucks at DX stuff but change bmax to GL and it runs fine. |
| ||
It works fine with opengl, I guess I'll use that, thanks. |