POV-Ray : Newsgroups : povray.general : Stupid question about pigment... Server Time
5 Nov 2024 07:17:05 EST (-0500)
  Stupid question about pigment... (Message 1 to 2 of 2)  
From: manuel
Subject: Stupid question about pigment...
Date: 28 Jun 2003 15:21:29
Message: <3efdeab9@news.povray.org>
To set the projection of a bitmap we have
the map_type value.

And to set the projection of a simple pigment,
like checker?

I've tried this:
#declare mtest = texture {
pigment { checker White, Red scale .1 map_type 0}
}

but the result is an error message:

pigment { checker White, Red scale .1 map_type <----ERROR

Parse Error: No matching } in 'pigment', map_type found instead

I tri to put the map_type in other place, but the result is always an error.

I think this must be a very comic and dummy's question, but I can't find
the answer on the help...sorry :-(

Thanks,

        Manuel


Post a reply to this message

From: Christopher James Huff
Subject: Re: Stupid question about pigment...
Date: 28 Jun 2003 17:20:18
Message: <cjameshuff-9620A7.16075128062003@netplex.aussie.org>
In article <3efdeab9@news.povray.org>, "manuel" <man### [at] tinit> 
wrote:

> To set the projection of a bitmap we have
> the map_type value.
> 
> And to set the projection of a simple pigment,
> like checker?

Patterns do not have projections, the projection is an attribute of 
image maps. There are mapping warps which can be used to deform the 
pattern to fit a surface, and some shapes support UV mapping.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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