POV-Ray : Newsgroups : povray.general : Image Map Problems Server Time
9 Aug 2024 11:27:50 EDT (-0400)
  Image Map Problems (Message 1 to 5 of 5)  
From: How Camp
Subject: Image Map Problems
Date: 14 Aug 2000 16:30:58
Message: <39985702@news.povray.org>
I've got an odd situation:

I posted three images to p.b.i that will hopefully illustrate my problem.  I
have a simple scene cosisting of two cones and a sphere.  One cone is used
as a base texture, while the other is an image map (with a filtered color to
allow the underlying texture to show through).  The image mapped cone is
slightly larger than the base cone, to avoid any coincident surface
problems.

Now, if I render the scene with a point light source, and all three objects
are present, it looks as I would expect (first picture - the two cones are
indistinguishable, as the filtered image map blends into the base texture).
However, if I switch to an area light source, OR remove the sphere (or
both), then suddently my base cone becomes dark, and only the filtered color
on the image map appears correct (second and third picture - shows the image
map and surrounding filtered area just as in the first example, but the base
cone is much darker, making it obvious where the image map lies).

I've no idea why this is the case.  I played with the area light, and
reduced it to a 1x1 source (which should look identical to a point source,
correct?) and the strange difference is still apparent.  I can also change
the sphere to other objects at other positions, and as long as something
besides the two cones is present and I use a simple point source for the
light, the image will render correctly (well, MY idea of correctly).

Anyone wish to explain this?  I'm apparently not so good with image maps...

- How


Post a reply to this message

From: How Camp
Subject: Re: Image Map Problems
Date: 14 Aug 2000 16:34:06
Message: <399857be@news.povray.org>
Sigh.  Well, I posted the images backwards - the bottom one is rendering
"correctly", while the top two are screwy.  Sorry for the confusion.

- How


Post a reply to this message

From: ryan constantine
Subject: Re: Image Map Problems
Date: 14 Aug 2000 17:49:31
Message: <39986955.830C3A73@yahoo.com>
did you say you are using TWO cones in order to have a base texture and
another over it?  why not use a layered texture instead?  a wild stab
about your problem is that your outer cone is casting shadows on your
inner cone. that's just a guess though.

How Camp wrote:
> 
> I've got an odd situation:
> 
> I posted three images to p.b.i that will hopefully illustrate my problem.  I
> have a simple scene cosisting of two cones and a sphere.  One cone is used
> as a base texture, while the other is an image map (with a filtered color to
> allow the underlying texture to show through).  The image mapped cone is
> slightly larger than the base cone, to avoid any coincident surface
> problems.
> 
> Now, if I render the scene with a point light source, and all three objects
> are present, it looks as I would expect (first picture - the two cones are
> indistinguishable, as the filtered image map blends into the base texture).
> However, if I switch to an area light source, OR remove the sphere (or
> both), then suddently my base cone becomes dark, and only the filtered color
> on the image map appears correct (second and third picture - shows the image
> map and surrounding filtered area just as in the first example, but the base
> cone is much darker, making it obvious where the image map lies).
> 
> I've no idea why this is the case.  I played with the area light, and
> reduced it to a 1x1 source (which should look identical to a point source,
> correct?) and the strange difference is still apparent.  I can also change
> the sphere to other objects at other positions, and as long as something
> besides the two cones is present and I use a simple point source for the
> light, the image will render correctly (well, MY idea of correctly).
> 
> Anyone wish to explain this?  I'm apparently not so good with image maps...
> 
> - How


Post a reply to this message

From: How Camp
Subject: Re: Image Map Problems
Date: 14 Aug 2000 17:57:35
Message: <39986b4f$1@news.povray.org>
Yes, I could use a layered texture, however I still don't understand what is
happening in this particular case.  I don't see how it could be shadowing,
since it changes depending on the inclusion of an unrelated (?) object, or
switching light sources.  Appreciate you taking a "stab" at it, though,
Ryan.  Thanks!

- How

"ryan constantine" <rco### [at] yahoocom> wrote in message
news:39986955.830C3A73@yahoo.com...
> did you say you are using TWO cones in order to have a base texture and
> another over it?  why not use a layered texture instead?  a wild stab
> about your problem is that your outer cone is casting shadows on your
> inner cone. that's just a guess though.


Post a reply to this message

From: GrimDude
Subject: Re: Image Map Problems
Date: 14 Aug 2000 21:44:59
Message: <3998a09b@news.povray.org>
The sphere has nothing to do with the problem.
Two cones is one too many. Delete one of them, and apply both textures to
the same object. Use transmit, rather then filter. That should be it, but
posting the source would give a definitive answer.

Grim


Post a reply to this message

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