|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I have a wonderful picture of bark that I'd like to use as a texture
in a scene... yet I couldn't find any way to do this. Is there any way
to make a JPEG a texture in POV-Ray (or any other picture format for
that matter)? If not, is there any other way that I could make a
semi-convincing bark texture?
-Thanks in advance!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ross Taylor wrote:
>
> I have a wonderful picture of bark that I'd like to use as a texture
> in a scene... yet I couldn't find any way to do this. Is there any way
> to make a JPEG a texture in POV-Ray (or any other picture format for
> that matter)? If not, is there any other way that I could make a
> semi-convincing bark texture?
>
> -Thanks in advance!
The official version of POV-Ray has no support for the jpg format. You
could however convert the jpg image into something lile a .tga image
file then use the image map pigment feature to apply your bark image
as a texture. I have had reasonable success using this method.
example -
pigment {
image_map { tga "bark.tga" interpolate 2 }
}
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wouldn't it be great if POV could at least read in JPEG?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
["TonyB" <ben### [at] panamaphoenixnet>]
| Wouldn't it be great if POV could at least read in JPEG?
Well, libjpeg is fairly easy to interface so adding JPEG support
should be trivial, however: jpeg is lossy, and artifacts like that
can really disturb an otherwise good scene. JPEG should only be used
for the final image, not for textures.
Besides, you'd only save disk space, not ram, and disk is cheap.
--
A penny for your thoughts.
Mine are more expensive.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>
> ["TonyB" <ben### [at] panamaphoenixnet>]
> | Wouldn't it be great if POV could at least read in JPEG?
>
> Well, libjpeg is fairly easy to interface so adding JPEG support
> should be trivial, however: jpeg is lossy, and artifacts like that
> can really disturb an otherwise good scene. JPEG should only be used
> for the final image, not for textures.
For those cases where you have an image in jpeg and no other form,
converting it to a non-lossy format like TGA doesn't restore what was
lost. So Ross' situation is one example of where it might be useful for
textures.
-Mark Gordon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Seeing as you have Win98, (english version, if that matters) you might also have
a viewer program called kodakimg. Start/Run... kodakimg and open the jpg
then File/Save as... Bmp for use in POV-Ray as a 'sys' file. I haven't done
anything with the sys type for a long time so maybe it's working well now
(sounds ominous, huh).
Bob
"Ross Taylor" <rta### [at] kearnet> wrote in message
news:3878BC1B.3A912449@kear.net...
> I have a wonderful picture of bark that I'd like to use as a texture
> in a scene... yet I couldn't find any way to do this. Is there any way
> to make a JPEG a texture in POV-Ray (or any other picture format for
> that matter)? If not, is there any other way that I could make a
> semi-convincing bark texture?
>
>
>
> -Thanks in advance!
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
omniVERSE wrote:
> Seeing as you have Win98, (english version, if that matters) you might also have
> a viewer program called kodakimg. Start/Run... kodakimg and open the jpg
> then File/Save as... Bmp for use in POV-Ray as a 'sys' file. I haven't done
> anything with the sys type for a long time so maybe it's working well now
> (sounds ominous, huh).
>
> Bob
>
> "Ross Taylor" <rta### [at] kearnet> wrote in message
> news:3878BC1B.3A912449@kear.net...
> > I have a wonderful picture of bark that I'd like to use as a texture
> > in a scene... yet I couldn't find any way to do this. Is there any way
> > to make a JPEG a texture in POV-Ray (or any other picture format for
> > that matter)? If not, is there any other way that I could make a
> > semi-convincing bark texture?
> >
> >
> >
> > -Thanks in advance!
> >
nah...
Just install Gimp and use that to convert stuff to PNG files. At least you get
compression as good or better than a .ZIPped BMP, plus it's cross-platform.
--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>For those cases where you have an image in jpeg and no other form,
>converting it to a non-lossy format like TGA doesn't restore what was
>lost. So Ross' situation is one example of where it might be useful for
>textures.
Exactly my point. Most of the textures on the 'net are JPEG (AFAIK), so you
could just download them and use them directly, and programs like 3DS2POV
wouldn't have to convert the textures to other formats for you, making the
conversion faster and easier.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ross Taylor wrote:
> I have a wonderful picture of bark that I'd like to use as a texture
> in a scene... yet I couldn't find any way to do this. Is there any way
> to make a JPEG a texture in POV-Ray (or any other picture format for
> that matter)? If not, is there any other way that I could make a
> semi-convincing bark texture?
You have to covert from jpeg to a supported format like targa.
Then it works but is not a heightfield. I gather one needs magapov for
that.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
TonyB wrote:
> >For those cases where you have an image in jpeg and no other form,
> >converting it to a non-lossy format like TGA doesn't restore what was
> >lost. So Ross' situation is one example of where it might be useful for
> >textures.
>
> Exactly my point. Most of the textures on the 'net are JPEG (AFAIK), so you
> could just download them and use them directly, and programs like 3DS2POV
> wouldn't have to convert the textures to other formats for you, making the
> conversion faster and easier.
Lets not run down jpeg without qualifications. Depending on the image and
how it was saved the loss might not be noticable.
In other words, don't throw away what might be useful until you have tried
it.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |