Graphics, photography and painting links

First written by farida_farawlah and 0 others, on Mon, 2003/03/10 - 2:26am, and has been viewed by 6 unique users

Hello Friends :

Hope all are doing so well ...

I have a small request .. Since u all know i am a big fan of graphics , photography and paintings .. If any one is aware of a site concerned with this stuff .. plze share the site address...

Thanks alot and take good care all

FARIDA FARAWLAH

shafaki

Pure pleasure for your eyes: www.irtc.org/stills

Ray tracing is a concept in optics. Optics is a branch of physics.

Ray tracing is a scientific way to determine how the eye sees an object in
front of it. Without light we cannot see. Ray tracing is the process of
tracing a ray of light from the time it gets out of its light source (for
instance a lamp) along its path colliding with other objects (the walls of
the room, chairs, ...) and reflecting on them till it's final destination to
the eye of the viewing person.

The concept of ray tracing has been taken from physics and applied using
computers to generate 3D photo-realistic images that can look so much like
reality, thought they have not been photographed by a camera, but have been
computer generated using the ray tracing concept. If you have seen the
wonderful highly artistic Toy Story movie then you have seen the first
completely computer generated movie, which uses ray tracing to generate its
images.

In order to design an image using ray tracing, one needs to specify 3
things: light source(s), objects in the scene, the location of the eye (or
camera) in the 3D scene. The location of the light source, it's intensity,
color and type must be specified. The location of objects, their shapes,
their colors, their reflective properties (and other properties such as
refraction and so on) must also be specified. Finally, the location of the
eye that is supposed to view this scene, or the camera that is imagined to
take this photo is defined.

After all this has been defined, the computer is left for a couple of hours
or sometimes days, depending on the complexity of the scene, in order to
render the scene into an image. Try to imagine that the computer gets
hundreds or thousands of rays of light out of the light source, traces them
as they collide with objects around them with different colors and different
reflecting properties (for instance, mirror will reflect the ray perfectly,
while a black object can absorb all the light in the ray, and reflect
nothing), then finally calculates their value after this long journey when
they reach the eye or camera present in the scene. After calculating these
values of the rays (their color and intensity) as they hit the retina of the
eye or the lens of the camera and combining the values together the 3D
photo-realistic image is created. No wonder it takes the computer all this
time rendering the 3D scene.

There are many software phages that enable you to easily describe a 3D
scene (with its 3 elements: light source(s), objects and eye/camera
location) by dragging and dropping different elements and setting their
properties. The most popular of such programs is 3D Max. After describing
the scene, the program performs the drudgery task of ray tracing the scene
you provided to produce the desired image. For simple images with low
quality output the process can be really fast and rendering would not take
time at all. For more complex ones and high quality output, one image could
take days to render even on a very fast computer with plenty of RAM and a
fast processor.

If you are a programmer, and interested in graphics, 3D graphics in
particular, then perhaps you can make the 3D ray tracing engine itself. But
you'll be using geometrical laws (in 3D) extensively. [Tech note: In
practice, the program does not trace the ray as it goes out of the light
source till it reaches the eye. This would take incredibly long to do and
would be a waist of time because many rays coming out of the light source
do not reach the eye but get absorbed by other objects in their journey of
collisions. Therefore, in practice, a program does it the other way around:
rays of light are imagined to go out of the eye collide with objects in the
room till their reach the light source. This is dramatically more efficient,
as it does the exhaustive calculations for only the rays that would
eventually reach the eye.]

If you are interested in this topic as a programmer, please do not hesitate
to ask me for more information or ask a specific question related to the
topic of 3D images. If you're interested in animation, this is another story
and I can tell you about it if you ask.

Have a look at those highly artistic ray traced 3D images:
www.irtc.org/stills

Enjoy.

Ashraf Al Shafaki

Mon, 2003/03/10 - 12:59pm Permalink