自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(1)
  • 资源 (10)
  • 收藏
  • 关注

原创 FFT水面加入Choppy Waves

以前的水面都比较圆润,今天尝试加入了浪尖。仍然用OpenGL和Cg,通过片元着色器计算FFT。choppy waves的生成其实和高度图的生成很相似,以前无浪尖,只生成高度,相当于只偏移了网格点Y坐标,而加入浪尖相当于X和Z坐标也要偏移一下。这样displacementMap可以设计成:R通道存X坐标偏移值DX,G通道存Y坐标偏移值DY,B通道存Z坐标偏移值DZ。法线的生成用有限差分就足够了。

2012-12-20 20:25:15 1121 3

Expert C++: Become a proficient programmer by learning coding best practices

Design and architect real-world scalable C++ applications by exploring advanced techniques in low-level programming, object-oriented programming (OOP), the Standard Template Library (STL), metaprogramming, and concurrency

2020-08-02

C++17 The Complete Guide.pdf

C++17 - The Complete Guide by Nicolai M. Josuttis Giving guidance on how to use Language and Library Features of C++17 For programmers, who want to switch to the latest version of Modern C++

2020-07-27

一种混音算法LogarithmicDynamicRangeCompression

一种混音算法,可以处理混音越界问题

2017-04-02

自己写的yuv播放器,支持YUV420P

这是自己写的YUV播放器,目前只支持YUV420P,输入宽和高以及文件路径名,点击play, 此工具供大家测试用

2016-04-29

简单的C++线程池

使用POSIX线程实现C++线程池 So a thread pool basically consists of the three primary actors: 1. A number of threads either waiting for or executing tasks. 2. A number of service requests to the server from clients. Each request is considered a task to the threads. 3. A queue holding the incoming service requests.

2014-12-23

UNIX环境高级编程_第二版中文.pdf

UNIX环境高级编程_第二版中文.pdf

2014-07-11

live555接收H264数据用ffmpeg解码播放

主要结合了testRTSPClient和dranger的ffmpeg tutorial

2014-04-25

FFmpeg 音频播放

ffmpeg音频播放,ffmpeg版本2014-4-20

2014-04-23

空空如也

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

TA关注的人

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