POV-Ray : Newsgroups : povray.general : Modify already created object : Re: Modify already created object Server Time
6 Oct 2024 10:00:04 EDT (-0400)
  Re: Modify already created object  
From: clipka
Date: 29 Aug 2014 18:59:44
Message: <540105e0@news.povray.org>
Am 29.08.2014 22:48, schrieb bublible:

> Another problem: I am not able find pattern that would do "radial gradient",
> that is circle blending (normal gradient transform linear on x or y axis). I was
> trying: onion, planar, wood...with all there is one big problem: I need to apply
> it to polygon (simple square) STARTING FROM THE CENTER, but all those patterns
> starting from a corner??? Being webdesigner I never saw anything like that cos
> when I apply circle/radial gradient those are centric circles, not ones having
> their center in a corner. I was trying to transalte its center but it did not do
> what I was expecting...please, help again my friend if you can. :(

Those patterns are not starting from a corner - they're starting from 
the coordinate origin (i.e. <0,0,0>). If you want it to start at e.g. 
<X,Y,Z>, apply translate the texture using "translate <X,Y,Z>".


Maybe you should read the tutorial in the docs.


Post a reply to this message

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