POV-Ray : Newsgroups : povray.newusers : Inexplicable shadow? Also, normal superimposition... Server Time
28 Nov 2024 20:58:37 EST (-0500)
  Inexplicable shadow? Also, normal superimposition... (Message 1 to 2 of 2)  
From: Xplo Eristotle
Subject: Inexplicable shadow? Also, normal superimposition...
Date: 9 Nov 1999 19:46:06
Message: <3828C0A7.39F0A26B@unforgettable.com>
The following brief scene:

camera
	{
	location  <0,6,-10>
	look_at   <0,5,0>
	}
	
light_source
	{
	<-350,1000,-250>
	color rgb <2,2,1.8>
	}
	
prism
	{
	conic_sweep
	linear_spline
	.5,1,5
	<4,8>,<-4,8>,<-4,-8>,<4,-8><4,8>
	rotate <180,0,0>
	translate <0,1,0>
	scale <1,32,1>
	translate <0,-11.5,5>
	pigment { color rgb <.5,.5,.5> }
	}

...is supposed to produce a tall, narrow, medium-gray truncated
pyramidal shape. It does in fact do this, but what has me confused is
the narrow dark band that appears on the left side of the front face. It
looks like a shadow, but there's nothing to cast one.

Any ideas?

Also (and I almost hate to ask because it's probably in the dox), is it
possible to superimpose a bump_map on top of an "ordinary" normal, or
vice-versa? I wanted to create a "rough stone with some carvings" look
and this was the only way I could think of to do it without making
comprehensively large bump_maps...

-- 
Xplo Eristotle
http://start.at/xplosion/


Post a reply to this message

From: omniVERSE
Subject: Re: Inexplicable shadow? Also, normal superimposition...
Date: 10 Nov 1999 02:43:41
Message: <3829222d@news.povray.org>
I see no problem here using version 3.1g for Windows.

For the normal you might be able to use:

#declare Bump=normal {bump_map {gif "bumpy.gif" scale 3}}
#declare Regular=normal {bumps 2}

 normal {average normal_map {
  [1 Bump]
  [1 Regular]
 }}


Bob

Xplo Eristotle <inq### [at] unforgettablecom> wrote in message
news:3828C0A7.39F0A26B@unforgettable.com...
> Also (and I almost hate to ask because it's probably in the dox), is it
> possible to superimpose a bump_map on top of an "ordinary" normal, or
> vice-versa? I wanted to create a "rough stone with some carvings" look
> and this was the only way I could think of to do it without making
> comprehensively large bump_maps...
>


Post a reply to this message

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