Jump to content
3DCoat Forums

Eye trace


Carlosan
 Share

Recommended Posts

Done by developer Artur Vill

http://www.shaderology.com/

------------------------------------

first attempt at WebGL using Three.js libraries.

 

Check it:

http://vill.ee/eye/

 

Eye shader main features:
Texture raytracing to simulate cornea refractions
Loads of parameters to customize the eye
Cornea vertex displacement
Normal maps
Reflections
Simple image based 'lighting'

There is still some room for optimization in fragment shader. I feel like, I'm doing too many space transformations at the end. Also, I couldn't figure out how to access gl_ModelViewMatrixInverse in vertex shader so modelViewMatrix gets inverted in the vertex shader. Recalculating normals of displaced vertices is also questionable. I'm planning to add cat eye shape and caustics.

Environments from hdrlabs.com and zbyg.deviantart.com
Eye textures from milesresearch.com and Lukas Hajka

Images processed with Photoshop and Crazybump

 

Link to comment
Share on other sites

  • Advanced Member

did you make this carlosan?

 

It's fantastic! I know it's mostly a sphere but boy does it show off webgl rendering nicely. Awesome work!

 

Seems like my computer is watching me... Oh wait! Do you work for the N......  ;)

Edited by photonvfx
Link to comment
Share on other sites

  • Advanced Member

Hey carlosan,

 

Do me a favor.  Modify your eyeball viewer so that it follows based on webcam tracking of the largest target in front of it.  I've got 2 monitors and want to freak out everyone in the office with a gigantic pair of realistic eyes following them as they walk by. ;)

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...