Horrible! Actually playing this kind of game!

Chapter 364 268 The president is really a god!

Chapter 364 268. The president is truly a god!

"Don't say it's impossible."

Qing Zhiyuan quickly stopped, "Akanishi-san, you are also the program director and the veteran of pokeni. If you back down from the beginning, other colleagues will not be able to do anything in the future."

"Okay, okay president." Ken Akanishi responded with a grimace.

"Let's solve the problems one by one." Qing Zhiyuan said, "Let's make a big map first."

"1000*1000 may indeed be a bit large for the program. It is understandable that the loading efficiency is slow, but we can load it in chunks first."

"You cut it into 4 pieces first. If it doesn't work, cut it into 16 pieces or 25 pieces. It's all fine. As long as it can meet the needs of smooth loading."

"It's normal for there to be lags during the transition."

Qing Zhiyuan said.

"However, it seems that the transition will be very awkward." Ken Akanishi said, "Maybe everything I see on this small patch is clear, but it is only one meter away. As a result, the map patch in front is If it’s not loaded, it’s all empty.”

"Preloading." Qing Zhiyuan said, stood up and drew an icon on the whiteboard:

First a square was drawn, and then a square was drawn on each of the four sides of the square.

"Look," Qing Zhiyuan pointed to the center block and said, "I ran from this area to this east area. At this time, don't wait for me to arrive and then load the blocks on the right. I am walking. During the process, you should load the block on the right."

"Then, when I walk to the rightmost square, isn't the leftmost one out of my field of vision? Just delete it at this time.

This is equivalent to us only loading 2 to 3 blocks at the same time, which can achieve the greatest savings in program overhead. "

Moreover, in order to satisfy this point, Qing Zhiyuan decided not to include a mount system in the first generation of "Monster Hunter".

Players' running speed also needs to be capped.

"However, even so, there may still be difficulties with the number of monster model faces." Akanishi Ken continued to look at the document and said, "Herbivorous dragon, a social monster, often appears in groups, about 4 to 6 Only left and right.

We currently don’t have that much support for the number of model faces. "

"And in a large scene, not only one kind of monster will appear, but many different monsters will be loaded in at the same time. In other words, it is possible that more than 10 monsters will appear in the field of vision at the same time. Once this happens, it will It will freeze or even cause the system to crash."

emmmm……

Qing Zhiyuan held his chin and thought.

The problem Akanishi Ken mentioned exists objectively. After all, the current hardware level is here, and it has not reached the level of casual squandering in the previous life.

In 2023, it is probably only necessary to save resources and save memory on mobile phones. This problem almost does not exist on client games.

Think about it, a game can be hundreds of gigabytes in size, who cares about such a small cost?

The phone has limited memory and there is no way.

In other words, current games must be developed in accordance with mobile game development standards. Compress what can be compressed as much as possible, and save what can be saved as much as possible.

Ah~

Qing Zhiyuan couldn't help but sigh, it's still too slow, the times are still too slow, it would be better to develop more quickly.

"This problem is actually easy to solve." Qing Zhiyuan picked up a marker and wrote three big words on the whiteboard -

"LOD."

"LOD?"

Ken Akanishi and Koike looked confused.

"Layered display technology." Qing Zhiyuan said it again in human language.

"What does that mean?"

"Look,"

Qing Zhiyuan first drew a very realistic horse on the whiteboard, then he drew a horse simulacrum next to it, and then there was a very abstract horse who didn't know what it was. It probably only had a few lines. .

"We make models with different levels of accuracy."

"In the short range, according to the highest priority, load the model with the actual number of faces."

"If you are far away and there is no need for combat or interaction, but it is within the visible range, you can use a rougher one with fewer faces."

"If it's farther away and barely visible, you can just load this very rough model, or even not load it, just load the terrain."

"In addition, give priority labels to terrain, materials, and different object models to facilitate the program's judgment."

"For example, terrain is the most important, so during the preloading process, the ground will be loaded first, and then some important elements of the environment, such as big rocks, cliffs, rivers...

Just follow this pattern. "

"Oh, I understand, I understand." Ken Akanishi and Koike nodded.

The president is really terrible.

To think of this way.

According to Akanishi Ken's original idea, loading so many things into one scene would cost at least tens of thousands of pages. How could this program consume enough?

But when Qing Zhiyuan talked about layered loading and preloading, he suddenly reduced tens of thousands of noodles to only a few hundred. It was simply terrifying.

This actually has the advantage of simulating real human eyes.

When people see things, they also see things within a close circular range. The closer to the focus, the clearer it is, and the further away, the blurr it becomes.

After the LOD is made, it actually has such an effect.

The farther away you are, the rougher the loaded model will be, and the fewer faces it will have, and naturally the blurr it will be.

Not only will players not feel uncomfortable due to the reduction in the number of faces.

On the contrary, it seems more real.

