杨帆博客

你想开发游戏还是改变世界?


  • 首页

  • 标签

  • 归档

  • 搜索

Valid-Triangle-Number

发表于 2018-05-25 | 更新于: 2018-08-22

题目地址

LeetCode#611 Valid Triangle Number

题目描述

  Given an array consists of non-negative integers, your task is to count the number of triplets chosen from the array that can make triangles if we take them as side lengths of a triangle.

阅读全文 »

Second-Minimum-Node-In-A-Binary-Tree

发表于 2018-05-21 | 更新于: 2018-08-22

题目地址

LeetCode#671 Second Minimum Node In A Binary Tree

题目描述

  Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly twoor zero sub-node. If the node has two sub-nodes, then this node’s value is the smaller value among its two sub-nodes.

阅读全文 »

【DX11地形篇】17-扰动云

发表于 2018-05-20 | 更新于: 2018-08-22

参考教程

Tutorial 12: Perturbed Clouds

学习记录

  这篇文章种我们介绍另一种渲染云层得方法,使用扰动纹理(Perturb Texture)实现,本篇代码基于上一篇,无新增类。

阅读全文 »

【DX11地形篇】16-位图云

发表于 2018-05-19 | 更新于: 2018-08-22

参考教程

Tutorial 11: Bitmap Clouds

学习记录

  这篇文章种我们介绍云的实现,本篇代码基于上一篇,新增 SkyPlaneClass 和 SkyPlaneShaderClass 。

阅读全文 »

【DX11地形篇】15-基于距离的法线贴图

发表于 2018-05-15 | 更新于: 2018-08-22

参考教程

Tutorial 14: Distance Normal Mapping

学习记录

  本篇文章中我们介绍基于观察点(摄像机)距离不同进行不同法线贴图的技术,本篇代码基于上一篇,仅有少量改动,无新增类。

阅读全文 »
1…345…46
KsGin

KsGin

游戏程序员/计算机图形学/Unity/西山居搬砖

226 日志
16 标签
GitHub E-Mail Google Twitter
© 2018 KsGin @ 2018
0%