上一页 1 2 3 4 5 6 7 8 9 ··· 40 下一页
摘要: 暂停指定时间后再运行代码 C# await ToSignal(GetTree().CreateTimer(0.5f), SceneTreeTimer.SignalName.Timeout); or await ToSignal(GetTree(), SceneTree.SignalName.Proc 阅读全文
posted @ 2024-01-16 10:06 porter_代码工作者 阅读(221) 评论(0) 推荐(0)
摘要: 不用3d软件完成大场景3d建模?当然可以!聊聊倾斜摄影吧 目前:国内和国外 都有大量的软件... 详细流程,看视频... https://www.youtube.com/watch?v=O0juGlLSVvI 后记:大时代的滚滚洪流在一直前进,虚幻5的Houdini , 又为大规模的3D场景制作,提 阅读全文
posted @ 2024-01-13 16:19 porter_代码工作者 阅读(104) 评论(0) 推荐(0)
摘要: OpenCV、FFmpeg和VLC之间有着密切的关系。OpenCV是一个开源的计算机视觉库,提供了丰富的图像处理和计算机视觉算法。它可以用于处理图像和视频数据。而FFmpeg是一个用于录制、转换和流媒体处理的多媒体框架,可以用于处理音频和视频文件。VLC是一个流行的开源媒体播放器,它使用了FFmpe 阅读全文
posted @ 2024-01-13 15:54 porter_代码工作者 阅读(901) 评论(0) 推荐(2)
摘要: 学习shader 就是在考察 数学知识极坐标 复习一下极坐标的点的位置是靠theta(角度)和r(距离)两个信息(二维空间) shader: // 直角坐标转极坐标方法 float2 RectToPolar(float2 uv, float2 centerUV) { uv = uv - center 阅读全文
posted @ 2024-01-11 16:41 porter_代码工作者 阅读(177) 评论(0) 推荐(0)
摘要: get_buffer() 读取文件load_png_from_buffer() 转换为 Image类create_from_image() 转换为 ImageTexture类 func load_external_png(filepath:String): var f = File.new() f. 阅读全文
posted @ 2024-01-10 13:38 porter_代码工作者 阅读(465) 评论(0) 推荐(0)
摘要: # 安装python Scons插件pip install Scons # clone仓库git clone https://github.com/godotengine/godot.gitcd godot# 切换到稳定发布版本git checkout 4.1.1-stable# 编译并生成godo 阅读全文
posted @ 2024-01-09 15:03 porter_代码工作者 阅读(436) 评论(0) 推荐(0)
摘要: 一、已知两向量A, B ,求出A->B的旋转角 public static float SignedAngleBetween(Vector3 a, Vector3 b, Vector3 n) { float angle = Vector3.Angle(a,b); float sign = Mathf 阅读全文
posted @ 2024-01-05 16:19 porter_代码工作者 阅读(48) 评论(0) 推荐(0)
摘要: from requests.auth import HTTPBasicAuth import requests import os import json repos = set() def download_repo(output, name, href): print(f'Cloning {na 阅读全文
posted @ 2024-01-05 15:26 porter_代码工作者 阅读(19) 评论(0) 推荐(0)
摘要: unity 标准资源包 Unity 标准资源包(Standard Assets)是由 Unity 官方提供的一组可复用的资源集合,包含许多常用的游戏开发资源,如场景、材质、脚本、粒子效果、声音等。 使用 Standard Assets 可以加速游戏开发的过程,因为它们已经预先制作好了,并且经过了官方 阅读全文
posted @ 2023-12-28 14:06 porter_代码工作者 阅读(622) 评论(0) 推荐(0)
摘要: 相机跟随人物的几种方式 1、最简单,无代码,固定距离,固定视角 2、代码控制,固定距离,固定视角,对1进行改进 3、代码控制,固定距离,固定视角,直接移动,不会旋转 4、代码控制,固定距离,固定视角,插值移动(因为Update和LateUpdate刷新率不同,会有抖动现象,不建议使用) 5、代码控制 阅读全文
posted @ 2023-12-27 18:15 porter_代码工作者 阅读(599) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 40 下一页