sinawear

导航

随笔分类 -  Ogre+3d+1.7+beginner+Guide+中文版

第8章,cg文件中的tex2D问题。
摘要:void MyFragmentShader8(float2 uv : TEXCOORD0, out float4 color : COLOR, uniform sampler2D texture) { float Num =50; float StepSize =1.0/Num; float2 TempUV... 阅读全文

posted @ 2012-03-06 18:18 sinawear 阅读(900) 评论(0) 推荐(0)

左手坐标系和右手坐标系的新鲜示意。
摘要:书中第二章讲创建一个场景节点时,说左右手坐标系:Thenamesleft-andright-handedarebasedonthefactthattheorientationoftheaxiscanbereconstructedusingtheleftandrighthand.Thethumbisthex-axis,theindexfingerthey-axis,andthemiddlefingerthez-axis.Weneedtoholdourhandssothatwehaveaninety-degreeanglebetweenthumbandindexfingerandalsobetwe 阅读全文

posted @ 2012-02-15 12:26 sinawear 阅读(9347) 评论(0) 推荐(0)