Re: NSBezierPath, illustration, 3D bezier shapes
Re: NSBezierPath, illustration, 3D bezier shapes
- Subject: Re: NSBezierPath, illustration, 3D bezier shapes
- From: Aki Inoue <email@hidden>
- Date: Fri, 11 May 2001 23:59:00 -0700
Hi,
There is no ready-made view available, but Sketch.app example can be a
good start demonstrating how NSBezierPath can be utilized in drawing
applications.
The source code is at /Developer/Examples/AppKit/Sketch if you installed
the DevTools CD.
Aki
On 2001.05.11, at 22:52, Rob Rix wrote:
I've been experimenting of late with some of the tutorials provided on
http://nehe.gamedev.net/opengl.asp (I think that's the url), in
particular the tutorial on 3D bezier shapes. I spent a few days making
sure that I fully understood the equations, which seems to have paid
off.
So, this interested me greatly in all things bezier, and in order to
better understand the processes going on in the tutorial, I'd like to
set up a small editor for a bezier patch.
Since I don't yet know enough OpenGL/3D mathematics theory to dabble in
picking and all that sort of stuff, I'd like to implement editing by
choosing from a list which bezier curve you wish to edit, and then
editing it on a plane using an NSBezierPath (seems like a good choice
to me).
So, the question is: is there a ready-made view available which allows
you to edit an NSBezierPath sort of like you can do with
Illustrator/Freehand,
and if not, how would I start implementing my own? I've got the
GraphicKit installed, but I'm kind of lost in the headers, and I can't
seem to locate any proper documentation to tell whether or not this
sort of a view is available.
Up till now I've been sort of intimidated by the AppKitno matter how
lovely Cocoa makes it, it's still interface programming, and I've had
some _bad_ experiences with that in the pastso I'm going to jump in
head-first with this project.
Thanks very much for any help you can give me,
-- Rob
Murphy strikes again!
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev