Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 20 Jul 2013
Offline Last Active Apr 23 2016 03:47 PM

Posts I've Made

In Topic: open source x file format library

22 April 2016 - 04:04 PM

For 3D models, Assimp will read them in, but it doesn't look like there is a .X exporter yet.


.X is not the most complicated format in the world, at least for the plain-text variant, so you could write one up.  http://paulbourke.net/dataformats/directx/

In Topic: Is there a named algorithm for this method of splitting a large triangle into...

20 April 2016 - 04:59 AM

Generally, the process is known as subdivision, and is a pretty extensively studied subject in graphics.


Loop Subdivision 


Catmull-Clark Subdivision


I suspect that handling the acute and obtuse cases differently might be slower than simply doing the midpoint subdivision in all cases.

In Topic: Can anyone recommend cheap games for a classroom?

11 April 2016 - 06:05 PM

A few decks of cards and an encyclopedia of card game rules?


For board games, I'd think some yard-sale/thriftshop scrounging could turn up some inexpensive options.

In Topic: Troubles with Pygame

10 April 2016 - 08:32 AM

You might want to reformat your code in the post - the editor has a thing to do pre-formatted code blocks.  Particularly since this is Python, and whitespace matters.


Might be an old book that doesn't match up with the current Pygame font package.  render is a method that you call on a Font object that's been created, not a module-level function.

In Topic: And the Best President for America is…

10 April 2016 - 08:22 AM

Long gone are the days when voting equated to selecting between John Jackson and Jack Johnson.

I guess now it's more between John Jackson and Mecha-Nixon


Nice Futurama reference, but I go with South Park's Turd Sandwich vs Giant Douche to explain the election.  Particularly if it grinds down to the least interesting of possible outcomes, Clinton v Cruz.  At that point I might just write-in for the MAD Magazine kid.