自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (8)
  • 收藏
  • 关注

原创 unity 导航网格运行时模型高度有偏差

放了两个模型在场景中,默认Y坐标都是0勾选height mesh 模型的坐标如下不勾选height mesh 模型坐标https://answers.unity.com/questions/1469054/why-there-is-always-a-small-gap-between-navmesh-ag.html...

2018-07-24 16:16:06 1163

原创 C++中的一些类型转换

C++中的一些类型转换string to int atoi( str.c_str() ) std::stoi( str ) c++11int to string string s = string(itoa(a)); std::string s = std::to_string(a); c++11

2017-06-27 10:19:11 286

原创 无法解析的外部符号 "public: static class cocos2d::CCLuaEngine *

自己建了个C++工程,调用luaengine时出错了。error link 2019。在 工程属性 -> 配置属性 -> C/C++ -> 预处理器 -> 预处理器定义 一栏添加 _USRLUASTATIC 解决网上搜到的文章都是 把luaEngine文件考到自己的工程下解决的,试过了但报了个dll链接不一致的错误,然后搜索到要修改预处理器定义,把这个宏加进来。

2017-06-15 15:13:26 1117

原创 Lua 编写快速排序算法

--快速排序function Utils.quickSort(array,low,high) if low < high then local key = array[low] local lowTag = low local highTag = high while(lowTag<highTag) do

2016-02-24 21:04:23 957

转载 C++中各种类型的相互转换

int转char*(itoa)char*_itoa(int value,char* string,int radix);

2014-06-24 16:05:20 455

转载 scrollview里的一些api

setBounceEnabled:弹跳开关,拉过了之后,可以弹回来setInnerContainerSize:设置内部实际大小,必须大于等于sizesetDirection(SCROLLVIEW_DIR_HORIZONTAL):设置滚动方向addChild:UIWidget都可以

2014-05-12 21:38:34 1133

CAINav 寻路插件包

之前的32位dll替换成64的了,material.material过期问题也修复了 原版地址CritterAI Home: http://www.critterai.org/

2018-07-28

SE SSAO unity

SE Screen-Space Shadows provides screen-space raytraced shadows for directional lights for sharp, detailed contact shadows. It can capture details in shadows that would otherwise be missed using traditional shadow maps alone. This effect works by tracing in screen-space using the depth buffer information, similar to SSAO or screen-space reflections. Like these other effects, anything that is not directly visible in the main view will not contribute to screen-space shadows. However, because this effect is meant to be used in combination with traditional shadow maps to improve close-proximity contact shadows, this limitation is generally not apparent.

2018-07-09

ShaderX_RipplingRefractiveAndReflectiveWater

水反射折射的计算 One of the classic challenges of real-time computer graphics is to generate realistic looking water. Because water can look very different depending on the context of the scene, it is important to define a few different categories of water effects. For example, techniques used to render ocean water may not produce realistic looking puddle water. With this in mind, the shaders presented in this chapter will focus on highly realistic per-pixel lighting effects used to render real-time lake water. Unlike ocean water, lake water does not have large rolling swells. Instead, the surface geometry consists of high frequency, non-uniform perturbations that give the surface a subtle choppiness resulting in slightly distorted reflections and refractions. Because of these surface characteristics, shallow water reflections and refractions as shown in Figure 1 can be reasonably approximated with planar reflections and renderable textures.

2018-06-29

opengl需要的一些库

opengl需要的一些库

2016-08-26

opengl的库(freeglut,gltools,glew)

opengl的库(freeglut,gltools,glew)

2016-08-25

python easy_install 和 pip

两个.py文件 直接运行可以安装 easy_install和pip

2016-08-17

openGl 做一个三角形

openGl 超级宝典的最初使的一个小程序

2014-03-10

openGl模拟太阳系旋转的小程序

openGL 太阳系 地球绕太阳转 月球绕地球转

2014-03-10

空空如也

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

TA关注的人

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