More
See all Show me
138. Flint ball
4 months ago
137. Addition/Subtraction
4 months ago
136. 7 Days of Earthquakes
5 months ago
135. Wind study
5 months ago
133. Generative Trees
5 months ago
132. Jellyfish
7 months ago
125. Snake Study
8 months ago
124. Snake study.
8 months ago
123. Snake, study
8 months ago
122. Snake study
8 months ago
121. Snake study
8 months ago
120. Snake study
8 months ago
112. Augmented webcam study
8 months ago
Made with Processing. No audio.

Made a quick spotted texture and implemented a directional light in addition to the light hiding behind the camera. Just a quick video to show a nice overlap.

Credits

109 Likes

  • lukasz plus 8 months ago
    thats nuts dude!
    how are you working out if the snake has to go over the top of another snake?
  • flight404 plus 8 months ago
    Using a bit of a brute force process. Each snake is 200 segments. Each segment has a magnetic repulsion towards every segment of every other snake (if they are close enough to warrant collision detection calculations). Not ideal, speed wise, but still runs at 60 fps with four snakes intertwined, and can handle several more if they are off wandering solo.
  • lukasz plus 8 months ago
    ah the ol' megnetic repulsion... i would never have figured. yeah works pretty damn well. was just trying to imagine what would be involved if you were to do it through proper collision detection and my head started to spin.
  •  
  • Cedric Kiefer 8 months ago
    is it just the standart processing open gl renderer? looks great! whats your setup?
  • flight404 plus 8 months ago
    Its OpenGL and GLSL. For now, the geometry is in VBOs and I have two light sources effecting the texture rendering on the shader.
  •  
  • Ryan Alexander 8 months ago
    i gotta say robert, i really like this new snake direction.
  •  
  • toneburst plus 8 months ago
    Very impressive.
    Probably a very naive question, but are all the mesh calculations done on the CPU, or is there some vertex-shader magic going on, to bend the snakes around?

    a|x
  • flight404 plus 8 months ago
    Not naive. I *barely* know what I am doing. :P The geometry stuff happens in vertex buffer objects. I am only using shaders for texturing and lighting.
  •  
  • Rui Madeira plus 8 months ago
    this is amazing! its getting really realistic... im really curious to see where this is going.
  • flight404 plus 8 months ago
    Me too! I have some ideas but will need a better physics implementation to get it to work the way I want. So who knows.
  •  
  • Caitlin Diaz 8 months ago
    very interested in how this is going to develop! i have a love/hate relationship with snakes
  •  
  • Alex Beim plus 8 months ago
    I'm scared
  •  
  • Dominic Amatore 2 months ago
    Ive seen your old work, and its some serious progression.
    Nice.
  •  
This conversation is missing your voice. Take five seconds to join Vimeo or log in.

Advertisement

3 Related collections

Statistics

  •  
    plays
    likes
    comments
  • Total
    plays 22.9K
    likes 109
    comments 13
  • Nov 22nd
    plays 1
    likes 0
    comments 0
  • Nov 21st
    plays 5
    likes 0
    comments 0
  • Nov 20th
    plays 7
    likes 0
    comments 0
  • Nov 19th
    plays 14
    likes 0
    comments 0
  • Nov 18th
    plays 7
    likes 0
    comments 0
  • Nov 17th
    plays 14
    likes 0
    comments 0
  • Nov 16th
    plays 20
    likes 0
    comments 0
  • Nov 15th
    plays 17
    likes 0
    comments 0
Previous Week

Downloads

Please join Vimeo or log in to download the original file. It only takes a few seconds.