POV-Ray : Newsgroups : povray.binaries.images : fished onion Server Time
20 Aug 2024 04:18:27 EDT (-0400)
  fished onion (Message 21 to 27 of 27)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Margus Ramst
Subject: Re: fished onion
Date: 13 Oct 2000 18:40:44
Message: <39E781F4.270384ED@peak.edu.ee>
autowitch wrote:
> 
> How did you do the tiling?
> 

You have two options (that I can think of).

1) Use the repeat warp. For example, to get a <0,0,0>-<1,1,1> slice of your
texture to tile in 3D, you need 3 consecutive repeat warps:
warp{repeat x}
warp{repeat y}
warp{repeat z}

2) The way I did it was to modify the (x,y,z) parameters in the function call,
like this:
function{
    My_pigment_function(
        abs(x)-floor(abs(x)),
        abs(y)-floor(abs(y)),
        abs(z)-floor(abs(z))
    )
}
This also tiles a <0,0,0>-<1,1,1> slice of the pattern in 3D - but if I'm not
mistaken, the pattern is mirrored at the origin.

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

From: Bob H 
Subject: Re: fished onion - how do this
Date: 13 Oct 2000 19:04:26
Message: <39e794fa@news.povray.org>
Well it's incredible.  I think I'm understanding it more as time goes on.

Bob


Post a reply to this message

From: Bob H 
Subject: Re: fished onion
Date: 13 Oct 2000 19:08:15
Message: <39e795df@news.povray.org>
Obviously guessing how something is done without knowing all the possible
tools and/or techniques available can get a person nowhere.  I was trying to
think of how the old-fashioned texturing methods would create it.

Bob


Post a reply to this message

From: David Fontaine
Subject: Re: fished onion
Date: 13 Oct 2000 20:55:23
Message: <39E7AC88.1C0F7246@faricy.net>
"Bob H." wrote:

> Obviously guessing how something is done without knowing all the possible
> tools and/or techniques available can get a person nowhere.  I was trying to
> think of how the old-fashioned texturing methods would create it.

Me too. I think a lot of people try to do that.

...and people with pirated versions of Max realize that and use it to their
advantage...

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: fished onion
Date: 16 Oct 2000 03:51:38
Message: <39eab38a$1@news.povray.org>
> 2) The way I did it was to modify the (x,y,z) parameters in the
function call,
> like this:
> function{
>     My_pigment_function(
>        abs(x)-floor(abs(x)),
>        abs(y)-floor(abs(y)),
>        abs(z)-floor(abs(z))
>    )
> }
> This also tiles a <0,0,0>-<1,1,1> slice of the pattern in 3D - but if
I'm not
> mistaken, the pattern is mirrored at the origin.


why you absolute coordinates ?

My_pigment_function(x-floor(x),y-floor(y),z-floor(z))

ABX


Post a reply to this message

From: Margus Ramst
Subject: Re: fished onion
Date: 16 Oct 2000 12:43:05
Message: <39EB22AF.947212C5@peak.edu.ee>
Wlodzimierz ABX Skiba wrote:
> 
> why you absolute coordinates ?
> 

Because, if I'm not mistaken, that mirrors the pattern at the origin :)
In my case, that was the desired effect. Otherwise, repeat warps can do the job
and are probably easier to understand.

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

From: Anton Sherwood
Subject: Re: fished onion - how do this (2 img - 223KB bu)
Date: 13 May 2001 03:28:32
Message: <3AFE37D6.B037BBB1@pobox.com>
would it be cheating to print the fish onto a cylinder?

-- 
Anton Sherwood  --  br0### [at] p0b0xcom  --  http://ogre.nu/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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