My camera in space, image scan pixel by pixel

Hello!
I am working on Industrial Revolution game (i know name is not right), and point of game is to make any kind of machines, factory machines, electric machines, space machines… anything you can think!

But i ran into problems…
So i have camera that should scan image and send analog data.
How to make it scan image?

so idea is to scan image from bottom to top (in 100x100 mode)
how can i do this?
EDIT: idea is to reproduce image like NOAA satellites do (i will probably have to change it…)
RECEIVING NOAA 19 RTL-SDR APT DECODE, SDRSHARP, WXTOIMG, ORBITRON, AUTO-DOPPLER - YouTube

I don’t think there is a great way to do this. Instead I would just loop through all the objects in the region and you can send data from that.

hey, that is good idea, can it work with terrain and parts? can you guide me to region tutorial?

I have never worked with Region3 before, but try this:


local minPoint = Vector3.new(0,0,0)
local maxPoint = Vector3.new(100,10,100)
region = Region3.new(minPoint, maxPoint)

for i,part in pairs(workspace:FindPartsInRegion3(region)) do
         print(part.Name.." Is in region"
end
1 Like

it works, now just need to make it scan line by line and get color data

1 Like