On a not unrelated note, I've been trying to make a 3D map viewer that loads height values from a black/grey/white image. I've been making it a surface, and using surface.get_at() for each pixel. I think surfarray should do it better, though I've never used it.
- [pygame] image.load() -->> array? AlgoMantra
- Re: [pygame] image.load() -->> array? Casey Duncan
- Re: [pygame] image.load() -->> array? AlgoMantra
- Re: [pygame] image.load() -->> array? Casey Duncan
- Re: [pygame] image.load() -->> ar... AlgoMantra
- Re: [pygame] image.load() -->&g... Ian Mallett
- Re: [pygame] image.load() --&g... AlgoMantra
- Re: [pygame] image.load() --&g... Casey Duncan
- Re: [pygame] image.load() ... Ian Mallett
- Re: [pygame] image.load() ... Casey Duncan
- Re: [pygame] image.load() ... Ian Mallett
- Re: [pygame] image.load() ... Luke Paireepinart
- Re: [pygame] image.load() ... Ian Mallett
- Re: [pygame] image.load() ... Patrick Mullen
- Re: [pygame] image.load() ... Greg Ewing
- Re: [pygame] image.load() ... Greg Ewing
