'flat' camera ?

BlitzMax Forums/MiniB3D Module/'flat' camera ?

MaximilianPs(Posted 2008) [#1]
the object near the camera margin will be distorted, actually i'm using some sprites to simulate the sun glow or the planets atmospehere but with that distorsion the graphical effect are terrible :-\

for example

on this picture the sun is on the upper right corner of the window, so the planet as been distorted while the spirte remain rounded

... any tips ?


klepto2(Posted 2008) [#2]
Which Version do you have?
An old Version was having rotation trouble (matrix calculation error) so the Entity was scaled down on one axis.
Does the spere rotate?


MaximilianPs(Posted 2008) [#3]
the mod is sidesign V 1.45


Rone(Posted 2008) [#4]
try CAMERAZOOM >= 1.5


MaximilianPs(Posted 2008) [#5]
it's a bit better..


but not so much.. :-\

here you can see a video with the camera stretching
http://www.max3d.it/temp/Colonizationweb/


klepto2(Posted 2008) [#6]
Could you try it with a lesser Camerarange? maybe everthing devided by ten or so?

It could be that due the large range the viewmatrix is distorted. Also you maybe will have zfighting problems if you use such great differences between near and far range.


MaximilianPs(Posted 2008) [#7]
camera range @ 50k but same problem

5k same problem :((


or here ^^
http://www.youtube.com/watch?v=UpzW2DAX-AE


Rone(Posted 2008) [#8]
Ok, set CameraZoom = Pi ...I tested it and the sphere looks round from each perspective.




MaximilianPs(Posted 2008) [#9]
indeed it looks correctly :)
i was wondering if my probolem are coming from pitch and yaw to, can u test it ?