POV-Ray : Newsgroups : povray.unofficial.patches : Find edges post process & real vectors Server Time
1 Nov 2024 13:19:54 EDT (-0400)
  Find edges post process & real vectors (Message 1 to 10 of 10)  
From: Disnel
Subject: Find edges post process & real vectors
Date: 16 Nov 2000 06:13:06
Message: <3A13D08F.ACC37273@hlavacek-partner.cz>
Hi,

 Is there any chance to get real 2D curves with this (modified,
 of course) post process? It can be very usable for creating
 hidden-lined drawings with POV.

Disnel


Post a reply to this message

From: Chris Huff
Subject: Re: Find edges post process & real vectors
Date: 16 Nov 2000 06:34:40
Message: <chrishuff-418D4B.06345516112000@news.povray.org>
In article <3A13D08F.ACC37273@hlavacek-partner.cz>, Disnel 
<dis### [at] hlavacek-partnercz> wrote:

>  Is there any chance to get real 2D curves with this (modified,
>  of course) post process? It can be very usable for creating
>  hidden-lined drawings with POV.

Could you clarify? I have no idea what you want...output of splines 
defining the edges? Or just constant-width lines?

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Disnel
Subject: Re: Find edges post process & real vectors
Date: 16 Nov 2000 07:27:40
Message: <3A13E216.92046D4E@hlavacek-partner.cz>
Chris Huff wrote:
> 
> In article <3A13D08F.ACC37273@hlavacek-partner.cz>, Disnel
> <dis### [at] hlavacek-partnercz> wrote:
> 
> >  Is there any chance to get real 2D curves with this (modified,
> >  of course) post process? It can be very usable for creating
> >  hidden-lined drawings with POV.
> 
> Could you clarify? I have no idea what you want...output of splines
> defining the edges? Or just constant-width lines?

Yes, splines or polylines for example. Output to some vector oriented
format
(DXF, PS or just text file with some representation of splines)

> 
> --
> Christopher James Huff
> Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
> TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
> 
> <><


Post a reply to this message

From: Jérôme M  Berger
Subject: Re: Find edges post process & real vectors
Date: 16 Nov 2000 09:30:49
Message: <3A13EF99.8FBE7AF7@tapasmail.net>
Disnel wrote:
> 
> Yes, splines or polylines for example. Output to some vector oriented
> format
> (DXF, PS or just text file with some representation of splines)
> 
	Use the current output, then run it through autotrace:
http://homepages.go.com/homepages/m/a/r/martweb/AutoTrace.htm


-- 

* Abandon the search for truth, * mailto:ber### [at] inamecom
* Settle for a good fantasy.    * http://www.enst.fr/~jberger
*********************************


Post a reply to this message

From: Chris Huff
Subject: Re: Find edges post process & real vectors
Date: 17 Nov 2000 06:50:19
Message: <chrishuff-0BED12.06503617112000@news.povray.org>
In article <3A13E216.92046D4E@hlavacek-partner.cz>, Disnel 
<dis### [at] hlavacek-partnercz> wrote:

> Yes, splines or polylines for example. Output to some vector oriented 
> format (DXF, PS or just text file with some representation of 
> splines)

This would be extremely difficult, and would probably be best as a 
separate filter(so you can use it on any scene instead of only scenes 
using find_edges. This is a per-pixel filter, it does not generate 
splines internally and draw lines over the image, it takes each pixel 
and tries to decide whether it is on an "edge". I have no idea where to 
start converting the resulting pixel map into a group of splines...

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Disnel
Subject: Re: Find edges post process & real vectors
Date: 20 Nov 2000 05:41:58
Message: <3A190F57.223A8EDF@hlavacek-partner.cz>
> 
> This would be extremely difficult, and would probably be best as a
> separate filter(so you can use it on any scene instead of only scenes
> using find_edges. This is a per-pixel filter, it does not generate
> splines internally and draw lines over the image, it takes each pixel
> and tries to decide whether it is on an "edge".

Hmmm, you ansvered me.

> I have no idea where to
> start converting the resulting pixel map into a group of splines...
> 

How about use normal vector to surface and assing, that resulting
contour of object will be perpendicular to normal vector's projection
into image plane? (Just an idea, don't know, if I'am right). And
how about edge between two CSG objects?

Disnel


Post a reply to this message

From: Chris Huff
Subject: Re: Find edges post process & real vectors
Date: 20 Nov 2000 17:36:41
Message: <chrishuff-7CA5E2.17370320112000@news.povray.org>
In article <3A190F57.223A8EDF@hlavacek-partner.cz>, Disnel 
<dis### [at] hlavacek-partnercz> wrote:

> How about use normal vector to surface and assing, that resulting
> contour of object will be perpendicular to normal vector's projection
> into image plane? (Just an idea, don't know, if I'am right).

I have no idea what you are trying to say...


> And how about edge between two CSG objects?

CSG objects work the same as any other objects. Why should they be any 
different?

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Disnel
Subject: Re: Find edges post process & real vectors
Date: 23 Nov 2000 03:40:34
Message: <3A1CE769.BDA52F38@hlavacek-partner.cz>
> > How about use normal vector to surface and assing, that resulting
> > contour of object will be perpendicular to normal vector's projection
> > into image plane? (Just an idea, don't know, if I'am right).
> 
> I have no idea what you are trying to say...

When you have sphere, for example, its controur is circle.
Normal vector to this circle is the same as projected normal
vector to sphere in this point. Thus we have direction of
sphere's controur in this point and we can search next point
in nearly that direction. This fails for edges on rotated cube,
for example (generally on all edges, it is usable for countour
of objects).

> CSG objects work the same as any other objects. Why should they be any
> different?
> 

And it fails also on edge between two parts of some CSG.

Disnel


Post a reply to this message

From: Chris Huff
Subject: Re: Find edges post process & real vectors
Date: 24 Nov 2000 17:58:33
Message: <chrishuff-509010.17590124112000@news.povray.org>
In article <3A1CE769.BDA52F38@hlavacek-partner.cz>, Disnel 
<dis### [at] hlavacek-partnercz> wrote:

Basically using the normal value of the pixels at an edge to determine 
where to look for the next pixel on the edge? I don't know how easy or 
reliable this would be...I think you would be better off doing the 
spline outlines by hand.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Disnel
Subject: Re: Find edges post process & real vectors
Date: 30 Nov 2000 07:36:50
Message: <3A265951.EE3ACDDF@hlavacek-partner.cz>
> Basically using the normal value of the pixels at an edge to determine
> where to look for the next pixel on the edge?

Exactly.

> I don't know how easy or
> reliable this would be...

Just an idea ;-).

> I think you would be better off doing the
> spline outlines by hand.

Hmmm, its also one possible way to solve problem ;-).

Disnel


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.