What's the difference between distance and height?

Question 1: What are the different places in Lushan Mountain?

Looking at Lushan Mountain from the front and side of peaks and valleys, from far, near, high and low places, Lushan Mountain presents various faces.

I can't recognize the true face of Lushan Mountain because I am there.

Make an appreciative comment

When Su Shi was demoted from Huangzhou to Ruzhou as the deputy envoy of the Youth League Training, he passed through Jiujiang and visited Lushan Mountain. The magnificent landscape triggered a vigorous and magnificent idea, so I wrote several poems about Lushan Mountain. The title Xilinbi is a summary after visiting Lushan Mountain. It describes the various features of Lushan Mountain, and points out that the observation should be objective and comprehensive, and if it is subjective and one-sided, it will not be possible to draw a correct conclusion. The first two sentences, "Looking at the mountain from the side is the peak, and the distance is different", are actually what you saw and heard when you visited the mountain. Lushan Mountain is a hilly and gully mountain with undulating peaks and valleys. Tourists are located in different places and see different scenery. These two sentences summarize and vividly write the various forms of Lushan Mountain.

The last two sentences, "I don't know the true face of Lushan Mountain, but I am only in this mountain", are about the experience of visiting Lushan Mountain (what I think). Why can't you identify the true face of Lushan Mountain? Because I am in the middle of Lushan Mountain, my vision is limited by the peaks of Lushan Mountain, and I only see one peak, one ridge, one hill and one valley of Lushan Mountain, which is one-sided and inevitably one-sided. This is what you see when you visit the mountains, and it is often the same when you observe things in the world. These two poems are rich in connotation and enlighten people to understand a philosophy of being human-because people are in different positions and have different starting points, their understanding of objective things is inevitably one-sided; To understand the truth and the whole picture, we must go beyond the narrow scope and get rid of subjective prejudice.

This is a philosophical poem by the richest man, but the poet does not talk about it abstractly, but talks about his unique feelings by hugging the mountain tightly. With the help of the image of Lushan Mountain, he expressed philosophy in simple terms in popular language, so he was kind and natural.

Question 2: Far and near have different meanings. From far to near, the height looks different.

Question 3: What do you mean by different distances and heights? From far to near, the heights look different.

Question 4: Ask for advice. . . . . . Is a set of software that allows you to directly control computer hardware devices. If your hardware supports DirectX, you use hardware to speed up your program, which means one word-fast. Don't worry about your hardware knowledge, you won't really touch them. We use Hardware Abstraction Layer (HAL) and Hardware Simulation Layer (HEL) to ensure the independence of the device and make your program run normally.

DirectX consists of many components, each of which has a specific purpose. DirectDraw component is the most important one, because all graphics use it, and it is the engine of 2D graphics, and 3D graphics cannot do without it. DirectDraw is what we are going to talk about today. Other components include:

▲ DirectSound: provides audio mixing and playback of hardware and software.

▲ DirectMusic: Processing message-based music data. It supports Musical Instrument Digital Interface (MIDI) and provides creative tools for creating interactive music.

▲ DirectPlay: It makes it possible to connect with applications through a modem link or through a network.

▲ Direct3D: It is a 3D graphics package, which provides an advanced reserved mode interface, enabling you to realize a complete 3D graphics system. It also includes a low-level immediate mode interface, which gives the application full control over the rendering pipeline.

▲ DirectInput: provides support for input devices including joystick, mouse, keyboard and gamepad. It also provides support for feedback game devices.

▲ DirectSetup: Provides a simple installation process of DirectX. It simplifies the process of updating display and audio drivers and ensures that there are no hardware or software conflicts.

▲ Auto-play: Allows you to make a CD, which can be automatically installed once it is inserted into the drive. Autoplay is not unique to DirectX because it is part of Microsoft Win32 API.

Component object model () is the foundation of DirectX. There are some tricks in creating objects ― don't ask me how to do it ― but it's good for you to know a little. I'm just saying briefly, if you are interested, please check the information yourself for details! Maybe you are a little confused in the next section, but it doesn't matter. You don't have to understand what I said. After all, our goal is to use objects, which is much easier than creating objects.

Component object model ()

Interface is the basis of DirectX technology. Without it, there would be no DirectX. Don't worry, using DirectX only requires a superficial understanding of technology-as long as you follow certain steps when writing DirectX applications, you can even use DirectX unconsciously.

Most APIs of DirectX are based on structure. It provides the most solid foundation for software modularization and software reuse, and its most important concept is interface, which is the most basic method of software reuse. More technically, the supply port is a specification description of a series of operations, that is, the interface specification.

All interfaces are inherited from Iunknown interface, which is the root of all interfaces. There are three methods for IUnknown interface:

? QueryInterface (): This method queries the new interface and returns it when it exists.

? AddRef (): When an interface or other application is linked to the object, this method increases the reference count by 1.

? Release (): This method subtracts 1 from the reference count of the object. When the reference count is reduced to 0, the object is automatically released.

All objects have these three methods. Although DirectX applications generally do not need to consider the issue of reference counting, reference counting does exist and has been automatically completed by DirectX. All we have to do is create DirectX objects, and then call Release method to release the references after using them.

build

To create a program with DirectX, you need to do three main things. The first thing is co. > >

Question 5: From one side of the mountain, what is the philosophy of different distances? 1, "From the hillside, the distance is different" comes from Su Shi's title Xilin Wall in the Northern Song Dynasty, which tells this truth:

For the same thing, different angles will have different understandings; We should observe the problem objectively and comprehensively. If we are subjective and one-sided, we will not get the correct conclusion.

2. Attach the original text:

Topic Xilin wall

Northern Song Dynasty. Su Shi

Looking at Lushan Mountain from the front and side of peaks and valleys, from far, near, high and low places, Lushan Mountain presents various faces.

I can't recognize the true face of Lushan Mountain because I am there.

"Looking at the mountain side into a peak, the distance is different." Seen from the front and side, Lushan Mountain is undulating and peaks stand tall.

3. Introduction to the author:

Su Shi (103765438+1October 8th-1August 24th, 2008), a native of Meishan, Meizhou (now Meishan, Sichuan), was a literary master of the Northern Song Dynasty in China and a member of the "Three Sus" family. His poetry, ci, fu and prose all have high achievements, and he is good at calligraphy and painting. He is a rare all-rounder in the history of literature and art in China, and he is also recognized as one of the most outstanding literary and artistic attainments in the history of China for thousands of years. His prose and Ouyang Xiu are called Ou Su; Poetry and Huang Tingjian are called Su Huang and Lu You is called Sulu. Ci and Xin Qiji are collectively called Su Xin; His paintings started the Huzhou School of Painting. There are more than 3,900 existing poems, among which the representative work is Mink Head? When will there be a bright moon? Niannujiao? Red cliff nostalgia, red wall fu, etc.