BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Simulating different sketch tools

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Ralf Mimoun
Guest





PostPosted: Fri May 18, 2007 12:20 am    Post subject: Simulating different sketch tools Reply with quote



Hi all,

I want to paint some boxes etc, but with styles that simulate a ballpen, a
pencil, chalk or a text marker. With rough edges and different color / alpha
depths. Does anyone has an idea where I can find some algorithms? They don't
have to be perfect, just something that looks ok.

Ralf
Back to top
David Ninnes
Guest





PostPosted: Fri May 18, 2007 3:09 am    Post subject: Re: Simulating different sketch tools Reply with quote



Ralf Mimoun wrote:
Quote:
Hi all,

I want to paint some boxes etc, but with styles that simulate a ballpen,
a pencil, chalk or a text marker. With rough edges and different color /
alpha depths. Does anyone has an idea where I can find some algorithms?
They don't have to be perfect, just something that looks ok.

Ralf

The GIMP has brushes that do this there's a paper here

http://www.levien.com/gimp/brush-arch.html

search for 'drawing with different pens and brushes siggraph' on google
this gave a number of references

'non photorealistic rendering' is another search term, there are a stack
of articles on this in siggraph.

In general there are two things you'd want to simulate the paper you're
writing on and the drawing stick (pen, brush etc).

To simulate paper texture, bumpmapping is a good way to go. For the
brushes use a sub sampled bitmap and draw it along the paths you choose.

This is one of the definitive papers
http://mrl.nyu.edu/publications/painterly98/

there is another earlier one I can't seem to find at the moment I'll try
and dig it up, it's a siggraph one to.

hth,
Dave
Back to top
David Ninnes
Guest





PostPosted: Fri May 18, 2007 8:11 am    Post subject: Re: Simulating different sketch tools Reply with quote



David Ninnes wrote:
Quote:
Ralf Mimoun wrote:
Hi all,

I want to paint some boxes etc, but with styles that simulate a
ballpen, a pencil, chalk or a text marker. With rough edges and
different color / alpha depths. Does anyone has an idea where I can
find some algorithms? They don't have to be perfect, just something
that looks ok.

Ralf

The GIMP has brushes that do this there's a paper here

http://www.levien.com/gimp/brush-arch.html

search for 'drawing with different pens and brushes siggraph' on google
this gave a number of references

'non photorealistic rendering' is another search term, there are a stack
of articles on this in siggraph.

In general there are two things you'd want to simulate the paper you're
writing on and the drawing stick (pen, brush etc).

To simulate paper texture, bumpmapping is a good way to go. For the
brushes use a sub sampled bitmap and draw it along the paths you choose.

This is one of the definitive papers
http://mrl.nyu.edu/publications/painterly98/

there is another earlier one I can't seem to find at the moment I'll try
and dig it up, it's a siggraph one to.

hth,
Dave

Found the one I was looking for but I'm not sure if it's exactly what
you're after, but it should be adaptable to geometric shapes.

http://cs.brown.edu/~jfh/papers/Salisbury-OTF-1997/paper.pdf

hth,
Dave
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.