自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

爱冒险的技术宅

这就是我对待梦想的态度.

  • 博客(5)
  • 资源 (56)
  • 收藏
  • 关注

原创 Shaders for Game Programmers and Artists(8) - Fog

简介在水汽充足、微风及大气层稳定的情况下,气温接近零点,相对湿度达到100%时,空气中的水汽便会凝结成细微的水滴悬浮于空中,使地面水平的能见度下降,这种天气现象称为雾。光线在照射到这些小颗粒的时候,方向发生改变,一些光被挡掉了,所有光的强度发生了改变,另一方面本不应该射向观察者的光线射向了观察者。 线性雾/指数雾/对数雾如今的显卡对雾已经有了硬件级别的支持,所以性能上的损耗非常小。通常硬件都会提供

2017-02-06 01:01:20 2154 1

原创 Shaders for Game Programmers and Artists(7) - Non-photorealistic rendering

边缘提取边缘提取有很多种,这里用的是屏幕空间的做法,首先把要提取边缘的物品用纯色绘制到一张rt上,然后用一个一个边缘检测的滤波器在ps中扫一遍。绘制纯色的的psfloat4 ps_main( float4 Diff: COLOR0 ) : COLOR{ return 1;}绘制完之后就像这样 边缘提取的滤波器称为Sobel filter。 边缘提取的ps如下sampler RT;c

2017-02-06 00:48:08 1542

原创 Shaders for Game Programmers and Artists(6) - 反射与折射

反射反射在上一篇的HDR中就已经用到了。简单说一下反射发生的原理就是光线打到一个物体的面上之后,一部分光被弹回去的现象,原理如下图 只要知道入射光线和发现,出射光线的方向就可以求出。通过这个方向对天空盒进行采样,就可以得到天空盒上的颜色了。在vs中计算出射光线的方向float4x4 view_proj_matrix;float4 view_position;struct VS_OUTPUT

2017-02-06 00:35:51 1900 1

原创 Shaders for Game Programmers and Artists(5) - HDR

简介颜色用8bit来表示就可以了,但是光强呢?High dynamic range is the science ofrecognizing the different intensity levels of light.Under normal rendering circumstances, wherethe average level of lighting is similar throu

2017-02-06 00:21:59 1573

原创 全面认识Depth - 这里有关于Depth的一切

作者:拳四郎链接:https://zhuanlan.zhihu.com/p/25095708来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。Depth的由来从PerspectiveProjection 说起所谓的PerspectiveProjection 其实就是将顶点从view 坐标系下,转换到NDC下这里面包含了两个步骤,将view 坐标系下的顶点乘以透视矩阵,转

2017-02-05 22:56:12 8755

OpenGLPro12

OpenGLPro12 代码

2013-08-17

stanford_bunny

The bunny was bought and scanned in 1993-94. The color photograph (above) was taken on April 1, 2003. The bits of gray plaster on the sides of the bunny's feet somehow appeared since the bunny was scanned; they are not present in the 3D model. The chip on his left ear, however, is present in the model as well, although degraded in resolution.

2013-08-17

Android lOADER

Android 3DS MD2 加载

2013-08-10

SDL+OpenGL+GLSL

SDLFramework1.1

2013-08-07

Radiation glsl

Radiation glsl

2013-08-07

SDLPro10

SDLPro10

2013-08-02

SDLFramework

SDLFramework for OpenGL in C++.

2013-08-02

glm-0.9.4.4

glm-0.9.4.4

2013-08-01

百度定位demo

百度定位demo

2013-05-03

nerdtree文件浏览插件

vim 下的文件浏览插件

2013-04-29

GdxTestGame

GdxTestGame

2013-04-24

TestGdxGame

TestGdxGame

2013-04-22

faenza-icon-theme

faenza-icon-theme

2013-03-12

Android仿苹果的自定义galleryDemo

Android仿苹果的自定义galleryDemo

2013-03-03

滑动fregmentDemo

滑动fregmentDemo

2013-03-03

mupdf 浏览器

mupdf 浏览器

2013-02-27

readline

readline5_5.2

2013-02-24

YaHei.Consolas

YaHei.Consolas.1.11b.ttf

2013-02-24

OpenGL 分形入门

OpenGL 分形入门 康托集 Koch雪花 OpenGL 分形入门 康托集 Koch雪花 OpenGL 分形入门 康托集 Koch雪花

2012-12-29

OpenGL粒子系统

OpenGL 粒子系统 C/C++

2012-12-29

openGL中的物理模拟

openGL中的物理模拟

2012-12-21

光线追踪算法C++实现

光线追踪算法C++实现

2012-11-17

词典数据库

词典数据库

2012-10-01

Axsure快速原型设计

Axsure快速原型设计

2012-09-24

Unity3d的shader学习

Unity3D游戏开发从零单排(八) - Shader基础

2014-09-26

Unity3D的 Shader例子

Unity3D游戏开发从零单排(八) - Shader基础 - http://blog.csdn.net/silangquan/article/details/39576477

2014-09-26

Unity3D地形文件

Unity3D 地形

2014-04-27

xvidcap_amd64.deb

xvidcap_amd64.deb

2014-03-07

3ds max模型导入工具objloader

objloader1.4.1

2014-01-04

Resources_airhockey

Android 双人游戏源码 游戏需要分享才能获得快乐,想想你以前玩过的那些游戏,那些会是真正地存在你婶婶的脑海里?是独自一人躲在被窝里酣战PSP,还是和哥们在网吧一起开黑?是一个人单刷迅龙三连,还是和朋友联机怒刷黄黑龙?

2013-12-28

OpenGLTexture

OpenGLTexture

2013-11-25

GameResources游戏编程

GameResources游戏编程

2013-11-24

基于Qt的图像采集系统

基于Qt的图像采集系统 基于Qt的图像采集系统基于Qt的图像采集系统 基于Qt的图像采集系统 http://blog.csdn.net/silangquan/article/details/11808675

2013-09-18

Android PreferenceFragment

Android Preference Fragment 实例。

2013-09-04

g77_pack g77_pack

the generated directory will contain the following files: cpp-3.4_3.4.6-6ubuntu3_i386.deb g77-3.4_3.4.6-6ubuntu3_i386.deb gcc-3.4_3.4.6-6ubuntu3_i386.deb gcc-3.4-base_3.4.6-6ubuntu3_i386.deb libg2c0_3.4.6-6ubuntu3_i386.deb libg2c0-dev_3.4.6-6ubuntu3_i386.deb install.sh install the g77 package using the following command: sudo ./install.sh

2013-08-28

OpenGLPro13

OpenGLPro13 源码

2013-08-27

mupdf_android_lib

mupdf交叉编译好的.so文件 mupdf是一个开源pdf解析库

2013-08-26

ffmpeg-snapshot

FFmpeg has always been a very experimental and developer-driven project. It is a key component in many multimedia projects and has new features added constantly. Development branch snapshots work really well 99% of the time so people are not afraid to use them.

2013-08-21

xvidcapi386.deb

This site is about xvidcap, a small tool to capture things going on on an X-Windows display to either individual frames or an MPEG video. On Windows machines there are commercial tools like Lotus ScreenCam or Camtasia which do a very good job esp. for the purpose I was needing such a tool for: Software documentation, esp. installation procedures and such.

2013-08-21

Radiation in c++

Radiation in c++

2013-08-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除