Showing posts with label UNIT V FRACTALS. Show all posts
Showing posts with label UNIT V FRACTALS. Show all posts

Sunday, September 14, 2014

UNIT V FRACTALS

1. What is random fractal?
The patterns in the random fractals are no longer perfect and the random defects at all scale.

2. Write about drawing scenes using OPENGL.
OpenGL draws scenes by combining the ambient ,diffuse and specular components of light that illuminate a vertex of an object. It uses the phong model to calculate the specular light component.

3. Give the types of textures.
There are two principle kinds of textures used. With a image texture a 2D image is pasted onto each surface of the object. With a solid texture the object is considered to be carved out of a block of solid material that itself has texturing.The ray traces reveals the color of the texture at each point on the surface of the object.

4. What is the purpose of scene class?
The scene class can read a file in the SDL language and build a list of objects in a scene.This class can be used for ray tracing as well as to build scenes using the following code:
Scene scn;
read(“myScene.dat”);

5. Define a Peano curve.
A curve can in fact fill the plane and therefore have a dimension of 2 such curves are called Peano curve.

Saturday, September 13, 2014

UNIT V FRACTALS

1. What is Fractals?
A Fractal is an object whose shape is irregular at all scales.

2. What is a Fractal Dimension?
Fractal has infinite detail and fractal dimension. A fractal imbedded in n dimensional space could have any fractional dimension between 0 and n.
The Fractal Dimension D= LogN / Log S
Where N is the No of Pieces and S is the Scaling Factor.

3. What is marble texture?
Marble shows veins of dark and light material that have some regularity but that also exhibit strongly chaotic irregularities..

4.What is solid texture?
Solid texture is sometimes called as 3D texture.We view an object as being carved out of the texture material such as marble or wood.The texture is represented by a fuction texture(x,y,z)that produces an (r,g,h) color value at every point in space.

5. What is Koch curve?
The Koch curve can be drawn by dividing line into 4 equal segments with scaling factor 1/3. and middle 2 segments are so adjusted that they form adjustment sides of an equilateral triangle.