But just like Qing Zhiyuan said, you have to control the player's movement speed within a certain range.

Otherwise, when your movement speed exceeds the preloaded speed, it will be easy to defeat the gang.

For example, if the floor next to it has not been loaded yet and you drive your motorcycle over it, you may suddenly sink under the floor.

This is also a bug that often exists in many games.

But it is actually caused by the problem that the preloading fails to match.

"Besides, there is one more thing that needs to be done on the program side." Qing Zhiyuan said.

"Huh?" Akanishi Ken raised his head in confusion.

"You know topological operations, right?"

"I know, you know..." Akanishi Ken was a little hesitant.

It's not that your procedural skills are not good enough, it's mainly because the president's domineering look is like a teacher giving a lecture in class. When he suddenly asks a question to a student, you feel a little panicked.

"That's easy." Qing Zhiyuan said, placing a chalk box on the table, then taking out a piece of chalk and placing it behind it, leaving only half of his head exposed.

"In the 3D field, there is actually an occlusion relationship between objects."

"For example, if half of this piece of chalk is hidden behind, then from your perspective, only half of it is actually visible."

"In this case, according to the general program logic, will the second half be loaded regardless of whether it is visible or not?"

"Well," Ken Akanishi nodded, "that's for sure."

"But actually, we don't need to load the latter part, right? Because for players, the half piece of chalk hidden behind the box is invalid information, so the latter part should be cut off."

"Furthermore, as far as the chalk box is concerned, there are only three sides that can be seen by players. The sides at the back and bottom are also redundant. If these sides are cut off, the memory overhead will be released at once. ”

Nani? !

Akanishi Ken and Koike were both shocked.

In just one tutorial, they immediately saw how powerful the president's programming skills were.

You don't even know whether this is a program category or a mathematics category.

"However, it is a whole and cannot be cut."

"Isn't this coming? Just use topology algorithm to calculate and cut off the invisible parts at the back."

"Doesn't it require a real-time operation? The overhead caused by this operation seems to be not small."

Hmm...Qing Zhiyuan held his chin, Akanishi Ken's words seemed to make sense.

I almost forgot about the time limit.

The current computing power may not be enough.

The number of faces to be loaded is reduced, but the real-time calculation amount is increased. It is really hard to say which one is more cost-effective.

"That's it," Qing Zhiyuan said, "for static object composition, for example, these things will not move, and the occlusion relationship is fixed, then as I said, after the art production is completed, it will be done by the program. First cut and merge job.”

"If it changes and moves, and the occlusion relationship is like this, you should find a way to optimize it. Even if it doesn't work now, it will certainly work in the future."

Well……

Akanishi Ken frowned fiercely.

It feels like the workload has increased a lot.

What I mentioned earlier is to meet basic needs, but here it becomes optimization content.

As we all know, program optimization is the most difficult and time-consuming.

"It's also difficult to do AI, right?" Ken Akanishi said sadly.

He could hardly find any issues that could make things difficult for the president, so he could only fight to the death with a last-ditch effort.

If that doesn't work--

We are about to start working on overcoming these terrible problems.

Although it is not difficult when Qing Zhiyuan has given a clear plan, it is still a workload.

There is no workload to think about, and there is even less sense of accomplishment.

Some of it is just the fatigue of being a tool person.

Now Akanishi Ken feels a little regretful. He shouldn't have come to the president so early. He should have discussed it with his younger brothers to see if he could find a solution. If it didn't work, he should have gone to the president. This was the right thing.

Akanishi Ken was once again stunned by the president's terrible problem-solving ability.

Still too young, too naive, and underestimated the president's strength.

It's right to think about it. Since these two games were proposed by the president himself, he must have known in his heart that they would be developed before they could be realized.

If there is something that cannot be realized without a good plan, President Qing will probably not even mention it.

"There are so many monsters, each with their own behavioral habits, and they have to react differently when faced with different situations. It's not easy to solve."

Ken Akanishi played his last trump card.

"Just make the behavior tree tool and leave it to the planners to design it themselves." Qing Zhiyuan said, "You don't have to worry about whether the AI ​​is smart or not, and to what extent it can achieve it."

Fortunately, this thing was left to Kamiya to do.

If it were Hidetaka Miyazaki——

Think about it, how terrifying is a female fire dragon who can read instructions?

Miyazaki Hidetaka has not yet proposed the concept of reading instructions, so everything is still within control.

No matter how difficult The Witcher 2 is, it's still numerically difficult, not mechanically terrifying.

It won't be like this in a few years.

hateful!

Ken Akanishi was crushed to pieces, and the president's light words, "Programmers just have to do their own thing," was equivalent to a pair of king bombs, which blew him up to the point of death.

Lost, completely lost...

Akanishi Ken thought that these two games seemed to have to be made!

Sure enough, all efforts are in vain?

