|
Post by SareEngine on Mar 11, 2005 19:19:46 GMT
Hi,
I'm using Blitz3D v 1.90
I notice as the camera moves away from 0,0,0 that the sprite text/buttons starts to flicker.
The further I move away from 0,0,0 the worse the flickering gets.
At about 0,0,480 flickering starts and by 0,0,800 it is very severe.
Any ideas what could be the problem, I thought this was just an issue with v1.89?
Card is a Radeon9700pro and my camera range is 1 to 500
I also tried various combinations of vwait and flip true/false.
[edit] Would it be better if I used a separate camera for the hud?
|
|
|
Post by Xpressive on Mar 13, 2005 11:30:30 GMT
Could you send me a small, stripped down sample code? I'll check this then.
|
|
pike
New Member
Posts: 2
|
Post by pike on Mar 18, 2005 16:53:59 GMT
was there ever a fix for this? i have the same problem. I'm sure it has something to do with Terra Ed (I emailed you about this last week, but you don't have Terra Ed ).
|
|
|
Post by Xpressive on Mar 19, 2005 10:46:33 GMT
I can't reproduce this at the moment - again, could you please send me a small sample code so that I could check this?
Did you try to tweak the constant SC_ENTITYORDER on top of the sprite candy.bb file?
|
|
pike
New Member
Posts: 2
|
Post by pike on Mar 21, 2005 13:16:37 GMT
I tried that. I've tweaked so much that the code is rubbed off the screen I would send you a sample, but I have code all over the place. I'll keep tweaking...
|
|
|
Post by SareEngine on Mar 27, 2005 6:04:38 GMT
Argh! no internet at home sorry it's taken a while to reply but I have found out what it is.
A Blitz camera range of 2 near to 500 far results in bad flickering.
A range of 1 to 500 is better but still some flickering.
A range of 0.1 to 500 is fine, no flickering.
|
|
tonyg
Junior Member
Posts: 73
|
Post by tonyg on Apr 7, 2005 23:18:27 GMT
X-pressive, I *think* the problem is seen if you add
MoveEntity cam,0,0,z# mh1=MouseHit(1) mh2=MouseHit(2) If mh1 z=z+0.1 If mh2 z=z-0.1
at the top of the mainloop in 'Text - Buttons I.bb' sample. Press mh1 and wait a few seconds. Adding a very slight delay (delay 1) helps. <edit> I reserve the right to be very wrong.
|
|
|
Post by Xpressive on Apr 17, 2005 6:16:37 GMT
Hmm... moving the camera works fine on my machine and does not cause any flickering. I also checked your code snippet, wich also works fine.
|
|
tonyg
Junior Member
Posts: 73
|
Post by tonyg on Apr 17, 2005 7:40:38 GMT
Even if you add... MoveEntity cam,0,0,5 to the mainloop? I'm running XP SP2 with 2700+ and 9800Pro, 1G RAM if it helps.
|
|