Raycasting

3:00 PM

I did something with bezier curves today, and achieved some kind of good looking grass.

It was good, but I am thinking now of doing something right from the basics. So, I choose Raycasting. 

Raycasting is nothing, just casting rays and computing intersections so to visualize the space. I am going to do a 2D version first, which consists of an object, which casts out light in a cone (torch) fashion, and the path lights up. 


5:00 PM

Raycasting was so much fun!! I was able to create a shadow like 2D effect, where the circle is a


Raycaster, and casts ray in all direction, and displays the ray when it hits a boundary/wall.

Comments

Post a Comment

Popular posts from this blog

WebGL - Perspective

WebGL - Orthographic 3D

Cursor and Serial Ports