banner



How To Draw Bamboo In Pov Ray

POV-Ray Glassy Spheres and Transparency

This page testify you how to apply POV-Ray to brand object transparent. If you don't understand information technology, delight see Intro to POV-Ray.

Transparency with Textures

POV-Ray allows diverse ways to simulate a object'due south surface. This feature is called textures. We volition show some examples of textures here that are of mathematical interest, such as rendering translucent objects or reflective surfaces.

Here's a extract from POV-Ray documentation that makes it clear what texture in POV-Ray means:

The texture statement is an object modifier which describes what the surface of an object looks like, i.eastward. its material. Textures are combinations of pigments, normals, and finishes. Pigment is the colour or pattern of colors inherent in the material. Normal is a method of simulating various patterns of bumps, dents, ripples or waves by modifying the surface normal vector. Finish describes the reflective backdrop of a material.

How shiny a object looks is emulated past the keyword "phong". Its value can be set up from 0 to 1. The college the value, the more difficult and smooth the surface appears. Its syntax is like this:

          texture{          pigment{ colour Blue}          end          {phong          0}}

To make a object transparent, use the "filter" or "transmit" keyword, like this:

          texture{          pigment{colour Red filter          0.7          }}          texture{          pigment{color Red transmit          0.7          }}
texture transparency
The greenish balls have progressive "phong" values, from 0 on the left to one on the correct. The yellow balls have progressive "filter" values. The cherry balls take progressive "transmit" values. Annotation that if the transmit value is 1, then the object becomes invisible, simply you can notwithstanding see the highlight spot made by phong. Source: [texture_transparency.pov].

Both "filter" and "transmite" lets lite laissez passer thru. Their difference is that filter will tint the light with the object'southward surface texture, while transmit will not. (look at their shadows)

2.5 Textures.

Drinking glass Balls

To create glass-like effect, one must use the interior{} keyword, like this:

          interior{ior          1.5}

The ior ways "index of refraction".

The default ior value of 1.0 will requite no refraction. The alphabetize of refraction for air is 1.0, water is ane.33, drinking glass is 1.5 and diamond is two.4.

glass balls
The glassy balls have progressive ior values of 1, one.five, two, 2.5, from left to right. The xanthous balls has filter set to 1, and the red assurance have transmit set to 0.ix. Source: [interior.pov].

2.six Interior and Media and Photons

See also: [ Photon mapping ] [ https://en.wikipedia.org/wiki/Photon_mapping ], [ Refraction ] [ https://en.wikipedia.org/wiki/Refraction ]

Source: http://xahlee.info/3d/povray-glassy.html

Posted by: foltzchai1944.blogspot.com

0 Response to "How To Draw Bamboo In Pov Ray"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel