從世界坐標系到觀察坐標系的變換,該變換時攝像機變換至坐標系原點並使攝像機光軸沿著z軸正方向。

createps 發表在 痞客邦 留言(0) 人氣()

 

SetVertexShader專門設置可編程渲染管道的Shader程序,vs(vertex   shader)用SetVertexShader來傳入。

createps 發表在 痞客邦 留言(0) 人氣()

Bump Mapping

bumpmap2.gif  Bump mapping is very much like Texture Mapping. However, where Texture Mapping added colour to a polygon, Bump Mapping adds, what appears to be surface roughness. This can have a dramatic effect on the look of a polygonal object. Bump Mapping can add minute detail to an object which would otherwise require a large number of polygons. Note that the polygon is still physically flat, but appears to a be bumpy. 

createps 發表在 痞客邦 留言(0) 人氣()

因為一個好朋友的老婆的建議,所以我馬上又寫了一個"統一發票對獎程式"。

希望大家喜歡^^

createps 發表在 痞客邦 留言(0) 人氣()

方法一:

this.texBox.KeyPress += new KeyPressEventHandler(HandleKeyPress);

createps 發表在 痞客邦 留言(0) 人氣()

physics.setGravity()
Description:

createps 發表在 痞客邦 留言(0) 人氣()

physics.setScale()
Description:說明:

createps 發表在 痞客邦 留言(0) 人氣()

 

body.isBullet

Description:

A boolean for whether the body should be treated as a “bullet”. Bullets are subject to continuous collision detection, rather than periodic collision detection at world timesteps. This is more computationally expensive, but it prevents fast-moving objects from passing through solid barriers. The default is false.

createps 發表在 痞客邦 留言(0) 人氣()

body.angularDamping


createps 發表在 痞客邦 留言(0) 人氣()

body.linearDamping


createps 發表在 痞客邦 留言(0) 人氣()