X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Fblog-0007.html-inc;h=21af3c62575cc586c0963c4e159ff88dcc5aae7f;hb=1d5d4d44a3acf89f7820195b5016f4ebc4489250;hp=1671bafdc47f31f6b6ae05247bceb5b4c974ab30;hpb=ec946b6b14ea9423892698e8edfac4664f979b3c;p=sdlgit%2FSDL-Site.git diff --git a/pages/blog-0007.html-inc b/pages/blog-0007.html-inc index 1671baf..21af3c6 100644 --- a/pages/blog-0007.html-inc +++ b/pages/blog-0007.html-inc @@ -1,6 +1,38 @@

-HackFest: Results +Perl+SDL 3D Rendering

-
The beautiful sunset,
is no match for,
the ugly sunrise

Results

On Sunday we had a hackfest on #sdl irc.perl.org. This is what we got done.




  1. MacOSX build is working again. It's still rough but Tetris works on it now. dngor++
  2. SDL::Tutorial::Tetris is on CPAN as v0.15. nferraz++
  3. SDL Perl docs are a little better now. magnet++
  4. Finally experimental Rect and Game::Rect are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++
  5. Also POGL is working experimentally with SDL.
Hopefully I can get the first three results into the next release soon. The next release 2.2.3 will go up as a developmental release first. Also the experimental branch is going up as version 2_4.

Developers

All developers please tell me what to put you guys want to be put down as on the
in the Docs for the SDL Perl Team section.

--yapgh
\ No newline at end of file +Recently we have done a lot of work on the next release of SDL Perl. But it all pays off when I see users do cool things as one of the users has done below. Talon^++! This project is a great example for people wanting to learn 3D from scratch.
+
+--yapgh
+
+
This was a project to test how well Perl+SDL performs and does not use OpenGL at all. This is all perl and SDL, with the help of libsdl_gfx for SDL::GFX::Primitives. Texture mapping doesn't use SDL::GFX::Primitives because textured_polygon just takes a surface, tiles it, and clips out the polygon, which doesn't look 3D at all.
+
+Below are some screen shots of this little toy in action. If you'd like to try it yourself, you can download the entire project here. You can rotate the objects with the mouse, or keyboard arrows. Also press shift to toggle shading and space to switch objects.
+
+NOTE: the project is compressed in the .tgz format, if you are a windows user, you may need a tool like 7zip to extract the contents.
+
+
Standard Cube:
+

+

Standard Cube with Pseudo Shading:
+
+

+

Standard Diamond:
+
+

+

Standard Diamond with Pseudo Shading:
+
+

+

Textured Cube:
+
+

+

Perspectively Correct Textured Cube:
+
+

+

Perspectively Correct Textured Cube with shading:
+
+

+
+


+

\ No newline at end of file