To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 2908
2907  |  2909
Subject: 
Re: Transparent colors in POV-Ray
Newsgroups: 
lugnet.cad.ray
Date: 
Thu, 11 Jun 2009 22:16:09 GMT
Viewed: 
12284 times
  
In lugnet.cad.ray, Roland Melkert wrote:
//----Texture for LDraw color 33 "trans blue"
#declare color33 = texture {
pigment {
  rgbft <0.0000, 0.1300, 0.6300, 0.9000, 0.1000>
}

finish {
  ambient rgb <1.0000, 1.0000, 1.0000>
  diffuse 1.0000
  brilliance 1.0000
  ior 1.2000

  reflection {
   rgb <0.0800, 0.0800, 0.0800>
   falloff 1.0000
   exponent 1.0000
   metallic 0.0000
  }
}
}

For reasons that I don't understand, the apparent transparency of things in the
final POV output is greatly influenced by the background color.  Set the
background color to black, and things look substantially more transparent than
when it's set to white.

LDView doesn't use the T parameter of colors at all for transparent colors,
which means that 0 gets used.  I'm using 0.85 for F, but the difference between
0.85 and 0.9 is visually very minor.

On a side note, ior is not a valid setting for finish according to the
documentation.  It's now supposed to be in interior instead.

--Travis



Message has 1 Reply:
  Re: Transparent colors in POV-Ray
 
(...) Background is black by default, I got the habit of using rgbft from (URL) and think it does look a bit nicer than rgbf, but it turns out I did not completely understood the meaning of it (see my answer to mike). As for ior, it's only added if (...) (15 years ago, 11-Jun-09, to lugnet.cad.ray)

Message is in Reply To:
  Transparent colors in POV-Ray
 
Hello all, I'm the developer of LD4DStudio ((URL) and I'm in the midsts of rounding up the 1.1 version which supports POV-Ray export. But the thing is I'm not too happy about my transparent color setup. At the moment I'm using the following (this is (...) (15 years ago, 11-Jun-09, to lugnet.cad.ray)

15 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR