After a lot of days of silence, let's start again the APOCALYX 3D Engine daily posts. Today just a short old news: I simply signal an old paper of mine that describes how to simulate a refractive (and reflective) perfect sphere with just two triangles.
In DemoPack1 is available a demo (RefractiveSphere.lua) about the subject.
The article dates back to 2004, so it explains how to simulate a sphere through fragment programs. Now the same effect can be accomplished much more easily using fragment shaders and the GLSL language, but the theory behind the scene is still interesting.
Download the paper from here: RefractiveSphere.pdf.
3 comments:
Very, very interesting, Leonardo. When you apply your physicist skills like this, it makes the Apocalyx3D website very exciting! Keep it up! Wish there were more bloggers for Apocalyx though!
Ezani from Malaysia
Hey Leonardo!
No posts in November/December - but I hope you did not forget about Apocalyx and all is well with you.
Kind regards,
Barts
Barts said:
>
> No posts in November/December
> but I hope you did not forget
> about Apocalyx and all is
> well with you.
I'm fine, thank you! Unluckily I had very little time because of my real job to publish a new post every day, but currently I'm still working on MekaWars. As usual the release date of that game has changed a lot, but you know that
any game will be released... "when it's done." :)
Post a Comment