Skip to content
0:00 / 0:00

#factorio#raycasting

Raycasting engine in Factorio (vanilla 0.17) - Facto-RayO v1.0

arrow in my gluteus maximus

10K subscribers • 1 video on Hallway

YouTube
  • Recommended by 3 people: 1 on Hacker News, 1 on Lobsters and 1 in engineering communities.
  • May be out of date. Uploaded 7 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

1M views7 years ago3 recommendations

Graphics and audioGame developmentRenderingBuilding a game engine

A 3D raycasting engine built inside vanilla Factorio using in-game circuit networks and combinators is demonstrated.

I've made a raycasting engine that works in vanilla Factorio 0.17. It can render simple 3D scenes (with some limitations). A new frame is generated and displayed every 45 game ticks. And I only get about 20 UPS when using this map, so this video is sped up about 135 times to compensate. Some clarification about vanilla. When I say vanilla it means it works completely in vanilla. However mods were used to help build it (for example creative mode to get materials for free) and film it. You can download the map from the factorio forum page: forums.factorio.com/viewtopic.php?f=193&t=69887&p=424936#p42… credits for external resources used: design for the screen: DaveMcW forums.factorio.com/viewtopic.php?t=37490 (I did not use the original but a modified version) idea for the user input mechanism: Kleeb reddit.com/r/factorio/comments/ao5say/request_for_user_input… power generation: Hunter / Claudio Périco factorioprints.com/view/-Kp1YWKm_JIXUisCB1lo youtube.com/channel/UC3r-Y4DqJhqAp6TRYMTHMwg/community?lb=Ug… music (in order used in video, you can find them in the youtube audio library): Heaven and Hell - Jeremy Blake New Land - ALBIS Ticker - Silent Partner Water Lillies - Density & Time Righteous - Silent Partner pixel art fonts: dafont.com/04b-30.font?text=You+Win%21 dafont.com/fipps.font?text=subscribe dafont.com/pixel12x10.font?text=Game+Over image assets: paper background: Designed by rawpixel.com / Freepik camera icon: by Iconnice for flaticon.com flaticon.com/free-icon/video-camera_131018#term=camera&page=… - help translate my videos: youtube.com/timedtext_video?ref=share&v=7lVAFcDX4eM youtube.com/timedtext_cs_panel?tab=2&c=UC3r-Y4DqJhqAp6TRYMTH… twitter: twitter.com/ArrowGMaximus

Why it's here

3 people recommend this

What people say. Recommended as an impressive demonstration of building a 3D rendering engine inside Factorio's in-game logic circuits.

friendlysockon Lobsters • Recommends

Raycasting engine in Factorio (vanilla 0.17) - Facto-RayO v1.0

aphextimon Hacker News • Recommends

On “Ray-Strips: A Compact Mesh Representation for Interactive Ray Tracing (2007) [pdf]”

A little bit off topic but I recently saw something regarding a Ray-tracing engine built inside of the game Factorio. Check it out here - link to this video

u/ergzayin r/compsci • Recommends

Raycasting engine in Factorio (vanilla 0.17) - Facto-RayO v1.0

DonHopkinson Hacker News • Mentions

On “Understanding Kafka with Factorio”

…bed as "programmer crack", here are some other Factorio related discussions: Factorio – a game where you can automate basically anything (factorio.com) link link "This game is like crack for programmers." -kentonv (Tech lead for Cloudflare Workers, author of Sandstorm.io, Cap'n Proto) link Raycasting engine in Factorio game – Facto-RayO v1.0 link to this video (youtube.com) link link to this video Factorio to talk about horizontal scaling of software services (medium.com) link link Mapping Factorio with Leaflet (cloudflare.com) link link…

Cthulhu_on Hacker News • Mentions

On “Factorio Future Plans”

You mean the Combinators and circuit network? Pretty visual already: link I mean it basically runs doom already: link to this video