Hi guys, welcome to my new post! We're discussing my next-gen API graphics.
Performance
Work with threads and cores; the number of threads and cores is determined by the screen resolution. For example, if the screen resolution is 4K, it's multiplied by 2, resulting in 8 chunks (devices). The GPU has 4 cores, so we divide each core by 2, ensuring that each thread works on a single chunk. When the grade set and color set are combined, we complete the puzzle (screen) to display the picture, or you can personalize yours, though it is not recommended.
Material
It’s a large library, and it can be heavier than including physics.
In material:
Data Set, OCS, reference, and light.
- The Data Set contains all data: shape, color, dioprime, light... Imagine that Hube links to every data point in the material category. When something is in view, the Data Set calls all necessary data.
- OCS, or Object Color Set, is responsible for the texture of the object. We can modify the map (texture) or choose a map from the PiGEF library, but for efficiency and speed, it truly requires precision. We indicate this with V (verify); if it’s modified, it’s 1; if not, it’s 0. In the script, we use True and False instead.
- Dioprime refers to the dilation of light and is very useful for objects without spherical surfaces, particularly when you don't apply real physics (simple physics) in lens work. You can set it from -100 to 99 on the left, 0 in the middle, and 1 to 100 on the right.
- Light will be discussed in the next section (because we'll talk about physics and time-lapse science). Reference It stores all data under a nickname, but you may wonder about the difference between Data Set and References in structure. The Data Set calls and prepares all data (which uses RAM if heavy), while the reference is merely the nickname and settings for each data point, which loads very quickly. We have: S (Shape); M (Map); A (Appearance); D (Dioprime); E (Emissions); and V for verification. Every reference should be in order; otherwise, a syntax error can occur, especially if you use recursion, which takes time to resolve. Now for the caliber or settings: S (file name) M (file name or API library number) A[0-1(0-100) 0-1(0-100)] D (-100 to 100) E (0-100). For those who don't know, A (Appearance): the first parameter is 0-1 (0-100) for transparency; 0 is false and 1 is true, while the second parameter is density, referring to translucence and other settings related to transparency. Thanks for reading! Follow and give a heart, and if you have questions, feel free to comment.
Top comments (0)