POV-Ray : Newsgroups : povray.binaries.images : Pigment Tricks Server Time
2 Oct 2024 00:18:55 EDT (-0400)
  Pigment Tricks (Message 9 to 18 of 18)  
<<< Previous 8 Messages Goto Initial 10 Messages
From: Doug Eichenberg
Subject: Re: Pigment Tricks
Date: 22 Jul 2000 21:38:06
Message: <397a4c7e$1@news.povray.org>
Would really like to see the code for these
<nice smile>
Please?


Post a reply to this message

From: Rune
Subject: Re: Pigment Tricks
Date: 22 Jul 2000 22:56:33
Message: <397a5ee1@news.povray.org>
"ryan constantine" wrote:
> code? please?  really neat-o.

Thanks! Have a look at:

http://rsj.mobilixnet.dk/3d/goodies/goodies.html

Greetings,

Rune
--
Updated July 10: http://rsj.mobilixnet.dk
3D images, include files, stereograms, tutorials,
The POV Desktop Theme, The POV-Ray Logo Contest,
music, 350+ raytracing jokes, and much more!


Post a reply to this message

From: Rune
Subject: Re: Pigment Tricks
Date: 22 Jul 2000 22:56:34
Message: <397a5ee2@news.povray.org>
"Paul Vanukoff" wrote:
> These are all cool.

Thanks!

> I'm pretty sure I could recreate #1 and #4, but how did
> you do #2 and #3 ... ?

The same technique is used for all the images. Only the patterns used are
different. I have now uploaded the source code to
http://rsj.mobilixnet.dk/3d/goodies/goodies.html

Greetings,

Rune
--
Updated July 10: http://rsj.mobilixnet.dk
3D images, include files, stereograms, tutorials,
The POV Desktop Theme, The POV-Ray Logo Contest,
music, 350+ raytracing jokes, and much more!


Post a reply to this message

From: Rune
Subject: Re: Pigment Tricks
Date: 22 Jul 2000 22:56:36
Message: <397a5ee4@news.povray.org>
"Christoph Hormann" wrote:
> Looks good,

Thanks!

> some changes and the last one would be good for
> a ice-free line on a frozen water...

Thanks, that comment inspired me to make the color version!

> do they use average or pigment_map ?

average no, pigment_map yes.

Source code at
http://rsj.mobilixnet.dk/3d/goodies/goodies.html

Greetings,

Rune
--
Updated July 10: http://rsj.mobilixnet.dk
3D images, include files, stereograms, tutorials,
The POV Desktop Theme, The POV-Ray Logo Contest,
music, 350+ raytracing jokes, and much more!


Post a reply to this message

From: Rune
Subject: Re: Pigment Tricks
Date: 22 Jul 2000 22:56:37
Message: <397a5ee5@news.povray.org>
"Tony[B]" wrote:
> This just goes to show how powerful POV's patterns are. :)

Yes, and that although patched versions of POV-Ray are great, there are
still lots of things to explore within official POV-Ray! :-)

> Cool stuff, Rune.

Thanks!

Rune
--
Updated July 10: http://rsj.mobilixnet.dk
3D images, include files, stereograms, tutorials,
The POV Desktop Theme, The POV-Ray Logo Contest,
music, 350+ raytracing jokes, and much more!


Post a reply to this message

From: Rune
Subject: Re: Hints
Date: 22 Jul 2000 22:56:38
Message: <397a5ee6@news.povray.org>
"Bob Hughes" wrote:
> All very good examples of pattern possibilities.

Thanks!

> Any while loops used?

Yep!

Source code at
http://rsj.mobilixnet.dk/3d/goodies/goodies.html

Greetings,

Rune
--
Updated July 10: http://rsj.mobilixnet.dk
3D images, include files, stereograms, tutorials,
The POV Desktop Theme, The POV-Ray Logo Contest,
music, 350+ raytracing jokes, and much more!


Post a reply to this message

From: Rune
Subject: Re: Pigment Tricks
Date: 22 Jul 2000 22:56:39
Message: <397a5ee7@news.povray.org>
"Joshua English" wrote:
> Another gauntlet thrown down... and I was hoping to have
> a reason not to clean out my closet... Very nice. Very
> challenging.

Ok, *don't* look at the web page where the source code is!
- that will just ruin your fun I suppose. ;-)

> Now I have to experiment. I can see the basic patterns,
> but only one pattern and only one map? I can't think of
> controlling turbulence that well....

Turbulence is not the trick. Pigment_map is. And a while loop inside it...

I've said too much already... Just don't look at that page...!

Greetings,

Rune
--
Updated July 10: http://rsj.mobilixnet.dk
3D images, include files, stereograms, tutorials,
The POV Desktop Theme, The POV-Ray Logo Contest,
music, 350+ raytracing jokes, and much more!


Post a reply to this message

From: David Fontaine
Subject: Re: Hints
Date: 27 Jul 2000 19:16:29
Message: <3980C0F8.DC598319@faricy.net>
The first one looks like a partially frozen river.

--
David Fontaine     <dav### [at] faricynet>     ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/


Post a reply to this message

From: Anton Sherwood
Subject: Re: Pigment Tricks
Date: 28 Jul 2000 23:50:17
Message: <3982560A.DA0A96EA@pobox.com>
Perhaps a future version will allow us to write the `icy river' effect
like this:

	pigment
		{
		marble
		pigment_map
			{
			[ 0	Blue ]
			[crackle Blue]
			[crackle White]
			[ 1	White]
			}
		}

i.e. Blue if marble<crackle, White otherwise.

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


Post a reply to this message

From: Chris Huff
Subject: Re: Pigment Tricks
Date: 29 Jul 2000 09:00:07
Message: <chrishuff-B6340C.08005429072000@news.povray.org>
In article <3982560A.DA0A96EA@pobox.com>, Anton Sherwood 
<bro### [at] poboxcom> wrote:

> Perhaps a future version will allow us to write the `icy river' effect
> like this:
> 
> 	pigment
> 		{
> 		marble
> 		pigment_map
> 			{
> 			[ 0	Blue ]
> 			[crackle Blue]
> 			[crackle White]
> 			[ 1	White]
> 			}
> 		}

Using a pattern as a value in a blend map? Hmm...interesting idea, but I 
think it would be more useful to specify a min and max range for the 
pattern, something like this:
pigment {marble
    pigment_map {
        [0 Blue]
        [pattern {crackle range 0.5, 0.8} Blue]
        [pattern {crackle range 0.8, 1} White]
        [1 White]
    }
}

This might be possible to do, but I don't know how easy it would 
be...and it would make blend maps dependant on position, so the values 
would have to be recalculated for every evaluation.

BTW, I think this pattern {} syntax would also be useful in other 
places, it should be allowed anywhere patterns are used. For one thing, 
it would fix the problem of scaling a normal pattern without scaling the 
normal in the new normal calculation method used in MegaPOV. And it 
would also be useful if patterns could be declared...

-- 
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/


Post a reply to this message

<<< Previous 8 Messages Goto Initial 10 Messages

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