POV-Ray : Newsgroups : povray.newusers : transparent object with texture Server Time
5 Nov 2024 01:26:01 EST (-0500)
  transparent object with texture (Message 1 to 4 of 4)  
From: ulli
Subject: transparent object with texture
Date: 11 Jun 2002 10:36:32
Message: <3D060AF3.9090307@gmx.de>
hi,

My problem is that the "paper" is as transparent as the beer bottle. How 
can i make it intransparent?
Thanks


Post a reply to this message

From: Warp
Subject: Re: transparent object with texture
Date: 11 Jun 2002 11:02:58
Message: <3d061122@news.povray.org>
ulli <ull### [at] gmxde> wrote:

> My problem is that the "paper" is as transparent as the beer bottle. How 
> can i make it intransparent?

  It's difficult to say without seeing any code.
  Please post a *minimal* scene which shows the problem.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: ulli
Subject: Re: transparent object with texture
Date: 11 Jun 2002 11:18:41
Message: <3D0614D4.8040509@gmx.de>
Warp wrote:
> ulli <ull### [at] gmxde> wrote:
> 

>>My problem is that the "paper" is as transparent as the beer bottle. How 
>>can i make it intransparent?
> 
> 
>   It's difficult to say without seeing any code.
>   Please post a *minimal* scene which shows the problem.
> 

sor {
     23, // # of points
     <0.3, 0.000000> // list of <u,v> points
     //
     <0.12 , 2.61>
     scale 0.5

     texture {
       pigment {rgbf <1.0, 0.5, 0.1, 0.6> }     }
      texture {
   pigment { image_map { png "beer.png"
                         filter 10, 1.0
                         map_type 0
                         interpolate 2
                         once }
             translate <-0.5,0.1,0>
             scale <4/10,6.2/10,4/10>} }
      interior { ior 1.5 }
     texture {beero}
     finish {
       ambient .1
       diffuse .1
       phong .75
       phong_size 25
       reflection { 0.18}
       conserve_energy
   }}



thats the "bottle" with texture


Post a reply to this message

From: ulli
Subject: Re: transparent object with texture
Date: 11 Jun 2002 17:58:38
Message: <3D067292.4040107@gmx.de>
hmm,

but the problem is that the reflection settings of the bottle are also 
used for the texture. that looks quite strange.


Post a reply to this message

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