X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Fblog-0004.html-inc;h=21af3c62575cc586c0963c4e159ff88dcc5aae7f;hb=a05e5d4499fb58198e463162d0385e8a156e1f03;hp=64faf7628d2d7bc6c882021f0a476befd7f20b41;hpb=f060e594ff77e262c6f1e29a23acb092a1bb7ae2;p=sdlgit%2FSDL-Site.git diff --git a/pages/blog-0004.html-inc b/pages/blog-0004.html-inc index 64faf76..21af3c6 100644 --- a/pages/blog-0004.html-inc +++ b/pages/blog-0004.html-inc @@ -1,23 +1,38 @@

-Threaded XS callback finally gets solved. +Perl+SDL 3D Rendering

-

-Dragged down from the lofty isles,
-into the guts and gore of the monster,
-a welcoming cringe in the gut approaches.
-

-

+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.

-So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the problem we were having.
+--yapgh

-The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t. However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.
+
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.

-On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response.
+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.

-More information on the CHANGELOG.
+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.

-Also a shout out to FROGGS for his new SON!!!. Congrats buddy! -


-

\ No newline at end of file +
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