• 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: Resizing bezier objects.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizing bezier objects.


  • Subject: Re: Resizing bezier objects.
  • From: "Brian O'Brien" <email@hidden>
  • Date: Mon, 24 Oct 2005 10:15:23 -0600

The question is more of User Interface Issues then it is of the Math of the objects transformation...
Rather.. How the object should behave.


On 24-Oct-05, at 8:09 AM, Scott Thompson wrote:



But none of this is really Cocoa or even Quartz: It is Computer Graphics 101. From
the general tenor of your questions I think you'd find life a lot easier if you
spent some time with the sections on matrices, transforms and homogeneous coordinates
in a text on basic computer graphics. I'm not familiar with the current crop so I don't
have a recommendation. Perhaps someone else on the list has a favorite.



I don't know about the current crop, but there is nothing like the classics:


Computer Graphics: Principles and Practice in C (2nd Edition)
Addison-Wesley Professional; 2 edition (August 4, 1995)
James D. Foley, Andries van Dam, Steven K. Feiner, John F. Hughes
ISBN: 0201848406

<http://www.amazon.com/exec/obidos/tg/detail/-/ 0201848406/002-4425917-3923264?v=glance>

In particular, Chapter 5 is all about transformations and Chapter 11 is about curves and surfaces.

I would imagine that this book is available in just about any Library (certainly through interlibrary loan) if you don't want to pay for the entire book.

Really any graphics text will have this information. There are tons of books on OpenGL. The tricky part you have to realize is that Quartz is only capable of a particular subset of the general transformations used in 3D graphics. In particular, Affine transformations (those handled by Quartz) cannot be used for 3D projections. As previously mentioned, you can only take one parallelogram to another parallelogram using affine transformations. For more general transformations, you're going to have to do a lot more work (i.e. use rational bezier curves and more generalized transformations)



Another option is the web. A number of very industrious professors seem to have
posted their course notes on the web, a bit of vigorous Googling can turn them up.



The Googling part doesn't even have to be that vigerous. But I guess wading through the results to find a presentation that matches your style is probably the vigerous part :-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Resizing bezier objects.
      • From: "John C. Randolph" <email@hidden>
References: 
 >Re: Resizing bezier objects. (From: Robert Clair <email@hidden>)
 >Re: Resizing bezier objects. (From: Scott Thompson <email@hidden>)

  • Prev by Date: Re: Alternative E-mail API to Message Framework
  • Next by Date: Re: How to set width of "tab" (\t) in NSTextView?
  • Previous by thread: Re: Resizing bezier objects.
  • Next by thread: Re: Resizing bezier objects.
  • Index(es):
    • Date
    • Thread