Programmable Graphics Rendering Pipeline 1. Input Assembler (IA) Stage 2. Vertex Shader (VS) Stage 3. Hull Shader (HS) Stage 4. Tesselator Shader (TS) ...
CGPROGRAM // Physically based Standard lighting model, and enable shadows on all light types #pragma surface surf Standard fullforwardshadows vertex:v... ...
分类:
编程语言 时间:
2017-12-19 15:30:00
阅读次数:
327
参考自作者:悦光阴 http://www.cnblogs.com/ljhdo/ 在深入学习图形数据库之前,首先理解属性图的基本概念。一个属性图是由顶点(Vertex),边(Edge),标签(Label),关系类型和属性(Property)组成的有向图。顶点也称作节点(Node),边也称作关系(Rel ...
分类:
其他好文 时间:
2017-12-08 12:03:39
阅读次数:
177
[SPOJ839]Optimal Marks 试题描述 You are given an undirected graph $G(V, E)$. Each vertex has a mark which is an integer from the range $[0..2^{31} 1]$. Di ...
分类:
其他好文 时间:
2017-11-27 00:08:00
阅读次数:
151
6-1 邻接矩阵存储图的深度优先遍历(20 分) 试实现邻接矩阵存储图的深度优先遍历。 函数接口定义: void DFS( MGraph Graph, Vertex V, void (*Visit)(Vertex) ); 其中MGraph是邻接矩阵存储的图,定义如下: typedef struct ...
分类:
其他好文 时间:
2017-11-07 23:59:07
阅读次数:
468
6-2 邻接表存储图的广度优先遍历(20 分) 试实现邻接表存储图的广度优先遍历。 函数接口定义: void BFS ( LGraph Graph, Vertex S, void (*Visit)(Vertex) ); 其中LGraph是邻接表存储的图,定义如下: /* 邻接点的定义 */ type ...
分类:
其他好文 时间:
2017-11-07 23:55:58
阅读次数:
238
#include <iostream>#include <stdlib.h>#include <string.h>#define INFINITY 1000 //最大值∞#define MAX_VERTEX_NUM 20 //最大顶点个数#define MAXLISTSIZE 100 //循环队列的 ...
分类:
编程语言 时间:
2017-11-04 14:50:55
阅读次数:
234
Write a program to find the topological order in a digraph. Format of functions: bool TopSort( LGraph Graph, Vertex TopOrder[] ); where LGraph is defi ...
分类:
其他好文 时间:
2017-10-30 01:31:59
阅读次数:
435
#1 #2 So this could be a tree. Now lets compute the number of parents for each vertex. The result confirms that we indeed have a tree and that the roo ...
分类:
编程语言 时间:
2017-10-28 17:42:05
阅读次数:
205
CGAL带岛多边形三角化,并输出(*.ply)格式的模型 模型输出的关键是节点和索引 #include <CGAL/Triangulation_vertex_base_with_id_2.h>#include <CGAL/Triangulation_face_base_with_info_2.h> ...
分类:
其他好文 时间:
2017-10-28 12:49:21
阅读次数:
766