Origin of Ray

Lift the fog of the Internet together

In computer algorithms, state compression is an optimization technique that reduces memory usage and improves program efficiency by compressing some state information into smaller data structures. Typically, state compression is applied to algorithms that need to handle a large amount of state, such as search, dynamic programming, etc. Common approaches to state compression include using data structures such as bitwise operations, hash tables, arrays, etc. to store state information. These methods can significantly reduce the time and space complexity of the algorithm and improve the execution efficiency of the algorithm.

Read more »

From work, to work. Never build a mechanism for the sake of building a mechanism, every mechanism should have practical value. Since mechanisms are scenario specific, when the scenario changes, the mechanism has to be upgraded as well. Therefore, each mechanism has a cost to maintain. If it is not upgraded and updated as the scenario changes, it will become a meaningless mechanism, and over time it will become common,any mechanism is available, but the implementation is not good

Read more »

  • Echelon

    The combination of the four elements of ability, motivation, division of labor, and cooperation can achieve a strong output of individual combat effectiveness and team combat effectiveness, but it cannot guarantee that the team has continuous motivation.
    To improve the endurance and resilience of a team, two elements can be used to do the work, echelon training and team culture.
    The echelon of a team, like the skeleton of the team, determines whether the team is robust; and the team culture is like the temperament and tone of the team, which will attract people with similar taste to continue to join and screen out people who do not meet the team temperament.

Read more »

上一篇关于如何使用贴图的博客中我们讲了如何从贴图中提取我们想要的数据。

In this blog, we will briefly talk about the application of maps, and then transition from displacement maps to the expression of aggregates.

Application of Geometry

In GPU programming, the map is equal to the memory + range query in our CPU programming. We can use ByteGraph to paste the data we need in the calculation process and perform range queries on the data.

Therefore, the texture can not only be used to store the color information of the point on the object itself, but also can store information such as environment information, normal information, displacement information, etc.

Read more »

上一篇关于Shading的博客中最后我们提到了Texture是我们用来对点进行输入的方式。

Before we said, each point has its own UV coordinates, and then find the corresponding point on the map through the UV coordinates, and then take out the value. We can interpolate the pixels in the middle of the triangle through the center coordinates.

But the problem is, if our map is too small, it may cause the model to have multiple points corresponding to the same UV, which will cause blurring. On the contrary, if the map is too large and the UV coordinate difference is too large, it will cause the final jagged or moiré effect.

This article will talk about how game engines solve these two problems.

Read more »

What makes a good team?

  • Good performance

    • Direction: Manage the planning phase, define what constitutes good performance, and plan the team to match it
    • Lead people: that is, the team building stage, continuously improve the team’s ability to achieve performance, including individual ability and team ability
    • Work: task management stage, how to implement the plan through good control and produce results
  • High efficiency

    • Look at the direction: the clearer the goal, the higher the efficiency
    • Lead people: The stronger the individual ability of team members, the higher the level of cooperation among team members, and the higher the team efficiency
    • Work: The more efficient the processes and rules, the more skilled the operation, the higher the efficiency of work
  • Sustainable

    • Look at the direction: the rationality and effectiveness of team planning
    • Lead people: perfect layers and mature team culture
    • Work: The tenacity of the team is honed, and honed cannot be separated from continuous work
Read more »

When it comes to management planning, most managers are no strangers, because managers need to do planning every six months or every quarter. Some companies call it formulating KPIs, some companies call sorting out team OKRs, and some companies call it quarterly planning or annual planning. In short, it is to agree with the superior what we will do next and how to evaluate whether we are doing well. For managers, this is the most important agreement to align with the superior.

To be precise, the setting of team KPIs and OKRs is only a part of management planning, because this only reflects the expectations of the superior to the team, and cannot fully cover all the planning of your management work as a team leader

Read more »

Role cognition

Whether you realize it or not, behind every action is an implicit recognition of your own identity

The focus of the new manager is on the ability level, and what he hopes to master is the ability of the manager to manage well, so as to make effective behaviors to interact well with the environment, that is, the level of technology

The focus of the new manager’s superiors is on the “identity” layer. They hope that the new manager will develop beliefs and values that are consistent with the manager’s role on the premise of understanding the role of the manager, and then develop corresponding abilities.

Read more »

Currently, we have introduced the following steps in graphics:

  • The first three figures show the MVP matrix converting the coordinates of each point on the model into screen space
  • The last figure shows the process of grating the triangular panels that connect the points in the converted screen space, that is, to determine which pixels each triangular panel will affect
Read more »

GAMES101 系列总结(一):线性代数与模型变换中我们讲了如何通过MVP矩阵将模型上的点坐标变为[1,1]3[-1,1]^3的一个立方体之中的坐标,这篇文章我们继续介绍,如何将这个立方体中的点绘制到屏幕上。

The grating is mainly divided into three parts. The first is to split all the points into triangles one by one. This process is called Triangles. In this process, there may be serrations caused by the position covered by some triangles that cannot be represented by pixels., so we have to do anti-aliasing, this process is called Antialiasin, and there is how to conduct depth testing in the process of mapping from three-dimensional to two-dimensional, that is, how to use Z-Buffer.

Read more »
0%