This Turns Drawings into Portal 2 Puzzles…

Поділитися
Вставка
  • Опубліковано 25 лис 2024
  • Yep, this thing can turn a drawing on paper into a Portal 2 test chamber.
    Thanks to dustyhobo for the amazing music, and thank you for watching.
    Streamed live on / portalrunner
    Join our Discord server! / discord
    Become a channel member! / @portalrunner
    Tracks used in order:
    / rnb
    / blood
    / depths
    / from-you

КОМЕНТАРІ • 131

  • @Krzyhau
    @Krzyhau Місяць тому +61

    Very fun concept, but I'm sorely disappointed you haven't made the chamber that shall not be named with this method.

    • @lenship2
      @lenship2 Місяць тому +6

      test chamber with three lasers

    • @ellestuff
      @ellestuff Місяць тому +13

      there's something wrong with my drawing

    • @vinfinityremakerguy
      @vinfinityremakerguy Місяць тому +2

      guys im a bad artist

  • @braindeadenthusiast7159
    @braindeadenthusiast7159 Місяць тому +71

    I love this idea so much, and it's very creative. I'm so glad you're back! Top notch.
    I'm imagining you getting a bunch of fan mail that's literally just portal maps lmfao-

  • @gingerphoenix10
    @gingerphoenix10 Місяць тому +84

    What a great game of Super Paper Portal: The Thousandth Test Chamber Door

    • @Bupboy
      @Bupboy Місяць тому +5

      Is that a mother flipping Paper Mario: The Thousand Year Door reference?? I love that game !!!1!11!

    • @coolgameriguess
      @coolgameriguess 29 днів тому +2

      I heard that they were gonna make Paper Portal: Aperture Sticker Device Star!

  • @rubix_44
    @rubix_44 Місяць тому +33

    Pancake eats cement

  • @ManOfDuck
    @ManOfDuck Місяць тому +11

    This makes me so happy bc as I kid I would draw portal 2 levels with crayons on the kids menu. Child me loves this so much

  • @Delt_666
    @Delt_666 Місяць тому +18

    Seeing you so excited and happy about your code actually working was just amazing

  • @MinAbility
    @MinAbility Місяць тому +8

    Awesome vid mate, very cool as always, the blahaj and lemon plush make an appearance, today is a good day

  • @thezipcreator
    @thezipcreator Місяць тому +19

    I think a way you could do this is to run multiple different kernels along the whole image. assuming stroke width is the same across the entire image, this should work. as for connecting buttons to doors and what have you, you could have the borders be filled, and in the center draw an arbitrary symbol. then, you make a kernel from that symbol, and try to match it whenever you encounter a door or other connectable object. this should work as long as the symbol is drawn carefully so that it looks the same across both objects.
    also, you could probably have differently drawn shapes represent different objects. like a square could be a cube, triangle could be a door, etc. then different colored versions of those objects could represent different things; like a red triangle could be an entrance and a blue triangle could be an exit.
    also, looking at the documentation for the VMF format, it doesn't look that complicated? like it doesn't look much more complicated than json is. I guess there's some simple vector math you have to do to derive the normal vectors for the planes?
    I kinda wanna try doing this now, but I don't have a scanner unfortunately. also could you post the source code somewhere?

    • @PortalRunner
      @PortalRunner  Місяць тому +8

      sure! aligning kernels is not a bad idea.
      as for vmfs - constructing the planes, aligning textures, and laying out the entities all in a way that compiles would've taken much longer for me than vscript. that's not to say vscript is any simpler, i'm just incredibly comfortable with it due to years of experience.

  • @Susul-lj2wm
    @Susul-lj2wm Місяць тому +6

    i am thinking about this a bit. You should be able to detect more colors by picking a color space they are far apart in and then basically sampling that like a high dimensional voronoi partition. oklab might work well for this, since its a CAM, so colors that look different to you as a human should be far apart in the space. I dont quite get what exactly you were doing to figure out which color was which in the image and i cant examine your code, so if you were already doing this disregard. Using the L a and b components of oklab seems like it should be good since all of those are unbounded, which should make misidentifications rarer.
    for connections i would intuitively just put them on a different spot on the paper (a different "layer" but translated horizontally) and then just also making it fully shaded cells that act like "redstone", so you have the map twice, once as a physical blueprint and once as a wiring diagram.

    • @PortalRunner
      @PortalRunner  Місяць тому +3

      all fine ideas! i didn't put that much effort into this project, i'll admit. the color detection was just finding the max between the R, G, B values. complex connections didn't seem that pressing since i was already limiting myself to those three elements. had this not been coded during a one-off livestream, i might've increased the complexity ;)
      edit: if you want to explore other ideas, another commenter had thought of matching kernels to the image for elements and connections

  • @Minefnafer22
    @Minefnafer22 Місяць тому +10

    Valve should really hire ya mate. Very cool creation and video as always!

  • @commander_snake
    @commander_snake Місяць тому +14

    I see the blajah in the back so... :3 Also amazing work you have done here! can't wait for a whole game drawn by you. /j

  • @theblunius
    @theblunius Місяць тому +1

    Thats very creative idea. I have never though that I see this in Portal.
    Good job ❤

  • @Aimee_mrrow
    @Aimee_mrrow Місяць тому +2

    omg!! this is how i used to plan my chambers :D nostalgic

  • @PancakeTAS
    @PancakeTAS Місяць тому +166

    i eat cement

  • @Carthybp
    @Carthybp 29 днів тому

    This is amazing. I'd love to see you expand on this by adding some other puzzle elements.

  • @Droplets21
    @Droplets21 29 днів тому

    I love this videos explaining, it’s something he normally wouldn’t do and I think it’s his best vid so far
    You could also make it so the darker the color is the higher or lower it would be in the map

  • @kotorybeusz7246
    @kotorybeusz7246 Місяць тому +2

    Knowing that Portal 2 runs on the source engine, I can only imagine the amount of pain and suffering that went into this

  • @kripusek
    @kripusek Місяць тому +6

    cant wait for someone to make triple laser EDIT: i wrote this as i clicked onto the video

  • @pizzapost1234
    @pizzapost1234 Місяць тому +3

    crazy that you have real pens/paper
    btw nice idea

  • @spaaaaaaaaaaaaaaaaaaaaaaaace
    @spaaaaaaaaaaaaaaaaaaaaaaaace 29 днів тому +1

    now we need to be able to turn drawings on multiple sheets of paper into 1 3d map

  • @The_Nordic_Doctor
    @The_Nordic_Doctor Місяць тому +1

    now depth and height could be done by adding numbers or some colour assignments to the top corner of the map drawing, so that each depth layer could be drawn to make drops etc
    also more precise colours could be done on the pc with programs such as krita and others, but yee props on using an irl paper with irl perhaps not so precise (value) pens, so it's cooler and it's more achieving towards the goal

  • @Bupboy
    @Bupboy Місяць тому +1

    6:14 mr president, theres a third elephant in the white house

  • @Jesz3n
    @Jesz3n Місяць тому +3

    Guess we getting PencilTM editor instead of Hammer now

  • @MarquisKurt
    @MarquisKurt Місяць тому

    Super interesting! Almost like a QR Code for Portal maps

  • @epicbrady1662
    @epicbrady1662 Місяць тому +1

    Portal 2: but flat and white

  • @notnoelle7759
    @notnoelle7759 29 днів тому +1

    this just proves a point about how much modding u can do to valve games

  • @cheesepop7175
    @cheesepop7175 26 днів тому

    You should have just made a really large map in hammer that has black walls on all sides, that way the lighting or physics wouldn't be broken.

  • @chrisolino
    @chrisolino Місяць тому +3

    I love your videos
    Keep going!

  • @Typocat
    @Typocat Місяць тому

    It would be interesting if you added another piece of paper for a heightmap or more elements, Also you could most likely build a map in hammer for the generator to use, that way you instead of using a pre-existing map you just have to load your own map (with your own properties)

  • @lukas20958
    @lukas20958 Місяць тому +6

    THERES BLÅHAJ IN BACKGROUND!!! :3

  • @nanopone
    @nanopone Місяць тому +5

    nice shark! :3

  • @Conduit-SeaWing
    @Conduit-SeaWing Місяць тому

    reminds me of an old adventure time game for mobile devices that let you do something like this

  • @shurikenkat
    @shurikenkat Місяць тому

    Valve, hire this man

  • @someone345a3
    @someone345a3 2 дні тому

    5:15 POV my brain: ANTI ALIAS ANTI ALIAS ANTI ALIAS ANTI ALIAS ANTI ALIAS ANTI ALIAS ANTI ALIAS ANTI ALIAS ANTI ALIAS ANTI ALIAS

  • @spartanoah_alt
    @spartanoah_alt Місяць тому +1

    actually really cool

  • @mugoX2
    @mugoX2 Місяць тому

    Potalrunner is smarter than Wheatley.

  • @bexilynx
    @bexilynx Місяць тому +1

    yippeeeeee !!! getting fed good 🙏

  • @eryktuchalski8048
    @eryktuchalski8048 Місяць тому

    good job!

  • @zegareg
    @zegareg Місяць тому +10

    Wait you use Linux as your main OS?

  • @gatto_furry
    @gatto_furry Місяць тому

    a video?? holy moly its been a bit

  • @TheInGeneralGamer
    @TheInGeneralGamer Місяць тому

    you should have people submit maps, you chose one, upload it with your program, then transcribe it yourself to a level that you post.

  • @nexarsji
    @nexarsji Місяць тому

    Before 1 day🗣️🔥🔥🔥

  • @Amogersuser
    @Amogersuser Місяць тому

    cool stuff!

  • @Violet_Knight
    @Violet_Knight Місяць тому +5

    blahaj!!!! :3

  • @darkrozen4110
    @darkrozen4110 Місяць тому

    it seems a lot easier to do it the other way, just hit the print screen button.

    • @PortalRunner
      @PortalRunner  Місяць тому

      @@darkrozen4110 you might be onto something…

  • @salbyoo
    @salbyoo 13 днів тому

    i want this so bad

  • @TOHmerkerGT_real
    @TOHmerkerGT_real Місяць тому

    W upload

  • @theslayers7611
    @theslayers7611 Місяць тому

    Try playing portal except you can play as 2 characters with one keyboard and you have to get to the elevator with both characters

  • @GigantTech
    @GigantTech Місяць тому +2

    i eat pancake

  • @block_place1232
    @block_place1232 26 днів тому

    Daily driving ThinkPad?

  • @ellinet13
    @ellinet13 Місяць тому

    2:10 ahhhhhh

  • @real_dimoline
    @real_dimoline Місяць тому

    I eat GigantTech

  • @ImRousev
    @ImRousev Місяць тому

    Good p2

  • @tinyahhquarks
    @tinyahhquarks Місяць тому

    next stream do a sequel to portal 2 but chat has console cmds

  • @fredkalc8634
    @fredkalc8634 Місяць тому

    plz upload more

  • @gamersunite9026
    @gamersunite9026 Місяць тому

    🤯

  • @OneLabToRuleThemAll
    @OneLabToRuleThemAll Місяць тому +4

    BLAHAJ!!!

  •  Місяць тому

    nice

  • @TheMagistralKitty
    @TheMagistralKitty Місяць тому

    Oh boi

  • @cheesepop7175
    @cheesepop7175 26 днів тому

    5:45 I just hate people who put nerd emojis on the screen every-time they're talking about something smart it's really distracting

  • @shattre6087
    @shattre6087 Місяць тому

    HES A KRITA USER LETS GOOOOO

  • @gumballegal
    @gumballegal Місяць тому

    just ask glados to make it for you

  • @Aantforgetstoexist
    @Aantforgetstoexist Місяць тому

    shork :3

  • @idkbruh95
    @idkbruh95 9 днів тому

    i have that displate

  • @JATEK0S
    @JATEK0S 29 днів тому +1

    blahaj

  • @ilmnhs
    @ilmnhs Місяць тому

    okay

    • @PortalRunner
      @PortalRunner  Місяць тому

      @@ilmnhs Thank you for your insightful comment, it has made my day.

  • @Droplets21
    @Droplets21 29 днів тому

    Portal 3 but not 3D!!!

  • @Daragonal
    @Daragonal Місяць тому

    6:31

  • @survival10
    @survival10 Місяць тому

    do you use krita?

  • @Plasticshavings
    @Plasticshavings Місяць тому

    could we stop talking about eating cement and cement without the t and stuff and just watch the video

  • @TheLegacystem
    @TheLegacystem Місяць тому

    hihi

  • @mosthardworkingrino
    @mosthardworkingrino Місяць тому

    700th like

  • @Potro4
    @Potro4 Місяць тому

    First

  • @sackyoutube
    @sackyoutube Місяць тому +1

    Cool 👍