POV-Ray : Newsgroups : povray.newusers : texture_mapping Server Time
25 Nov 2024 09:31:49 EST (-0500)
  texture_mapping (Message 1 to 4 of 4)  
From: tgl
Subject: texture_mapping
Date: 16 Mar 2006 06:00:00
Message: <web.44194405a787356f94cdd33b0@news.povray.org>
Hello Folks'
  I have 2 separate POV files that describe individual objects with fairly
complex surface and interior textures (including"media").As separate files,
they render no problem except the time they take. I want to use these
particular textures in a texture_map but I am having no success either
declareing them as separate textures or using them in full in the map. All
I get are warnings telling me that an end of file has been found when it
should be an object or directive or that theres "no } in texture, interior
found instead" and try as I might I cannot get these textures  to work in a
texture_map. What I'm I not seeing?
  Thanx
   tgl


Post a reply to this message

From: Bob Hughes
Subject: Re: texture_mapping
Date: 17 Mar 2006 00:02:03
Message: <441a42cb$1@news.povray.org>
"tgl" <aub### [at] sympaticoca> wrote in message 
news:web.44194405a787356f94cdd33b0@news.povray.org...
>  I have 2 separate POV files that describe individual objects with fairly
> complex surface and interior textures (including"media").As separate 
> files,
> I get are warnings telling me that an end of file has been found when it
> should be an object or directive or that theres "no } in texture, interior
> found instead" and try as I might I cannot get these textures  to work in 
> a
> texture_map.

Exactly.  :)

You essentially have two "materials". As such, interior {} cannot be a part 
of a texture_map since it isn't just a texture.

You could extract the textures and use those together in a texture_map while 
also extracting the media parts and placing those into a single interior 
statement, putting all into one material statement.

I don't know a way other than that. Or I'm just not thinking ot it if there 
is.


Post a reply to this message

From: Marc Jacquier
Subject: Re: texture_mapping
Date: 17 Mar 2006 02:54:45
Message: <441a6b45$1@news.povray.org>

news:441a42cb$1@news.povray.org...
> "tgl" <aub### [at] sympaticoca> wrote in message
> news:web.44194405a787356f94cdd33b0@news.povray.org...
>
> You essentially have two "materials". As such, interior {} cannot be a
part
> of a texture_map since it isn't just a texture.
>
> You could extract the textures and use those together in a texture_map
while
> also extracting the media parts and placing those into a single interior
> statement, putting all into one material statement.
>
> I don't know a way other than that. Or I'm just not thinking ot it if
there
> is.
>
>
Indeed...
To be more precise, "texture{}" concern surface of the object, "interior{}"
concerns the volume of this object.
They may be put together in a material for easier transformations but you
can NOT put an interior in a texture.
Don't get confused :
- neither by the "material_map{}" keyword which is a way to map textures
controled by an image_map (it is a keyword remaining from ages when
"interior" didn't exist)
- nor by "interior_texture{}" which concerns the interior surface of the
object (I'd have called this feature "inside_texture" if it was my choice).

Marc


Post a reply to this message

From: Marc Jacquier
Subject: Re: texture_mapping
Date: 17 Mar 2006 02:59:52
Message: <441a6c78$1@news.povray.org>

news:441a6b45$1@news.povray.org...
>
 (it is a keyword remaining from ages when
> "interior" didn't exist)
>
Oh sorry I should have written :

when "material{}" didn't exist

Marc


Post a reply to this message

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