[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Raycaster Demo




But that didn't work either. I suspect the relationship between apparent size and distance is nonlinear, but don't know what it is. It's not like I seriously plan to develop this "engine," but if anybody knows the magic equation, this project could be a fun little thing to put in the Cookbook.

Read my other post, but I think at the bottom of the page
http://www.permadi.com/tutorial/raycast/rayc8.html
should be your magic formula.