How to understand that binary complement represents negative numbers
First , If it means a positive number that N position , The maximum positive number expressed is 2^N 1 in other words , If it's a byte ,8bit, T...
2022-07-07 15:38【sgmcy】
阅读更多unnamed prototyped parameters not allowed when body is present
https://img blog.csdnimg.cn/cd4446a369494621b950a92a9ca6f683.png?x oss process=image/watermark,type d3F5LXplbmhlaQ,shadow 50,text Q1NETiBAc2dtY3k=,si...
2022-07-07 15:38【sgmcy】
阅读更多The rebound problem of using Scrollview in cocos Creator
The official document states Elastic Whether it rebounds , But this specific explanation is whether to allow scrolling content beyond the boundary ...
2022-07-07 15:38【Vegetable chicken on the road】
阅读更多Getting started with webgl (2)
1. Draw a point // Vertex shader program var VSHADER SOURCE = 'void main { n' + ' gl Position = vec4 0.5, 0.5, 0.0, 1.0 ; n' + ' gl PointSize = 30...
2022-07-07 15:38【Vegetable chicken on the road】
阅读更多Cocos makes Scrollview to realize the effect of zooming in the middle and zooming out on both sides
The effect is as follows : https://img blog.csdnimg.cn/img convert/6b8ad2817a112e1d2e54c69e5a3800cb.gif pic center 1. To make a prefab, Then genera...
2022-07-07 15:38【Vegetable chicken on the road】
阅读更多Getting started with webgl (1)
1. What is? webGL? webgl Is to draw and render graphics on Web pages 3D graphics , And allow users to interact with it ; 2. Why do I learn webGL? ...
2022-07-07 15:38【Vegetable chicken on the road】
阅读更多Cocos uses custom material to display problems
The boss of the company just talked to me many times about this problem , But I didn't pay attention when I used it , Just record it problem : Pict...
2022-07-07 15:38【Vegetable chicken on the road】
阅读更多Getting started with webgl (4)
Use uniform Variable The last section talked about , uniform Variables are mainly used for all vertices that are the same Vertex independent d...
2022-07-07 15:38【Vegetable chicken on the road】
阅读更多Getting started with webgl (3)
Use attribute Variable Purpose of use : Transfer location information from js Passed to vertex shaders in code , There are two main ways ,attribut...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多Write sequence frame animation with shader
forehead , If you're free, then write a simple sequence frame animation ... This is really a strange idea , But very practical hahaha . Art give you...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多Vertex shader to slice shader procedure, varying variable
varying Variable : Pass data from vertex shader to slice shader . varying Variables can only be float( And related vec2,vec3,vec4,mat2,mat3,mat4)...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多Detailed explanation of Cocos creator 2.4.0 rendering process
The author analyzed it in detail :https://www.jianshu.com/u/01450ce9ecbf Applause .
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多Webgl texture
design sketch : https://img blog.csdnimg.cn/15fe028702494d6fa59423953aad9979.png?x oss process=image/watermark,type ZmFuZ3poZW5naGVpdGk,shadow 10,tex...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多OpenGL common functions
Clamp function Clamp The function can limit randomly varying values to a given interval min, max Inside : template class T T Clamp T x, T min, T m...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多webgl_ Graphic transformation (rotation, translation, zoom)
translation Translate a triangle , You need to measure each component of the vertex coordinates x and y , Add the triangle on the corresponding a...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多webgl_ Enter the three-dimensional world (1)
Excited heart, trembling hand , Start learning three-dimensional space today . First, let's start with the simplest cube ; A cube is made of triang...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多webgl_ Enter the three-dimensional world (2)
in real life , We often encounter two objects on the table one after the other , During observation , The front object will cover part of the back ob...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多Using eating in cocos Creator
Mainly used for animation , Example : cc.tween this.stretch .to 0.1,{} .call = {this.arrow.scale = scale} .to 0.5, { x: x },{easing:'sineOut'} .call ...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多OpenGL's distinction and understanding of VAO, VBO and EBO
1.VBO VBO Buffer objects for vertices , It is a memory buffer area opened up in the storage space of the graphics card , Used to store various attrib...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多Cocos creator collision and collision callback do not take effect
1、 Collision does not take effect Remember that , When using physics , Be sure to turn on physics first : cc.director.getPhysicsManager .enabled = ...
2022-07-07 15:39【Vegetable chicken on the road】
阅读更多
边栏推荐
- SQL Lab (36~40) includes stack injection, MySQL_ real_ escape_ The difference between string and addslashes (continuous update after)
- IP and long integer interchange
- [untitled]
- Electron adding SQLite database
- 串口通讯继电器-modbus通信上位机调试软件工具项目开发案例
- Niuke real problem programming - day18
- gym安装踩坑记录
- 毕业季|与青春作伴,一起向未来!
- 【數據挖掘】視覺模式挖掘:Hog特征+餘弦相似度/k-means聚類
- Computer win7 system desktop icon is too large, how to turn it down
猜你喜欢
Last weekend, , Maybe some friends pay attention to , Someone in the dark net resells at the price of ten bitcoins XX Dozens of institutions T Person...
在 MATLAB 中,有一个非常有用的函数 reshape ,它可以将一个 m x n 矩阵重塑为另一个大小不同(r x c)的新矩阵,但保留其原始数据。 给你一个由二维数组 mat 表示的 m x n 矩阵,以及两个正整数 r 和 c ,分别表示想要的重构的矩阵的行数和列数。 重构后的矩阵需要将原...
Spatio Temporal Deformable Convolution for Compressed Video Quality Enhancement Abstract In recent years , The deep learning method has achieved rema...
创建项目选择动态链接库dll https://img blog.csdnimg.cn/312942a37ff0480295e9f875be9f001c.png 引入代码 / pragma once / include 'pch.h' / include string / ifdef XSOCKET...
background When scanning the code , Discover the use of sonar, Will prompt “Refactor this method to reduce its Cognitive Complexity from 31 to 15 ...
List of articles 1、ThreadLocal brief introduction 1ThreadLocal 2 2、ThreadLocal Basic use 2ThreadLocal 28 3、ThreadLocal And synchronized The d...
SPI Bus concept SPI Serial Peripheral Interface, Serial peripheral interface ) It's a kind of synchronization 、 full duplex 、 Master slave...
Write it at the front Today, let's talk about Throttle and prevent shaking , This is an old concept , There are also many practical application...
Catalog Using tools : %E4%BD%BF%E7%94%A8%E5%B7%A5%E5%85%B7%EF%BC%9A Project settings : %E9%A1%B9%E7%9B%AE%E8%AE%BE%E7%BD%AE%EF%BC%9A Build the p...
Flet是什么 Flet 是一个框架,使您能够轻松地以您喜欢的语言构建实时 Web、移动和桌面应用程序,并与您的团队安全地共享它们。无需前端经验。 什么是GridView 带有略微圆角和高程阴影的面板。 实战代码 截屏2022 07 04 15.46.48.png https://img blog...