[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] surfarray.pixels3d() bug?
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] surfarray.pixels3d() bug?
- From: "Forrest Voight" <voights@xxxxxxxxx>
- Date: Tue, 30 Sep 2008 16:08:37 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 30 Sep 2008 16:08:47 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=y20qpNobodQ5C3yIRz/Ed89CPEADJoI0RSF7UJvQn0Y=; b=JHCign5rsg4bZpZbFd53dyH9NSgQHMP+slvUaEQcGxRH9nhRelBrVrNPCSrz0m6ECk vmOyXCXEpQ+TYbd6hkEEh30N0P3B0Q17wK8Vqvl64yEFcnpIGoWFXQGheEZbz4bmIjqG tXZnXYnooQhC9VW/hDpJqBkfqIV4Y/R0HP8NY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=US1LgeNcd2h/1scD1kJEC1mc1yBuY7XPLO+eXgVZECZ/oOgqq3Xyehydv414o/di+A AK0SbNbcmmF7JT6Z4RITM2qQ2yZo24QbVPQ3gqzo6Yb/FSgmQuZBhh6FLRtGvYAm1ait 4M5jB2uAycw+anG/IBmyIbutAHRJBvWq1BeJ8=
- In-reply-to: <217c8c050809301218g41f2c72aje674ead2030da7cb@xxxxxxxxxxxxxx>
- References: <217c8c050809301218g41f2c72aje674ead2030da7cb@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
You're probably doing something wrong. It helps a lot to post code samples. :)
On Tue, Sep 30, 2008 at 3:18 PM, Mark S <slygroups@xxxxxxxxx> wrote:
> Hi all,
>
> I am trying to use surfarray.pixels3d() to copy a surface to an array but it
> doesn't seem to be working properly. If I call that function and then blit
> the array right back to the surface (after first clearing it) what is
> produced is a 90 degree rotation of the original image that is repeated a
> few times with a vertical offset. Also, the array generated image is
> missing periodic vertical strips of the original image.
>
> If I do the exact same thing with surfarray.pixels2d() it works perfectly.
>
> I'm wondering if there is something wrong with the 3d function or if I'm
> actually doing something wrong.
>
> Thanks a lot,
>
> mark