<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Table of Contents for Pygame Book</title>
	<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/</link>
	<description>Blog of Will McGugan</description>
	<pubDate>Sun, 07 Sep 2008 20:34:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Will</title>
		<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-19330</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Sat, 08 Mar 2008 19:03:22 +0000</pubDate>
		<guid>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-19330</guid>
		<description>Hi wdh,

I can't remember if I used the term 'local space' explicitly in the book -- I'm guessing I didn't -- but local space is simply the coordinates of a model before they are transformed. World space is the coordinates of the model after they have been transformed. I guess you have already figured that out.

It is possible to work entirely with world space, but sometimes it can simplify certain calculations if you use local space. For instance if you have a complex model of a space ship and you want to test if it has come in to contact with a energy bolt (approximated by a sphere) you could transform all the points in the ship to world space and do the test... or you could transform a single point for the sphere centre to the local space of the ship model. Transforming a single point is obviously quicker than transforming many.

Another example would be a game character with a certain field of view. You may have to transform other objects in to the characters local space to determin if it can see them.

Hope that helps!

Will</description>
		<content:encoded><![CDATA[<p>Hi wdh,</p>
<p>I can&#8217;t remember if I used the term &#8216;local space&#8217; explicitly in the book &#8212; I&#8217;m guessing I didn&#8217;t &#8212; but local space is simply the coordinates of a model before they are transformed. World space is the coordinates of the model after they have been transformed. I guess you have already figured that out.</p>
<p>It is possible to work entirely with world space, but sometimes it can simplify certain calculations if you use local space. For instance if you have a complex model of a space ship and you want to test if it has come in to contact with a energy bolt (approximated by a sphere) you could transform all the points in the ship to world space and do the test&#8230; or you could transform a single point for the sphere centre to the local space of the ship model. Transforming a single point is obviously quicker than transforming many.</p>
<p>Another example would be a game character with a certain field of view. You may have to transform other objects in to the characters local space to determin if it can see them.</p>
<p>Hope that helps!</p>
<p>Will</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wdh</title>
		<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-19328</link>
		<dc:creator>wdh</dc:creator>
		<pubDate>Sat, 08 Mar 2008 18:00:53 +0000</pubDate>
		<guid>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-19328</guid>
		<description>I bought a copy of the book a while back and you've certainly got me hooked on game programming, but have a question I'd like to ask about the use of 3D with Pygame. Many game development web sites talk about the concepts of "world space" (an entity's position relative to the game world's origin) and "local space" (an entity's position/orientation relative to it's own origin), but your book does not mention these concepts as far as I can tell (this is not a criticism by the way, just a curiosity). Google does not reveal anything on the topic relating to Python/Pygame whatsoever.

I've read that vectors and points can be transformed from world space to local space and vice versa using matrices, but to be honest I don't really understand why you need local space at all. Most examples talk about local space as being useful when you need to calculate positions of other objects relative to the object whose local space you are using, but as you demonstrate in the book with the soldier/droid example on page 168, this is perfectly possible in what I understand to be "world space".

I'm fairly certain I'm just missing something due to a lack of understanding (hey, I'm a novice) but I'd be interested to know what your thoughts are on the above. Do you make the distinction between world and local space in your more advanced games, i.e. are they just topics that would not fit in 300 pages? Or are they irrelevant?

Thanks!</description>
		<content:encoded><![CDATA[<p>I bought a copy of the book a while back and you&#8217;ve certainly got me hooked on game programming, but have a question I&#8217;d like to ask about the use of 3D with Pygame. Many game development web sites talk about the concepts of &#8220;world space&#8221; (an entity&#8217;s position relative to the game world&#8217;s origin) and &#8220;local space&#8221; (an entity&#8217;s position/orientation relative to it&#8217;s own origin), but your book does not mention these concepts as far as I can tell (this is not a criticism by the way, just a curiosity). Google does not reveal anything on the topic relating to Python/Pygame whatsoever.</p>
<p>I&#8217;ve read that vectors and points can be transformed from world space to local space and vice versa using matrices, but to be honest I don&#8217;t really understand why you need local space at all. Most examples talk about local space as being useful when you need to calculate positions of other objects relative to the object whose local space you are using, but as you demonstrate in the book with the soldier/droid example on page 168, this is perfectly possible in what I understand to be &#8220;world space&#8221;.</p>
<p>I&#8217;m fairly certain I&#8217;m just missing something due to a lack of understanding (hey, I&#8217;m a novice) but I&#8217;d be interested to know what your thoughts are on the above. Do you make the distinction between world and local space in your more advanced games, i.e. are they just topics that would not fit in 300 pages? Or are they irrelevant?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-9294</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Fri, 02 Nov 2007 09:19:08 +0000</pubDate>
		<guid>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-9294</guid>
		<description>Hope you enjoy it Bruce! :)</description>
		<content:encoded><![CDATA[<p>Hope you enjoy it Bruce! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-9279</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Fri, 02 Nov 2007 01:46:09 +0000</pubDate>
		<guid>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-9279</guid>
		<description>I bought this book and it's awesome :)
I'm on chapter 2.</description>
		<content:encoded><![CDATA[<p>I bought this book and it&#8217;s awesome :)<br />
I&#8217;m on chapter 2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DeanG</title>
		<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7994</link>
		<dc:creator>DeanG</dc:creator>
		<pubDate>Mon, 08 Oct 2007 16:14:00 +0000</pubDate>
		<guid>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7994</guid>
		<description>Sorry, I hadn't realized it was in printer.  Congratulations!  Guess we can chalk that list up to Wiki and Blog entry topics. :-)</description>
		<content:encoded><![CDATA[<p>Sorry, I hadn&#8217;t realized it was in printer.  Congratulations!  Guess we can chalk that list up to Wiki and Blog entry topics. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7980</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Mon, 08 Oct 2007 09:02:53 +0000</pubDate>
		<guid>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7980</guid>
		<description>Dean,

Those are all great topics, but the book has gone to the printers and I think I would need another book to do justice to those subjects! Maybe I can cover them in a sequel!

Will</description>
		<content:encoded><![CDATA[<p>Dean,</p>
<p>Those are all great topics, but the book has gone to the printers and I think I would need another book to do justice to those subjects! Maybe I can cover them in a sequel!</p>
<p>Will</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil hassey</title>
		<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7965</link>
		<dc:creator>phil hassey</dc:creator>
		<pubDate>Mon, 08 Oct 2007 04:40:24 +0000</pubDate>
		<guid>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7965</guid>
		<description>Hey - 

I maintain the pygame website... If you want some kind of coverage there, send me an e-mail and we can figure out a "News item" to post on the front page, or something.

In the meantime, feel free to add mention of the book to the wiki.

-Phil</description>
		<content:encoded><![CDATA[<p>Hey - </p>
<p>I maintain the pygame website&#8230; If you want some kind of coverage there, send me an e-mail and we can figure out a &#8220;News item&#8221; to post on the front page, or something.</p>
<p>In the meantime, feel free to add mention of the book to the wiki.</p>
<p>-Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DeanG</title>
		<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7954</link>
		<dc:creator>DeanG</dc:creator>
		<pubDate>Mon, 08 Oct 2007 01:22:15 +0000</pubDate>
		<guid>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7954</guid>
		<description>Very exciting stuff!
I'm very glad to see Appendix B.  Please consider either another chapter or appendix to summarize advanced topics.  Frankly, knowing the keywords and basic approach will help [give the necessary clues to] those who will proceed from the book to the internet. Examples: Internet Play: PyGame and Networking, Threads, Twisted, Perceived and Real Limitations (side scrollers?),  Cross Platform concerns, Beyond CPython: Stackless, IronPython/Mono and Jython?, Screenshots and Printing, Adding Scripting to your Game....better stop before I completely discredit myself. ;-)</description>
		<content:encoded><![CDATA[<p>Very exciting stuff!<br />
I&#8217;m very glad to see Appendix B.  Please consider either another chapter or appendix to summarize advanced topics.  Frankly, knowing the keywords and basic approach will help [give the necessary clues to] those who will proceed from the book to the internet. Examples: Internet Play: PyGame and Networking, Threads, Twisted, Perceived and Real Limitations (side scrollers?),  Cross Platform concerns, Beyond CPython: Stackless, IronPython/Mono and Jython?, Screenshots and Printing, Adding Scripting to your Game&#8230;.better stop before I completely discredit myself. ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tennessee Leeuwenburg</title>
		<link>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7927</link>
		<dc:creator>Tennessee Leeuwenburg</dc:creator>
		<pubDate>Sun, 07 Oct 2007 23:58:03 +0000</pubDate>
		<guid>http://www.willmcgugan.com/2007/10/07/table-of-contents-for-pygame-book/#comment-7927</guid>
		<description>Hi Will,

I am the Editor-In-Chief of "The Python Papers". I'd love to include something covering your book in our next issue. If you'd be interested in contributing a little content, I'd love to give you some air-time.

Contact me at tleeuwenburg@gmail.com if you are interested.

Cheers,
-T</description>
		<content:encoded><![CDATA[<p>Hi Will,</p>
<p>I am the Editor-In-Chief of &#8220;The Python Papers&#8221;. I&#8217;d love to include something covering your book in our next issue. If you&#8217;d be interested in contributing a little content, I&#8217;d love to give you some air-time.</p>
<p>Contact me at <a href="mailto:tleeuwenburg@gmail.com">tleeuwenburg@gmail.com</a> if you are interested.</p>
<p>Cheers,<br />
-T</p>
]]></content:encoded>
	</item>
</channel>
</rss>
