POV-Ray : Newsgroups : povray.advanced-users : meshes Server Time
31 Oct 2024 21:27:10 EDT (-0400)
  meshes (Message 1 to 3 of 3)  
From: ankur6ue
Subject: meshes
Date: 10 Jan 2005 13:35:01
Message: <web.41e2ca1abab26f94bb40afbf0@news.povray.org>
Hello,
I'm trying to render face meshes using povray for a face recognition
project. the meshes are in the form on 3D points with texture information
at each point. I'm able to render the meshes under different lighting
conditions and poses..my question is how do I tell povray to render the
mesh so that the rendered image fits tightly around the face without any
additional background? right now when I render the mesh to a size say
200*200 (I can specify the size of the rendered image in the ini file) the
dimension of a tight bounding box around the face is 175*200 (175 being the
x dimension and 200 the y dimension..makes sense since faces are generally
more tall than they are wide) and povray adds black columns to make up for
the remaining 25 columns..
so how do I tell povray to not include any additional background and select
a tight box around the face rendering? I hope I make myself clear, I wish I
could include some sample renderings..if there is some doubts about my
question, please feel free to email me at ank### [at] umiacsumdedu ..
any help will be deeply appreciated.
thanks a lot,
Ankur


Post a reply to this message

From: Slime
Subject: Re: meshes
Date: 11 Jan 2005 04:15:44
Message: <41e39940@news.povray.org>
> right now when I render the mesh to a size say
> 200*200 (I can specify the size of the rendered image in the ini file) the
> dimension of a tight bounding box around the face is 175*200 (175 being
the
> x dimension and 200 the y dimension..makes sense since faces are generally
> more tall than they are wide) and povray adds black columns to make up for
> the remaining 25 columns..

What do you mean by "columns"? Columns of pixels? How come they're columns -
are the faces square? When you say 200x200 and 175x200, are you talking
about pixels or POV-units?

I can't understand the problem as you're describing it.

> so how do I tell povray to not include any additional background and
select
> a tight box around the face rendering?

If your problem is simply that you have a square (200x200 pixel) image and a
non-square subject within that image, then just change the image width
(+W175) and then modify the camera's "right" vector to go along with that.
But I can't tell if that's what you're saying...

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Sascha Ledinsky
Subject: Re: meshes
Date: 17 Jan 2005 12:44:04
Message: <41ebf964$1@news.povray.org>
I'm not sure I understand, but if you want a transparent background use 
the switches +UA +FN
+UA anables the alpha channel (for transparency) and +FN switches the 
output format to png (not all formats support transparency, png is one 
that does).


Post a reply to this message

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