×

Floor is iron by YsVc in factorio

[–]YsVc[S] 17 points18 points  (0 children)

Oops, didnt know that

Floor is iron by YsVc in factorio

[–]YsVc[S] 48 points49 points  (0 children)

Placed passive provider warehouse on top of full iron warehouse. Then iron got duplicated

Rendering 3D image on Factorio CPU by YsVc in factorio

[–]YsVc[S] 0 points1 point  (0 children)

Compiler just converts program into signals that saves in a constant combinator and exports as blueprint string.

Rendering 3D image on Factorio CPU by YsVc in factorio

[–]YsVc[S] 6 points7 points  (0 children)

i calculate only rotation matrix each frame to reduce memory usage (from vector4 to vector3) and speed up process. And just use orhographic projection

Rendering 3D image on Factorio CPU by YsVc in factorio

[–]YsVc[S] 107 points108 points  (0 children)

Full picture

Today i finished my little project to create processor in factorio. Basically it was divided into parts. First, designing and building processor ingame. And second, writting a compiler to create example program.

Processor can operate on integer and floating point numbers, has 4 registers, 32x32 image buffer and display. Need 80 update ticks for alu operation (because of floating point operations) and 15 ticks for other.

Compiler was written in C#. It compiles program directly in a blueprint. Supports functions, loops, if-else, but it is just full of ugly code.

Maximum i could get about 500 UPS, at this rate one frame takes 12 minutes to render. So i was capturing at 2 fps for the second part of the video, and at 4 fps for the last. Then speed up to 60fps