3D Graphics for Dummies3D Graphics for Dummies Significant content “borrowed” from Dan Chang @ Nintendo NTD “with permission” Chris Ryan CppCon 2021 github.com/ChrisR98008/CppCon20213 3D Graphics for Dummies4 3D Graphics Dummies5 3D Graphics for Dummies6 3D Graphics for Dummies7 3D Graphics for Dummies8 3D Graphics for Dummies9 3D Graphics for Dummies10 3D Graphics for Dummies11 3D Graphics for Dummies12 3D Graphics Graphics for Dummies13 3D Graphics for Dummies14 3D Graphics for Dummies15 3D Graphics for Dummies Winding / Right Hand Rule Fingers curled in the order of the points, thumb points up Counter clockwise0 码力 | 79 页 | 4.61 MB | 6 月前3
Distributed Ranges: A Model for Building Distributed Data Structures, Algorithms, and Views0 码力 | 127 页 | 2.06 MB | 6 月前3
C++ Memory Model: from C++11 to C++23Memory Model C++11 – C++23About Me: alex.dathskovsky@speedata.io www.linkedin.com/in/alexdathskovsky https://www.cppnext.comAlex Dathskovsky | alex.dathskovsky@speedata.io | www.linkedin.com/in/a0 码力 | 112 页 | 5.17 MB | 6 月前3
Making Games Start Fast: A Story About Concurrencygame rules & databases 14Start Enumeration Read Localization Load Audio Load 2D Assets Load 3D Assets Load Game Databases CPU: 5.6s Wait: 1.2s CPU: 8.2s Wait: 1.4s CPU: 7.3s Wait: 0.8s (Old) Startup Profile 15Start Enumeration Read Localization Load Audio Load 2D Assets Load 3D Assets Load Game Databases CPU: 0.5s Wait: 0.6s CPU: 0.9s Wait: 1.4s CPU: 4.5s Wait: 0.2s "C:\game\dlcs\dlc001.zip", 1); PHYSFS_mount("/assets", "C:\user\mod\modXY.zip", 1);PhysFS Threading Model ◉ Designed in the early 2000s ◉ Mostly concerned about thread safety ◉ One big mutex to protect0 码力 | 76 页 | 2.22 MB | 6 月前3
2022年美团技术年货 合辑等硬件来说,这种结构会一定程度上增加延时,同 时减小内存带宽利用率。下图 2 为计算机体系结构领域中的 Roofline Model[8] 介绍 图,显示了硬件中计算能力和内存带宽之间的关联关系。 4 > 2022年美团技术年货 图 2 Roofline Model 介绍图 于是,我们基于硬件感知神经网络设计的思想,对 Backbone 和 Neck 进行了重新 设计和优化。该思想基于硬件的特性、推理框架 Knowledge Discovery & Data Mining. 2019: 1842-1850. [10] He Y, Lin J, Liu Z, et al. Amc: Automl for model compression and acceleration on mobile devices[C]//Proceedings of the European conference on computer 于单一维度情境,并没 有做更广泛的拓展。 针对无限细分的用户情境以及情境的不断拓展和演化,为解决以上挑战,我们提出 “情境细分 + 统一模型”(Segmented and Unified Model)的建模思路。情境细分 针对用户特定情境进行针对性建模提升推荐精准度,统一模型将多个相近用户情境进 行知识共享和迁移解决情境拓展和演化的问题。 具体来说,依据 Cube 中的每个情境,可以从用户历史行为中检索出与当次访问最相0 码力 | 1356 页 | 45.90 MB | 1 年前3
Go on GPU
Buffer Operations GPU Memory Vertex Buffer Frame Buffer Index Buffer Depth Buffer ... Vertices in 3D space as input Vertices positioned in screen space fragments (one per covered sample) shaded Changkun Ou. 2023. Go on GPU. GopherChina 2023. Session "Foundational Toolchains" Command Submission Model Command encoders convert API commands into hardware commands Hardware commands stored in command Infrastructure Nearly No mature framework* There are well known GUI frameworks: Fyne, Ebitengine, GioUI and a 3D engine g3n/engine 47 Changkun Ou. 2023. Go on GPU. GopherChina 2023. Session "Foundational Toolchains"0 码力 | 57 页 | 4.62 MB | 1 年前3
Nim 2.0.8 Manualordinal type if its base type is an ordinal type. Modeling currencies A distinct type can be used to model different physical units with a numerical base type, for example. The following example models currencies Different currencies should not be mixed in monetary calculations. Distinct types are a perfect tool to model different currencies: Unfortunately, d + 12.Dollar is not allowed either, because + is de�ned for context at instantiation are considered: In the example, the generic `==` for tuples (system.html#%3D%3D%2CT%2CT_2) (as de�ned in the system module) uses the == operators of the tuple's components. However0 码力 | 132 页 | 5.73 MB | 1 年前3
MuPDF 1.22.0 Documentation&pix->samples[y * pix->stride]; for (x = 0; x < pix->w; ++x) { if (x > 0) printf(" "); printf("%3d %3d %3d", p[0], p[1], p[2]); p += pix->n; } printf("\n"); } (continues on next page) 2.1. Basic MuPDF tells the compiler to ensure that that variable is not unset by the act of throwing the exception. A model piece of code using these macros then might be: house build_house(plans *p) { material m = NULL; supported (&l X). • is_ljet4pjl Disable/Enable HP 4PJL model-specific output. • is_oce9050 Disable/Enable Oce 9050 model-specific output. PCLm output options: • compression=none No compression 0 码力 | 175 页 | 698.87 KB | 8 月前3
Celery 2.0 Documentationapplication. blog/models.py The comment model looks like this: from django.db import models from django.utils.translation import ugettext_lazy as _ class Comment(models.Model): name = models.CharField(_("name") tasks from blog.models import Comment class CommentForm(forms.ModelForm): class Meta: model = Comment def add_comment(request, slug, template_name="comments/create.html"): post = get_object_or_404(Entry run in a timely manner, so please be wary of the state you pass on to tasks. One gotcha is Django model objects. They shouldn’t be passed on as arguments to task classes, it’s almost always better to re-fetch0 码力 | 284 页 | 332.71 KB | 1 年前3
MuPDF 1.23.0 Documentation&pix->samples[y * pix->stride]; for (x = 0; x < pix->w; ++x) { if (x > 0) printf(" "); printf("%3d %3d %3d", p[0], p[1], p[2]); p += pix->n; } printf("\n"); } (continues on next page) 2.1. Basic MuPDF tells the compiler to ensure that that variable is not unset by the act of throwing the exception. A model piece of code using these macros then might be: house build_house(plans *p) { material m = NULL; supported (&l X). • is_ljet4pjl Disable/Enable HP 4PJL model-specific output. • is_oce9050 Disable/Enable Oce 9050 model-specific output. PCLm output options: • compression=none No compression 0 码力 | 245 页 | 817.74 KB | 8 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













