X3D lighting effect node (pointlight Node 1)

Source: Internet
Author: User

Light sources are divided into natural and artificial light sources. Human beings can see all things in nature, mainly because of the role of light, the generation of light requires a light source. In natural and man-made light sources, light sources are divided into three types: Point Light Source, cone light source and line light source.

The simulation of X3D light source in the real world is essentially a computing of light and shade. In the real world, light sources refer to various luminous objects. However, in the X3D world, you cannot see such light sources. X3D compares the brightness and shade of an object in the same environment by calculating the brightness and shade of the object surface. This way, the object looks like it is shining.

Another difference between X3D and the real world in light source is shadow. In the X3D light source system, no shadows are automatically generated. To perform shadow rendering on static objects, you must manually calculate the shadow range before simulating the shadow.

The light source consists of different colors. The color of the light source is controlled by an RGB color, which is similar to the color of the set material. The color of the light source is the same as that of the light source. In the real world, when a white light source shines on a colored object surface, two phenomena will occur. What we can see is only reflection, the other phenomenon is absorption of light, which leads to weak light intensity. The reflected light is red, but the white light is composed of multiple colors, the object absorbs all the light except the red light, and the red light is reflected. However, if the surface of an object is black, it does not reflect any light.

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.