This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

jimboweb
jimboweb presents ...

2014/12/6

Raycasting Demo

Direct translation from c++ to Greenfoot of part 1 of lodev's raycasting demo from:

http://lodev.org/cgtutor/raycasting.html

1574 views / 19 in the last 7 days

Tags: simulation demo with-source raycasting

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Mon Dec 08 11:58:03 UTC 2014
jimbowebjimboweb

2014/12/8

I think I fixed it. Let me know if it works.
lordhersheylordhershey

2014/12/8

seems to be just fine to me.
A new version of this scenario was uploaded on Mon Dec 08 14:04:00 UTC 2014 Sorry, forgot to publish the source code
A new version of this scenario was uploaded on Mon Dec 08 14:06:42 UTC 2014 Sorry, forgot to publish the source code. Also commented out the showText() of FPS for backwards compatibility to older versions of Greenfoot. So if you have showText() and want to see the fps uncomment that.
jimbowebjimboweb

2014/12/8

Thanks, lordhershey!
wabuildermanwabuilderman

2014/12/8

yep, it works. Good job jimboweb!
jimbowebjimboweb

2014/12/8

Thanks for the help
A new version of this scenario was uploaded on Mon Dec 08 19:12:26 UTC 2014
A new version of this scenario was uploaded on Mon Dec 08 19:13:07 UTC 2014

See all comments

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.