POV-Ray : Newsgroups : povray.general : 3d noise in superpatch patterns? Server Time
4 Nov 2024 17:29:12 EST (-0500)
  3d noise in superpatch patterns? (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Greg M  Johnson
Subject: 3d noise in superpatch patterns?
Date: 28 Sep 1999 14:13:21
Message: <37F104A6.CE266CF6@my-dejanews.com>
Did I see somewhere that there was a 3D noise function that could be
used in superpatch patterns?

This wasn't in the docs.


Post a reply to this message

From: TonyB
Subject: Re: 3d noise in superpatch patterns?
Date: 28 Sep 1999 20:31:33
Message: <37f15de5@news.povray.org>
Perhaps you refer to noise3d()? Maybe it can be used like this:

#declare Bozo = function {pigment {bozo color_map {[0 rgb 0][1 rgb 1]}}}

box {5,-5 pigment {function {Bozo(x,y,z)+noise3d(x,y,z)}}}    ? Haven't
tried it yet, I'm just asuming.


Post a reply to this message

From: SamuelT 
Subject: Re: 3d noise in superpatch patterns?
Date: 28 Sep 1999 22:17:00
Message: <37F177B9.F36A6168@aol.com>
This would work:

pigment{ function{ noise3d(x,y,z) } }

And this is fun, heh heh heh:

pigment{function
abs((noise3d(x*2,y*4,z*4)*.875)&(noise3d(x*4,y*2,z*4)*.875)&(noise3d(x*4,y*4,z*2)*.875))
poly_wave}



TonyB wrote:

> Perhaps you refer to noise3d()? Maybe it can be used like this:
>
> #declare Bozo = function {pigment {bozo color_map {[0 rgb 0][1 rgb 1]}}}
>
> box {5,-5 pigment {function {Bozo(x,y,z)+noise3d(x,y,z)}}}    ? Haven't
> tried it yet, I'm just asuming.

--
Samuel Benge

E-Mail: STB### [at] aolcom
Website: http://members.aol.com/stbenge


Post a reply to this message

From: TonyB
Subject: Re: 3d noise in superpatch patterns?
Date: 28 Sep 1999 23:03:19
Message: <37f18177@news.povray.org>
>This would work:
>
>pigment{ function{ noise3d(x,y,z) } }


True, but I thought he might like something more complex. Oh, well, maybe
you're right and I should have just put in the pure noise.

>And this is fun, heh heh heh:
>
>pigment{function
>abs((noise3d(x*2,y*4,z*4)*.875)&(noise3d(x*4,y*2,z*4)*.875)&(noise3d(x*4,y*
4,z*2)*.875))
>poly_wave}

Did you just make that up? =)

What happened to the part of your tutorial where you say that you can blob 2
torii? How do you do that? I want to do boxes and spheres right now.


Post a reply to this message

From: Lance Birch
Subject: Re: 3d noise in superpatch patterns?
Date: 29 Sep 1999 02:02:36
Message: <37f1ab7c@news.povray.org>
How about...

F=(X^2+Y^2+Z^2+2*Y-1)*((X^2+Y^2+Z^2-2*Y-1)^2-8*Z^2)+16*X*Z*(X^2+Y^2+Z^2-2*Y-
1)


Post a reply to this message

From: SamuelT 
Subject: Re: 3d noise in superpatch patterns?
Date: 29 Sep 1999 21:54:18
Message: <37F2C3EA.BE607246@aol.com>
TonyB wrote:

> >And this is fun, heh heh heh:
> >
> >pigment{function
> >abs((noise3d(x*2,y*4,z*4)*.875)&(noise3d(x*4,y*2,z*4)*.875)&(noise3d(x*4,y*
> 4,z*2)*.875))
> >poly_wave}
>
> Did you just make that up? =)
>

Not just last night, but many nights ago. I was trying to make a fast-rendering
texture that simulated the effect that crackle and granite has, that is, the
"partitions" that make those pigments so neat.

> What happened to the part of your tutorial where you say that you can blob 2
> torii?

It's not made yet. I need to find a free weekend in order to make more
tutorials.

> How do you do that? I want to do boxes and spheres right now.

Well, my brief description is to make cubes and spheres using functions, and
adding them together using multiplication symbols. Each piece must be inside of
brackets ( ). So you would do something like this:

