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. --yapghThis 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 . 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: - Full Post
Saturday, July 6, 2013
SDL 2.511 + Using SDL for quick visualizations
SDL Perl 2.511 is showing great promises. The initial tests show a great deal of stability.
Moreover we are seeing more varied users of SDL Perl.
John.O Writes:
This is for a tool that we'll be providing our dealers... - Full Post
Moreover we are seeing more varied users of SDL Perl.
John.O Writes:
This is for a tool that we'll be providing our dealers... - Full Post
Introducing SDLx::Controller::Object, with our good friend Mario!
Hi Folks
This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at and demo code is available at . from on . - Full Post
This past week I have been working on making interfacing physics with SDL rendering a lot easier. The idea was to provide the user a callback to describe the acceleration of their object in the X, Y axis and Rotation. Using this idea I have completed a preliminary work for SDLx::Controller::Object. The demo below shows an example that was made with it. The SDLx* code is available at and demo code is available at . from on . - Full Post
Grant Progess Reports 1-3: Sept
As you know I have received a TPF grant to write a SDL Perl Manual.
I have been a bit busy with that and not been able to update my blog. Anyway here are some of the back dated Grant Updates. These updates where also posted on REPORT 1: Sept 20101st drafts Preface
Chapter 2: First SDL Application
Started work on Chapter 3: Drawing
Outlines for the first 7 chapters have been completed
Book build framework has been setup
Released SDL 2.514 (2.515 will be released on 16th of September) This code is the one that will be used in the book for chapter 02
Got more of the Drawing chapter done (It will be done by the end of the week)
Added several more code examples for other chapters
Progress: 2.75 chapters / 11 chapters = approx 25%
Kartik's work can be followed at:
REPORT 2: October 2010Since last time:We have released SDL 2.518 Game Loop support completed
Chapters:2nd Drafts for: Preface to Game Loop ( Chapter 0 - Chapter 04)
Chapters completed: 5/11 => 45%
Extra:cfedde has made a script to extract code listings for readers to try examples with out having to retype them.
Coments:I am receiving a lot more help from the community, most notable from cfedde for proofreading.
I will be fleshing out the next 6 chapters shortly and work will begin on them soon
I am pleased with the progress so far, and I feel the quality is improving due to the pacing.
Our work can be seen at:
REPORT 3: November 2010
This is the progress so far:
- SDL 2.523 Releases:
- Adds stability and better memory management for the game loop
- 2 chapters have been completed
- Pong Chapter (Contributed by garu)
- Additional Modules
- 1 extra chapter has been added
- Puzz(le) Chapter (Contributed by Blaizer)
- 2 Chapters are in the Works
- Tetris Code has been mostly done (contributed by FROGGS)
- Needs to be fixed
- Needs write up
- Sound and Music Effects code is done
- Needs to be fixed
- Needs write up
Our work can be seen at:
Regards,
YAPGH - Full Post
I have been a bit busy with that and not been able to update my blog. Anyway here are some of the back dated Grant Updates. These updates where also posted on REPORT 1: Sept 20101st drafts Preface
Chapter 2: First SDL Application
Started work on Chapter 3: Drawing
Outlines for the first 7 chapters have been completed
Book build framework has been setup
Released SDL 2.514 (2.515 will be released on 16th of September) This code is the one that will be used in the book for chapter 02
Got more of the Drawing chapter done (It will be done by the end of the week)
Added several more code examples for other chapters
Progress: 2.75 chapters / 11 chapters = approx 25%
Kartik's work can be followed at:
REPORT 2: October 2010Since last time:We have released SDL 2.518 Game Loop support completed
Chapters:2nd Drafts for: Preface to Game Loop ( Chapter 0 - Chapter 04)
Chapters completed: 5/11 => 45%
Extra:cfedde has made a script to extract code listings for readers to try examples with out having to retype them.
Coments:I am receiving a lot more help from the community, most notable from cfedde for proofreading.
I will be fleshing out the next 6 chapters shortly and work will begin on them soon
I am pleased with the progress so far, and I feel the quality is improving due to the pacing.
Our work can be seen at:
REPORT 3: November 2010
This is the progress so far:
- SDL 2.523 Releases:
- Adds stability and better memory management for the game loop
- 2 chapters have been completed
- Pong Chapter (Contributed by garu)
- Additional Modules
- 1 extra chapter has been added
- Puzz(le) Chapter (Contributed by Blaizer)
- 2 Chapters are in the Works
- Tetris Code has been mostly done (contributed by FROGGS)
- Needs to be fixed
- Needs write up
- Sound and Music Effects code is done
- Needs to be fixed
- Needs write up
Our work can be seen at:
Regards,
YAPGH - Full Post
Closing the Grant
With the following I am closing the grant.
This is what has been accomplished from each of the objectives:Cleaner Code and a lot of memory and performance improvements ( SDL 2.527 released Jan 18th )
10 out of 11 chapters completed:
The profiling chapter was dropped as there was not enough content to justify a chapter.
3 Extra chapters added.
Deviation from a CPAN SDL::Manual release due to the nature of the Manual it is being released as a creative commons instead.
Next Steps:Get the book polished and edited with chromatic's help
Fix build system of the html to make a real SDL::Manual release
Constant update of the book with more releases of SDL and reviewer comments.
- Full Post
This is what has been accomplished from each of the objectives:Cleaner Code and a lot of memory and performance improvements ( SDL 2.527 released Jan 18th )
10 out of 11 chapters completed:
The profiling chapter was dropped as there was not enough content to justify a chapter.
3 Extra chapters added.
Deviation from a CPAN SDL::Manual release due to the nature of the Manual it is being released as a creative commons instead.
Next Steps:Get the book polished and edited with chromatic's help
Fix build system of the html to make a real SDL::Manual release
Constant update of the book with more releases of SDL and reviewer comments.
- Full Post
SDL Perl Game Contest
Alright, boys and girls, it's the moment you've been waiting for all week: The weekly showdown. Round. Three. FIGHT!!, by Tobias Leich (FROGGS)Our german battletoad presents us with another masterpiece. Bubble Breaker is a highly addictive puzzle game where you try to eliminate the largest number of balls by matching groups of two or more balls with the same color., by JT Palmer (jtpalmer)Speaking of puzzles, JT did a really nice job in his latest addition to the Contest. Puzzle Cars is a game where you must click the arrows to redirect the (sometimes intense!) traffic to their appropriate destinations, according to car colour. It's an easy concept, but can prove very challenging, and soon enough you'll find yourself storming rapidly between arrows to achieve as many points as possible!, by Kartik Thakore (kthakore)This was a really busy week for Kartik, and he had to spend much of his free time updating branches of the project and moving around, so he wasn't able to finish his clone just yet. But so far it's looking really sharp, and we are anxious to see what he'll make of it next week!, by... - Full Post
YAPC::NA Links and Presentation of the TALK
Presentation on Notes Links to modules I discussed: ( We had to fix some stuff ) in general has all the cakeSDL Game Contest:Other stuff I do do (hehe):Lacuna Expanse: Construder: and see SDLperl wiki link up some place - Full Post
Subscribe to:
Posts (Atom)