Is Qing Zhiyuan really invincible?

The president is indeed bottomless! !

"I have a question."

Art director Taiji Sakata raised his hand weakly.

"In "Insect Master" and "Monster Hunter", these monsters and characters actually use a lot of movements. This workload is a bit too much for the artists, and I am afraid that it will be too much."

Well done, Sakata!

Akanishi Ken gave him an appreciative look.

In this way, these two projects can be dragged into a long-distance running, at least three to five years. If they are divided equally, the average workload on the program side will naturally be reduced.

And with the development of hardware in the future, some tasks may be solved on the hardware.

"Oh, right." Qing Zhiyuan then remembered that Taiji Sakata asked a very important question.

In previous 3D games, the actions in them were all drawn and adjusted by artists, which was actually a relatively stupid method.

We have entered the 3D era, and it is time to abandon some backward production methods.

"It's time to introduce skeletal animation."

"Skeleton animation?!" Taiji Sakata and Ken Akanishi were both shocked.

"right."

Qing Zhiyuan stood up, "You have all played with dolls with joints, right?"

"When we move the doll's hand, the bones inside it will rotate together, and then fix the doll's movements."

He gave a demonstration himself, "Everyone who studies art knows that our human body movements are achieved through the relaxation and contraction of muscles. For example, elbow flexion will use our biceps.

It is equivalent to our muscles driving the bones to move.

But, if we do 3D actions now, we have to do the opposite. "

"in turn?"

"Yes, the other way around."

"This time, what we need to do is let the bones drive the muscles and drive different parts to move."

Qing Zhiyuan first drew a person, and then drew a skeletal frame inside.

"We can define our own bones for the model, which is actually equivalent to making many connection points on the model. When these points are connected, a skeletal framework is formed."

“Later, as long as the skeleton moves, such as bending the elbow, the model will be driven when the skeleton animation is played.

Just use this to match the movement effect the artists want. "

"The program provides skeletal animation support, and then the artists can adjust it themselves."

"..."

Akanishi Ken and Sakata Taiji were both dumbfounded.

Especially Ken Akanishi.

Good guy, it's obviously a problem that artists can solve, but why did it become the work of the program in a confusing way?

What Sakata Taiji was thinking about here was:

Nani?

The entire art production process and methods have changed.

It sounded so powerful, but in reality, he had no idea how it would work.

Akanishi Ken covered his face in pain.

Why on earth am I sitting here?

Qing Zhiyuan said, where is this?

Skeleton animation is a standard feature in 3D games, and it can save artists a lot of time. You only need to adjust the movements and do them according to certain rules, and then put them into the game and let the program complete the operation.

In the future, in order to give the characters in the game better movement effects, we will have to make motion capture devices.

In the future, after motion capture technology is available, AI adaptation, AI face changing, and even AI generation will need to be done...

At that time, there will be no need for people to make adjustments. All you need to do is enter it and then the AI ​​will automatically generate it.

There is still a long way to go, comrades, we still have to work hard!

Programmers and artists discussed the issues they were concerned about one by one in the conference room.

The newcomer Hideki Kamiya was dumbfounded.

This scene seems familiar——

It's like watching Zhuge Liang's verbal battle with the Confucian scholars in The Romance of the Three Kingdoms.

(No doubt, the Romance of the Three Kingdoms introduced neon very early and became very popular. Many neon people particularly like the Three Kingdoms and even read every detail in it.

Many classic stories can be said to be readily available.

The Romance of the Three Kingdoms TV series introduced Neon the year before last at a price of US$15,000 per episode and became a hit TV series. Neon people were particularly enthusiastic about it, and even led to the popularity of related games. )

At this moment, Qing Zhiyuan is like the incarnation of Zhuge Liang in the eyes of Hideki Kamiya.

Seeing the shock in Hideki Kamiya's eyes, Shinji Mikami smiled and patted the back of his hand.

"This is all normal operation, you will get used to it in the future."

"Nani?"

This is actually normal operation?

Hideki Kamiya was so shocked. The president's knowledge reserve and problem-solving ability were so strong that they could be described as bottomless.

terrible.

The president is really terrible.

Every question must be answered.

As long as you answer it, the programmers and artists will be convinced.

I instantly found the direction of production and the solution to the problem.

But……

Akanishi Ken and Sakata Taiji are not needed!

They wished that even the president could not solve it, so that the burden on them would be less heavy.

The more they discussed, the more panicked the two of them became. Why did the workload increase and they talked more and more?

In the end, there were no more questions to ask.

Taiji Sakata would look at Ken Akanishi from time to time: Shut up!

After five hours of discussion, everyone finally had nothing to ask, and the plan was also reviewed at the meeting.

Walk out of the conference room.

Akanishi Ken felt his head was buzzing.

hateful!

All the problems were solved by the president again! ! !

————————————————————————

There is another chapter tonight

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like