POV-Ray : Newsgroups : povray.binaries.images : POVing again (~170k) Server Time
11 Aug 2024 19:30:06 EDT (-0400)
  POVing again (~170k) (Message 11 to 15 of 15)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Dan P
Subject: Re: POVing again (~170k)
Date: 29 Feb 2004 21:21:40
Message: <40429e34$1@news.povray.org>
"Sun Tzu" <sun### [at] nospamhotmailcom> wrote in message
news:404294a2@news.povray.org...
> Thank you!  Between you and Tek, I'll have enough things to figure out, to
> keep me busy for awhile.   If only I didn't have to work and could play at
> this stuff all the time.   Of course then I couldn't afford a computer,
> hehe.

Bah, the secret of happiness is getting the stuff first and THEN giving the
world the finger. Worked for me :-)


Post a reply to this message

From: Tek
Subject: Re: POVing again (~170k)
Date: 29 Feb 2004 22:36:18
Message: <4042afb2@news.povray.org>
"Sun Tzu" <sun### [at] nospamhotmailcom> wrote in message
news:40429382@news.povray.org...
> Thank you!  I'll try and play around with the texture as you've shown.
> Now if you can explain the 'sub surface scattering' that you referred to for
> the cheese texture, I'll be set to try again.

Well, basically, to get sub surface scattering in POV you need a transparent
object filled with media. Media's explained in the povray docs, so I'll avoid
repeating what's said there.

Basically the idea is to take a scattering media that's so dense it almost looks
solid, but not quite, this simulates solids with translucency. Note that pov's
transparent pigments don't simulate real things, as they only affect the surface
of an object whereas media is a volumetric effect.

Anyway, that's enough theory. Here's a render of a material that I think looks
kinda like cheese. I sampled the cheese colour from a photo of cheese I found
using google! The photo's here if you're curious:
http://www.allposters.com/IMAGES/NIM/KE051.jpg Tip: if you want to sample
colours from photos use photos with bright white lighting, so you get the truest
possible colour.

The material I've used has got a couple of errors in it, but hopefully it will
give you a starting point. Here's the source:

object {
 Cheese

 hollow on
 no_reflection

 material {
  texture {
   pigment { rgbt 1 } /*no surface pigment, since real cheese does not have a
pigment (if you slice it thin enough you can see straight through it!)*/
   finish {
    //make it shiny.
    reflection { 0, 1 fresnel } conserve_energy
    specular 1 roughness .01
    diffuse 0 ambient 0
   }
  }
  interior {
   ior 1.1 /*does anyone know the refractive index of cheese? :)*/
   media {
    scattering {
     1, rgb <252,194,74>/255 //cheesy!
     extinction 0 /*if we have extinction it will colour the media in a strange
way*/
    }
    absorption 1 /*use this instead of extinction*/

    density {
     rgb 40 /*modify this according to the scale of your scene, I've tuned this
so a 1 unit cube looks like a fairly large block of cheese.*/
    }
   }
  }
 }
}

-- 
Tek
www.evilsuperbrain.com


Post a reply to this message


Attachments:
Download 'cheese.jpg' (39 KB)

Preview of image 'cheese.jpg'
cheese.jpg


 

From: Tek
Subject: Re: POVing again (~170k)
Date: 29 Feb 2004 22:38:43
Message: <4042b043$1@news.povray.org>
"Dan P" <dan### [at] yahoocom> wrote in message
news:40429e34$1@news.povray.org...
> "Sun Tzu" <sun### [at] nospamhotmailcom> wrote in message
> news:404294a2@news.povray.org...
> > Thank you!  Between you and Tek, I'll have enough things to figure out, to
> > keep me busy for awhile.   If only I didn't have to work and could play at
> > this stuff all the time.   Of course then I couldn't afford a computer,
> > hehe.
>
> Bah, the secret of happiness is getting the stuff first and THEN giving the
> world the finger. Worked for me :-)

Or find a job where someone pays you to spend all day making pretty pictures on
the computer! Well I've sorta managed that but unfortunately I don't get to use
povray...
:)

-- 
Tek
www.evilsuperbrain.com


Post a reply to this message

From: Dan P
Subject: Re: POVing again (~170k)
Date: 29 Feb 2004 23:25:55
Message: <4042bb53$1@news.povray.org>
"Tek" <tek### [at] evilsuperbraincom> wrote in message
news:4042b043$1@news.povray.org...
> "Dan P" <dan### [at] yahoocom> wrote in message
> news:40429e34$1@news.povray.org...
> > "Sun Tzu" <sun### [at] nospamhotmailcom> wrote in message
> > news:404294a2@news.povray.org...
> > > Thank you!  Between you and Tek, I'll have enough things to figure
out, to
> > > keep me busy for awhile.   If only I didn't have to work and could
play at
> > > this stuff all the time.   Of course then I couldn't afford a
computer,
> > > hehe.
> >
> > Bah, the secret of happiness is getting the stuff first and THEN giving
the
> > world the finger. Worked for me :-)
>
> Or find a job where someone pays you to spend all day making pretty
pictures on
> the computer! Well I've sorta managed that but unfortunately I don't get
to use
> povray...
> :)

When I get on jobs, I get paid (little) to make those pictures and write the
application and manage the application. Living in Wisconsin is awful for
being a competent computer scientist. However, it is an opportunity to see
the worst in human beings and study it, so there's always that silver
lining. That's why I'm gonna become a prof' -- people behave according to
needs and if I can help the future kids be competent they won't need to hurt
others to get ahead because they won't /need/ to. If this generation is
hopeless, then let's help the next generation so that they don't have to go
through what we did. It's time a lot of people lose the whole "I won't be
here I don't care I'm just gonna get mine and screw you" attitude and,
instead, respect and plan for the future with every action they do.


Post a reply to this message

From: Marc Champagne
Subject: Re: POVing again (~170k)
Date: 20 Mar 2004 22:54:53
Message: <Xns94B2E920661E4POVMIKA@203.29.75.35>
"Sun Tzu" <sun### [at] nospamhotmailcom> wrote in
news:40414e0f@news.povray.org: 

> I haven't POVed for about 8 months and just picked it up
> again.  Close to a year ago I posted an earlier version of
> this image.  I did more work on it and then left it alone
> for several months.  The cheese got me frustrated because I
> couldn't come up with something that looked satisfactory to
> me. Also the picture is far to 'sterile' looking, but I'm
> not sure how to make things look dirty or worn.    For
> example I'd like to have some cheese residue on the knife,
> but haven't a clue how to accomplish that.   I'd appreciate
> any suggestions.  Thanks. 

Very nice!

Have a look here for the latest in swiss army knifes

http://tinyurl.com/33bmv


-- 
Marc Champagne
marcch.AT.videoSPAMNOTtron.DOT.ca.invalid
Montreal, Canada


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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