• 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: OpenGL export is messed up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenGL export is messed up


  • Subject: Re: OpenGL export is messed up
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 2 Feb 2009 12:45:54 -0500

On Mon, Feb 2, 2009 at 10:24 AM, Jonathan Selander <email@hidden> wrote:
> I seem to have tracked the problem a little bit. If I use this line:
>
> _exporter = [[FrameMovieExporter alloc] initWithPath:[savePanel filename]
> codec:codec pixelsWide:size.width pixelsHigh:size.height options:options];
>
> Things are messed up, but if I hardcode th resolution to 640x480, the image
> is correct, but it doesn't capture the whole image.

Is size an NSSize or CGSize?  If so, width and height are CGFloats,
but it looks like you're passing them where ints are expected.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >OpenGL export is messed up (From: Jonathan Selander <email@hidden>)
 >Re: OpenGL export is messed up (From: Jonathan Selander <email@hidden>)

  • Prev by Date: Re: Stack trace without atos
  • Next by Date: Discarding changes and custom field editor/text field cells
  • Previous by thread: Re: OpenGL export is messed up
  • Next by thread: Read lines from very large text file
  • Index(es):
    • Date
    • Thread