isosurface{
 function (x^2+y^2+z^2)*(abs(x)+abs(y)+abs(z))
 threshold 1 sign 1
 pigment{rgb 1}
 finish{phong 1}
}

The first part is a sphere, the second, a cube. I will get more in-depth in that
section of the tutorial. Have fun, I hope that was enough info to get you
experimenting.

--
Samuel Benge

E-Mail: STB### [at] aolcom
Website: http://members.aol.com/stbenge


Post a reply to this message

From: SamuelT 
Subject: Re: 3d noise in superpatch patterns?
Date: 29 Sep 1999 21:59:09
Message: <37F2C50A.37E983E@aol.com>
Looks useful as a wood pigment.

Lance Birch wrote:

> How about...
>
> F=(X^2+Y^2+Z^2+2*Y-1)*((X^2+Y^2+Z^2-2*Y-1)^2-8*Z^2)+16*X*Z*(X^2+Y^2+Z^2-2*Y-
> 1)

--
Samuel Benge

E-Mail: STB### [at] aolcom
Website: http://members.aol.com/stbenge


Post a reply to this message

From: Jerry
Subject: Re: 3d noise in superpatch patterns?
Date: 1 Oct 1999 13:31:20
Message: <jerry-0110991031150001@cerebus.acusd.edu>
In article <37f15de5@news.povray.org>, "TonyB"
<ben### [at] panamaphoenixnet> wrote:

>Perhaps you refer to noise3d()? Maybe it can be used like this:
>
>#declare Bozo = function {pigment {bozo color_map {[0 rgb 0][1 rgb 1]}}}
>
>box {5,-5 pigment {function {Bozo(x,y,z)+noise3d(x,y,z)}}}    ? Haven't
>tried it yet, I'm just asuming.

I'm getting an error when I use this (float factor expected but pigment
found instead). I'm using the Smellenbergh Unofficial Mac port. Is this a
newer feature, or is there a minor typo I'm not seeing?

Jerry


Post a reply to this message

From: Ron Parker
Subject: Re: 3d noise in superpatch patterns?
Date: 1 Oct 1999 13:45:55
Message: <37f4f353@news.povray.org>
On Fri, 01 Oct 1999 10:31:15 -0700, Jerry wrote:
>In article <37f15de5@news.povray.org>, "TonyB"
><ben### [at] panamaphoenixnet> wrote:
>
>>Perhaps you refer to noise3d()? Maybe it can be used like this:
>>
>>#declare Bozo = function {pigment {bozo color_map {[0 rgb 0][1 rgb 1]}}}
>>
>>box {5,-5 pigment {function {Bozo(x,y,z)+noise3d(x,y,z)}}}    ? Haven't
>>tried it yet, I'm just asuming.
>
>I'm getting an error when I use this (float factor expected but pigment
>found instead). I'm using the Smellenbergh Unofficial Mac port. Is this a
>newer feature, or is there a minor typo I'm not seeing?

It's a newer feature, and it's only in the superpatch.  Unfortunately, nobody
has yet succeeded in building a Mac version of the superpatch. :(

Fortunately, you can still do a lot with noise3d without using bozo (which 
is practically noise3d anyway.)  See my recent posting in 
povray.text.scene-files for an isosurface-based box with a noisy surface.


Post a reply to this message

From: Jerry
Subject: Re: 3d noise in superpatch patterns?
Date: 1 Oct 1999 16:14:26
Message: <jerry-0110991314150001@cerebus.acusd.edu>
In article <37f4f353@news.povray.org>, par### [at] fwicom wrote:
>It's a newer feature, and it's only in the superpatch.  Unfortunately, nobody
>has yet succeeded in building a Mac version of the superpatch. :(

The Unofficial has the important ones, for the rest I'm willing to wait
until 3.5 (will this new version of isosurface be in 3.5?)

>Fortunately, you can still do a lot with noise3d without using bozo (which 
>is practically noise3d anyway.)

It wasn't actually bozo I wanted, but the ability to use patterns in
general. Does this feature work to actually create isosurface objects as
well? In other words, does this allow us to use patterns to deform
isosurface objects instead of, but identical to, what 'normal' patterns
fake?


Jerry


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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