[quote]Many thanks for the help, and your raycasting looks cool on picking the blocks. How did you do your collision checks with the blocks? AABB’s?
Thanks
[/quote]
I have no collision testing in my released alpha. I am currently fixing some issues with it. Then I will update my thread. But it will be AABB/AABB collision testing.
Glad you like the raycasting. I am fascinated by it too. I guess you found the source for it in my thread. It may be helpful.
BTW: In your posted source you are still calling glEnd() after every rendered cube. Doesn’t it work without this at this position?