POV-Ray : Newsgroups : povray.advanced-users : defaults, wood and ramp_wave Server Time
1 Nov 2024 11:13:56 EDT (-0400)
  defaults, wood and ramp_wave (Message 1 to 3 of 3)  
From: Alf Peake
Subject: defaults, wood and ramp_wave
Date: 6 Jun 2002 09:27:45
Message: <3cff6351@news.povray.org>
Hi

I've always used a default texture in a development scene. I also
prefer to use ramp_wave with wood. I don't understand why I have'nt
seen this problem before :(  Anyone tell me if I've got a script error
here please?

This occurs in Pov 3.0, 3.1 and 3.5 under Win98SE.

Alf

--%<--------

camera{ location <-3,3,-5> look_at 0 }
light_source {<-50, 50, -100> 1 }
// OK without this line:
#default{ pigment{ checker rgb <1,1,0>, rgb <1,0,1> } }

box{ -2, 2
   pigment{
      wood
      color_map{[0 red 1][1 rgb <0,1,1>]}
      ramp_wave  // Disable this line to clear the problem.
   }
}


Post a reply to this message

From: bob h
Subject: Re: defaults, wood and ramp_wave
Date: 6 Jun 2002 09:48:46
Message: <3cff683e@news.povray.org>
"Alf Peake" <alf### [at] peake42freeservecouk> wrote in message
news:3cff6351@news.povray.org...
>
> I've always used a default texture in a development scene. I also
> prefer to use ramp_wave with wood. I don't understand why I have'nt
> seen this problem before :(  Anyone tell me if I've got a script error
> here please?

Would seem to be caused by the checker pattern, which doesn't accept a wave
form in the first place. Therefore it can't be overridden, however, looks
like a fix might be needed for that in #default if it's ever to be used in
that way. Either that or a mention of checker and brick (block patterns) not
being 100% workable as a default pigment.
Note that 'tiles' is already mentioned in the Scene Help as being
disallowed.

bob h


Post a reply to this message

From: Alf Peake
Subject: Re: defaults, wood and ramp_wave
Date: 6 Jun 2002 18:10:17
Message: <3cffddc9@news.povray.org>
BTW poly_wave 1 behaves the same as ramp_wave but the float alters the
effect. I can't see anything in the docs. Only too pleased I hadn't
made a silly mistake :)

If there are no other responses I'll post it in beta-test incase its
something new.

Alf


Post a reply to this message

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