|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi!
When using the partial options I get two or more image files.
How can I construct one image from the output files?
If there was an image format that would allow me to simply cut and paste
that would be great, but it seems there is no such format supported by
povray.
So if you got a solution to this problem please post a reply.
Thanks.
Dan
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tyken <nomail@nomail> wrote:
> So if you got a solution to this problem please post a reply.
> Thanks.
When you make a partial render POV-Ray will actually create an image
file with headers for the complete image but will simply stop writing
to it when the partial render finishes (and if the partial render
did not start from the first line it will however be written to
the output file as if it did).
Many image viewing/manipulation programs will take those interrupted
files as broken for this reason and will refuse to read them at all.
Some programs will read them and show what they got (and the rest they
will set as blank). Shouldn't be necessary to say that the former type
of programs will not help you with this but you will need some of the
latter type... :)
If you are a coder type you can make a small script or program which
actually joins the image parts. This is actually extremely simple when
you use for example raw targa type as output image (+ft option). The
process to do this is as follows:
1. The first partial render targa can be taken as is (if you are creating
a separate, joint image, you can simply copy the first targa to it).
2. For each one of the next partially rendered targa files skip 18 bytes
from the beginning and append the rest of the file to the joint image.
And there you are. You have a full image.
(The reason to skip 18 bytes is because a targa file has a header of
exactly 18 bytes and when POV-Ray creates one, the image data will
immediately follow the header.)
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tyken wrote:
> Hi!
>
> When using the partial options I get two or more image files.
> How can I construct one image from the output files?
> If there was an image format that would allow me to simply cut and paste
> that would be great, but it seems there is no such format supported by
> povray.
I don't see what prevents you from merging them with an image
manipulation program.
I also don't understand what you mean with 'cut and paste' and why this
does not work with any of the file formats supported by POV-Ray.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 2 Sep. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
news:3f95abeb@news.povray.org...
> If you are a coder type you can make a small script or program which
> actually joins the image parts.
Frankly, it's easier to output as BMP and stitch the results together in a
paint program (with the Windows version). The standard BMP output by POV-Ray
is such a dumb format that I've yet to have a problem with a partial BMP
file. Every paint utility I have opens it without any problem.
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Gilles Tran <tra### [at] inapginrafr> wrote:
> > If you are a coder type you can make a small script or program which
> > actually joins the image parts.
> Frankly, it's easier to output as BMP and stitch the results together in a
> paint program (with the Windows version). The standard BMP output by POV-Ray
> is such a dumb format that I've yet to have a problem with a partial BMP
> file. Every paint utility I have opens it without any problem.
You are probably right if you are going to do this only once and you
don't have too much programming experience. However, if you are going
to do this regularly then it might be worth the trouble writing a small
script which does it automatically...
Actually I have made such script for myself, but since it's a Unix
shell-script I suppose it will be of little help to the original poster.
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
news:3f968465@news.povray.org...
> You are probably right if you are going to do this only once and you
> don't have too much programming experience. However, if you are going
> to do this regularly then it might be worth the trouble writing a small
> script which does it automatically...
In fact I realise that I was talking about a more general situation, where
just a part of the image (like +sr0.536 +er0.7863 +sc0.456 +ec0.86) is
rendered to be inserted at the corresponding spot in the entire image (when
re-rendering a detail for instance). I'm under the impression that the exact
position of the rendered zone isn't kept in the image file (but I could be
wrong of course). The ability to re-render a selected zone on the top of an
already rendered image (instead of replacing it) could be an interesting
feature btw.
Note that usually I don't even bother to save the image file when the size
is small and just work with the screen capture so it's just a cut and paste
operation.
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Gilles Tran wrote:
>
> In fact I realise that I was talking about a more general situation, where
> just a part of the image (like +sr0.536 +er0.7863 +sc0.456 +ec0.86) is
> rendered to be inserted at the corresponding spot in the entire image (when
> re-rendering a detail for instance). I'm under the impression that the exact
> position of the rendered zone isn't kept in the image file (but I could be
> wrong of course).
The offset (i.e. +sr/+sc different from 0) is stored in tga files and
png files if PNG_READ_oFFs_SUPPORTED is defined (default is not AFAIK).
Of course paint program do not usually read them.
> The ability to re-render a selected zone on the top of an
> already rendered image (instead of replacing it) could be an interesting
> feature btw.
In fact i implemented such a feature for my planet renders
(http://www-public.tu-bs.de:8080/~y0013390/pov/planets.html). It is a
lousy hack though.
I first render a black/white mask to define which pixels are rendered
and which are taken from the old image and then render the scene with
this mask as an additional parameter. The patch only works with ppm
output and tga for the mask IIRC and antialiasing is probably not
handled correctly.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 2 Sep. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Gilles Tran <tra### [at] inapginrafr> wrote:
> In fact I realise that I was talking about a more general situation, where
> just a part of the image (like +sr0.536 +er0.7863 +sc0.456 +ec0.86) is
> rendered to be inserted at the corresponding spot in the entire image (when
> re-rendering a detail for instance).
Ah, I didn't think of that. I only thought about partial renderings
starting and ending at specific lines. I didn't think about partial
renderings between columns...
Certainly if you make partially renders that way, automatically joining
the parts is less trivial.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 21 Oct 2003 17:36:29 EDT, "Tyken" <nomail@nomail> wrote:
> When using the partial options I get two or more image files.
> How can I construct one image from the output files?
You could look into PictureAppender at http://www.it-berater.org/smpov.htm
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |