I don't know much about raycasting but I think you can fix the fish eye by just narrowing your field of view. Taking all the angles and dividing by a set amount might do the trick.
raycasting is where you scan each column of pixels on the x axis for a wall and if you find a wall, draw the walls height for that column according to distance away from you. so you cast 400 rays because that is the amount of pixels on the x dimension on screen. the screen width is 400x240. the fov is how big your viewing angle is usually 60 or 66 degrees and horizon is the width of the screen.
something like this:
for rayangle=cameraangle-fov/2 to cameraang+fov/2 step fov/horizon
' this is where you cast rays
' if you hit a wall draw a vertical line with a height according to the distance of the wall from you(the length of the ray)
next
i just read imformation on it
it mentions volumetric raycasting
and also raytracing that does real 3d rendering
is this possible on smilebasic at least with lowest pixel to create 3d objects?
could someone show me the coding for raytracing