POV-Ray : Newsgroups : povray.advanced-users : How to make a decent carpet texture? Server Time
26 Nov 2024 20:35:45 EST (-0500)
  How to make a decent carpet texture? (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: CreeD
Subject: How to make a decent carpet texture?
Date: 19 Jun 2000 12:53:09
Message: <01bfda0f$97a068a0$601ba1d0@mk>
I've been having trouble making something carpet-y.  I want one that's good
enough to withstand having a camera a foot or two away.  I don't want to do
one with crand or bumps because it just doesn't look right.  Any idea? 
Incidentally, the type of carpet is industrial strength grey with a short
nap meant to withstand heavy wear.  That's probably easier to do than shag.
Thanks in advance,
CreeD


Post a reply to this message

From: Scott Hill
Subject: Re: How to make a decent carpet texture?
Date: 19 Jun 2000 13:56:58
Message: <394e5eea@news.povray.org>
"CreeD" <mes### [at] nqinet> wrote in message
news:01bfda0f$97a068a0$601ba1d0@mk...
> I've been having trouble making something carpet-y.  I want one that's
good
> enough to withstand having a camera a foot or two away.  I don't want to
do
> one with crand or bumps because it just doesn't look right.  Any idea?

    Have you tried a height-field (could be tiled to cover large areas), or
an ISO-surface (available in the MegaPOV patch) ?

--
Scott Hill. (sco### [at] innocentcom)
Software Engineer.
Author of Pandora's Box (coming to a web page soon(ish)).

*Everything in this post is IMO.*


Post a reply to this message

From: ingo
Subject: Re: How to make a decent carpet texture?
Date: 19 Jun 2000 14:36:32
Message: <8F58D0F30seed7@204.213.191.228>
CreeD wrote:

>I've been having trouble making something carpet-y.

Try 3dnoise in MegaPov, scale it in the y direction. Gives a rough carpet.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: SamuelT
Subject: Re: How to make a decent carpet texture?
Date: 19 Jun 2000 16:13:44
Message: <394E7FCF.2CB589AC@aol.com>
If I'm not mistaken, noise3d is the same as bumps.

ingo wrote:

> CreeD wrote:
>
> >I've been having trouble making something carpet-y.
>
> Try 3dnoise in MegaPov, scale it in the y direction. Gives a rough carpet.
>
> Ingo
>
> --
> Photography: http://members.home.nl/ingoogni/
> Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Peter Popov
Subject: Re: How to make a decent carpet texture?
Date: 19 Jun 2000 16:57:20
Message: <urpsks8c2gcnv0p3smd0abe9277n9e7gov@4ax.com>
On Mon, 19 Jun 2000 18:54:12 +0100, "Scott Hill"
<sco### [at] innocentcom> wrote:

>> I've been having trouble making something carpet-y.  I want one that's
>> good enough to withstand having a camera a foot or two away.  I don't
>> want to do one with crand or bumps because it just doesn't look right.
>> Any idea?

>    Have you tried a height-field (could be tiled to cover large areas), or
>an ISO-surface (available in the MegaPOV patch) ?

Scott is right, probably the best way to do it would be with the
built-in 'mesh' isosurface function in MegaPOV. A compex normal
statement based on scallop-wave gradients could also work but it would
be somewhat harder to get to look right.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: ingo
Subject: Re: How to make a decent carpet texture?
Date: 19 Jun 2000 16:57:38
Message: <8F58E4858seed7@204.213.191.228>
SamuelT wrote:

>If I'm not mistaken, noise3d is the same as bumps.
>

Ah,
well, this is what I used some time ago.

#declare CarpetPigm= pigment {
   function {(sin(x^2)-cos(y^2))}
   scallop_wave
   colour_map {
      [0, rgb 1.5]
      [0.3, rgb <0.8,0,0.1>]
      [1, rgb <0.5,0,0.1>]
   }
   rotate <90,0,0>
   scale <2.65,1,2.65>
}
union{
   disc {0,y, 10
      pigment {CarpetPigm} 
      finish {ambient 0.5}
   }
   intersection {
      isosurface {
         function {y + noise3d(x*30,y*20,z*30)*1}
         bounded_by{ box{<-11,-1,-11>,<11,0.4,11>}}
         threshold    0.48
         method 1
      }
      cylinder {<0,0,0>,<0,0.15,0>,10}
      pigment {CarpetPigm}
   }
}

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Gail Shaw
Subject: Re: How to make a decent carpet texture?
Date: 20 Jun 2000 04:28:48
Message: <394f2b40@news.povray.org>
CreeD wrote in message <01bfda0f$97a068a0$601ba1d0@mk>...
>I've been having trouble making something carpet-y.  I want one that's good
>enough to withstand having a camera a foot or two away.

If you've got access to a camera and a scanner, try taking a close up photo
of
some carpet, scanning that in. Use a grayscale image for height and the
actual photo
for imagemap. I've had reasonable success with that.

Gail
********************************************************************
* gsh### [at] monotixcoza              * Reality.dat not found         *
* http://www.rucus.ru.ac.za/~gail/ * Attempting to reboot universe *
********************************************************************
* The best way to accelerate Windows NT is at 9.8 m/s^2      *
********************************************************************


Post a reply to this message

From: Chris Huff
Subject: Re: How to make a decent carpet texture?
Date: 20 Jun 2000 18:05:53
Message: <chrishuff-2413B0.17101520062000@news.povray.org>
In article <394E7FCF.2CB589AC@aol.com>, STB### [at] aolcom wrote:

> If I'm not mistaken, noise3d is the same as bumps.

And "bozo", and "spotted" (though "bumps" is different when used in 
normals).
However, I think CreeD was referring to a noise3d() isosurface.

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


Post a reply to this message

From: Margus Ramst
Subject: Re: How to make a decent carpet texture?
Date: 24 Jun 2000 22:16:56
Message: <39555DB5.87466C98@peak.edu.ee>
CreeD wrote:
> 
> I've been having trouble making something carpet-y.  I want one that's good
> enough to withstand having a camera a foot or two away.

I'm not sure what type of carpet you are going for, but some fabrics can be
simulated pretty well with the "quilted" pattern. From two feet away, I think a
normal pattern should suffice. For real close-ups you could use "quilted" as an
isosurface function, with real 3D geometry and thus more realistic lighting
(haven't tried this myself, so no quarantees).

-- 
Margus Ramst

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


Post a reply to this message

From: Don Barron
Subject: Re: How to make a decent carpet texture?
Date: 7 Aug 2000 15:43:00
Message: <398f1144@news.povray.org>
Sir,
I atttach a texture file of my attempt at a carpet texture.  I attach also a
view of the carpet underneath a hi-fi cabinet in a model of my
computing/listening room.  The carpet is a 'woollen twist' pile in a colour
'mink' on a floor of slightly warped boards.  Tinker with the pigments and
the control values in the quilted texture to get the effect you desire.

Yours sincerely,

Don Barron



"CreeD" <mes### [at] nqinet> wrote in message
news:01bfda0f$97a068a0$601ba1d0@mk...
> I've been having trouble making something carpet-y.  I want one that's
good
> enough to withstand having a camera a foot or two away.  I don't want to
do
> one with crand or bumps because it just doesn't look right.  Any idea?
> Incidentally, the type of carpet is industrial strength grey with a short
> nap meant to withstand heavy wear.  That's probably easier to do than
shag.
> Thanks in advance,
> CreeD
>


Post a reply to this message


Attachments:
Download 'carpetex.inc.txt' (1 KB) Download 'CORNER.jpg' (18 KB)

Preview of image 'CORNER.jpg'
CORNER.jpg


 

Goto Latest 10 Messages Next 1 Messages >>>

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