• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: NSBitmapImageRep & .rgb? .sgi?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSBitmapImageRep & .rgb? .sgi?


  • Subject: RE: NSBitmapImageRep & .rgb? .sgi?
  • From: "Bob Newhart" <email@hidden>
  • Date: Wed, 20 Mar 2002 23:53:06 -0700

Maybe you should use the initWithBitmapDataPlanes and play around with
bpp, spp, and hasAlpha - the data might not be in exactly the format
that you expect (it sounds like the endian-ness might be swapped or the
alpha component might be at the wrong end of the RGB components).

Jason

> -----Original Message-----
> From: email@hidden
> [mailto:email@hidden] On Behalf Of tigital
> Sent: Wednesday, March 20, 2002 10:19 PM
> To: email@hidden
> Subject: NSBitmapImageRep & .rgb? .sgi?
>
>
> hello,
>
> ...I'm trying to port some opengl tutorials from Nehe...some of these
> require loading .sgi or .rgb files for textures, and the "gltx.c" and
> "texture.c" routines don't cut it anymore with 10.1.3 (the tutorials
> previously worked with these routines before 10.1)...
>
> ...so I've turned to cocoa to do it right, and sure enuff, I can load
> the textures, but they come out very wrong looking: I can tell that
> parts of the file are mapped, but in general it's kinda covered over
> in black and white dreck...
>
> Is there anyway around this?
>
> tanx,
> jamie
> --
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/co> coa-dev
> Do not
> post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSBitmapImageRep & .rgb? .sgi? (From: tigital <email@hidden>)

  • Prev by Date: Re: NSThread
  • Next by Date: Re: CoreGraphics, full screen, and NSMovieView issue...
  • Previous by thread: NSBitmapImageRep & .rgb? .sgi?
  • Next by thread: Does NSSound not work in a Unix tool?
  • Index(es):
    • Date
    • Thread