POV-Ray : Newsgroups : povray.newusers : WireFrame Question Server Time
5 Sep 2024 04:18:01 EDT (-0400)
  WireFrame Question (Message 1 to 7 of 7)  
From: Les Patterson
Subject: WireFrame Question
Date: 6 Feb 2002 14:21:13
Message: <3c618229@news.povray.org>
I have a model created in software other than PovRay. I can export it to Pov
and render a scene with it. I would like to know if there is an easy way to
render that model(object) as a wireframe object, when I render the scene.
Thanks,
Les


Post a reply to this message

From: Ken
Subject: Re: WireFrame Question
Date: 6 Feb 2002 21:21:56
Message: <3C61E554.8232247E@pacbell.net>
Les Patterson wrote:
> 
> I have a model created in software other than PovRay. I can export it to Pov
> and render a scene with it. I would like to know if there is an easy way to
> render that model(object) as a wireframe object, when I render the scene.
> Thanks,
> Les

Not as an option withing POV-Ray itself. I do seem to recall that 3DWin
has a wireframe output option but at the expense of creating tens of
thousands of cylinders to connect the vertice points. It creates HUGE files.

http://www.stmuc.com/thbaier/

-- 
Ken Tyler


Post a reply to this message

From: Jim Charter
Subject: Re: WireFrame Question
Date: 6 Feb 2002 21:28:46
Message: <3C61E64A.3030704@aol.com>
I recall doing that once with Warp's mesh compression tool  and some of 
his associated macros.  Try his Page.

Ken wrote:

> 
> Les Patterson wrote:
> 
>>I have a model created in software other than PovRay. I can export it to Pov
>>and render a scene with it. I would like to know if there is an easy way to
>>render that model(object) as a wireframe object, when I render the scene.
>>Thanks,
>>Les
>>
> 
> Not as an option withing POV-Ray itself. I do seem to recall that 3DWin
> has a wireframe output option but at the expense of creating tens of
> thousands of cylinders to connect the vertice points. It creates HUGE files.
> 
> http://www.stmuc.com/thbaier/
> 
>


Post a reply to this message

From: Felix Wiemann
Subject: Re: WireFrame Question
Date: 7 Feb 2002 09:59:42
Message: <3c62965e@news.povray.org>
> I have a model created in software other than PovRay. I can export it to
Pov
> and render a scene with it. I would like to know if there is an easy way
to
> render that model(object) as a wireframe object, when I render the scene.
> Thanks,
> Les

It's not possible to create a wireframe with POV-Ray like a renderer does,
because the thickness of the lines will be less (or the lines disappear)
when the object is far away from the camera. A renderer always makes 1 pixel
lines.
Felix Wiemann


Post a reply to this message

From: Les Patterson
Subject: Re: WireFrame Question
Date: 7 Feb 2002 11:13:57
Message: <3c62a7c5$1@news.povray.org>
Thanks to everyone for the information. I'll check out Warp's page as
suggested.
Thanks again,
Les

Les Patterson <les### [at] txcybercom> wrote in message
news:3c618229@news.povray.org...
> I have a model created in software other than PovRay. I can export it to
Pov
> and render a scene with it. I would like to know if there is an easy way
to
> render that model(object) as a wireframe object, when I render the scene.
> Thanks,
> Les
>
>


Post a reply to this message

From: Warp
Subject: Re: WireFrame Question
Date: 7 Feb 2002 12:19:45
Message: <3c62b730@news.povray.org>
http://www.geocities.com/ccolefax/pcm.html

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Christopher James Huff
Subject: Re: WireFrame Question
Date: 7 Feb 2002 15:49:02
Message: <chrishuff-CCE6D7.15510507022002@netplex.aussie.org>
In article <3c62965e@news.povray.org>,
 "Felix Wiemann" <Fel### [at] gmxnet> wrote:

> It's not possible to create a wireframe with POV-Ray like a renderer does,
> because the thickness of the lines will be less (or the lines disappear)
> when the object is far away from the camera. A renderer always makes 1 pixel
> lines.

Ahem...POV-Ray *is* a "renderer". A renderer is just a piece of software 
that creates an image.
The previews you see in modellers are usually scanline renderers which 
take a large number of triangles as input and draw them one by one on 
the image. Since it already has the triangle data, it can easily just 
draw lines for the triangle sides instead of drawing the whole triangle.

POV is a raytracer, and computes the image pixel by pixel, sending rays 
into the scene and intersecting them with surfaces, which usually are 
intersected directly instead of being reduced to triangles. There is no 
way to know that a line pixel should be drawn, and an object just big 
enough to cover a pixel at a certain distance is likely to get missed 
and will either get fat or disappear as the distance changes, so 
simulating a wireframe with textures of a bunch of cylinders still has 
problems. It also won't be any faster than ordinary rendering, and the 
only reason modellers use it is for speed.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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