BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
"Voxels" and Mode 8 sprites (possibly mode 7 sprites too)
Hey all
So Ive started to attempt a few basic voxel style things in Mode 8 using sprite bars, making them wider to simulate shelves, floors etc. Just a bit of
experimentation.
Well, Ive got the code working now but ive got a problem where the sprites are all flickering and disappearing/reapppearing when I turn the
camera/move it closer to and further from the sprites, or when the mode 8 sprites get closer to each other. Does anyone know how to prevent this? :S
Screenshot of what i mean posted below for reference.
~*~ Princess of Pies and Pastries ~*~
|
|
CicTec
DIV Pro
Posts: 471
Registered: 6-8-2016
Member Is Offline
|
|
Hi BreadCaster,
There are two possible answers to this problem:
1) Some latent bugs still present in mode8 to be corrected.
2) A problem of precision loss in the calculation of too small/near objects due to the use of INT instead of floating-points.
If you can mount a small example to be tested, it would be very useful to analyze the problem and try to solve it later.
|
|
BreadCaster
Loyalty Card Holder
Posts: 321
Registered: 2-3-2016
Member Is Offline
|
|
Okay, will do it as soon as I can as I cant get access to my main PC right now. Have a feeling that it's likely to be number 2 rather than the 1st
option - if so would thare be any way of fixing this/working around this?
BC
~*~ Princess of Pies and Pastries ~*~
|
|
CicTec
DIV Pro
Posts: 471
Registered: 6-8-2016
Member Is Offline
|
|
It should be possible to work with voxel in an acceptable manner even with fixed-point (INT), but first really need to identify what is the visual
display problem of "voxel" objects for mode8
[Edited on 24-5-2017 by CicTec]
|
|