青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

隨筆 - 505  文章 - 1034  trackbacks - 0
<2008年2月>
272829303112
3456789
10111213141516
17181920212223
2425262728291
2345678


子曾經曰過:編程無他,唯手熟爾!

常用鏈接

留言簿(94)

隨筆分類(649)

隨筆檔案(505)

相冊

BCB

Crytek

  • crymod
  • Crytek's Offical Modding Portal

Game Industry

OGRE

other

Programmers

Qt

WOW Stuff

搜索

  •  

積分與排名

  • 積分 - 923082
  • 排名 - 14

最新隨筆

最新評論

閱讀排行榜

評論排行榜

pdf 看起來麻煩,還是html看起來方便。pdf gold這個軟件不錯,能編輯pdf文件,增加書簽,嘿嘿,這樣子就不用每次打開都要先找找上次看到哪兒了。

以下內容摘自RenderMonkey Documentation.pdf

Predefined Variables

RenderMonkey provides a set of predefined variables for added shader development
convenience. Such variables will display an appropriate tool tip (Predefined Variable) if
the mouse hovers over them. Predefined variables are shader constants whose values get
filled in at run-time by the viewer module directly at every frame. You cannot modify the
values directly through the same user interface that you can use to edit other variables of
similar types. A properly flagged predefined variable will be denoted in the workspace
tree view with a symbol over the nodes icon. For example:
RenderMonkey provides this set of predefined variables for your convenience:

Time

"Time0_X"
Provides a floating point time value (in seconds) which repeats itself based on the
“Cycle time” set in the RenderMonkey Preferences dialog. By default this “Cycle
time” is set to 120 seconds. This means that the value of this variable cycles from
0 to 120 in 120 seconds and then goes back to 0 again.
"CosTime0_X"
This variable will provide the cosine of Time0_X.
"SinTime0_X"
This variable will provide the sine of Time0_X.
"TanTime0_X"
This variable will provide the tangent of Time0_X.
"Time0_X_Packed"
This variable will pack the above xxxTime0_X variables into a 4 component
floating point vector.
Example: float4(Time0_X,CosTime0_X,SinTime0_X,TanTime0_X).
"Time0_1"
This variable provides a scaled floating point time value [0..1] which repeats itself
based on the “Cycle time” set in the RenderMonkey Preferences dialog. By
default this “Cycle time” is set to 120 seconds. This means that the value of this
variable cycles from 0 to 1 in 120 seconds and then goes back to 0 again.
"CosTime0_1"
This variable will provide the cosine of Time0_1.
"SinTime0_1"
This variable will provide the sine of Time0_1.
"TanTime0_1"
This variable will provide the tangent of Time0_1.
"Time0_1_Packed"
This variable will pack the above xxxTime0_1 variables into a 4 component
floating point vector.
Example: float4(Time0_1,CosTime0_1,SinTime0_1,TanTime0_1).
"Time0_2PI"
This variable provides a scaled floating point time value [0..2PI] which repeats
itself based on the “Cycle time” set in the RenderMonkey Preferences dialog. By
default this “Cycle time” is set to 120 seconds. This means that the value of this
variable cycles from 0 to 2PI in 120 seconds and then goes back to 0 again.
"CosTime0_2PI"
This variable will provide the cosine of Time0_2PI.
"SinTime0_2PI"
This variable will provide the sine of Time0_2PI.
"TanTime0_2PI"
This variable will provide the tangent of Time0_2PI .
"Time0_2PI_Packed"
This variable will pack the above xxxTime0_2PI variables into a 4 component
floating point vector.
Example: float4(Time0_2PI,CosTime0_2PI,SinTime0_2PI,TanTime0_2PI).
"TimeCyclePeriod"
This variable provides the “Cycle time” floating point value, as set in the
RenderMonkey Preferences dialog. By default this “Cycle time” is set to 120
seconds.
"FPS"
This variable provides the calculated frames per second, returned as a floating
point value.
"TimeElapsed"
This variable provides the elapsed time (in seconds) from the last frame to the
current frame, returned as a floating point value.


Viewport

"ViewportWidth"
This variable provides the preview window width (in pixels), returned as a
floating point value.
"ViewportHeight"
This variable provides the preview window height (in pixels), returned as a
floating point value.
"ViewportDimensions"
   This variable provides the preview window width and height (in pixels), returned
as a float2 value.
"ViewportWidthInverse"
   This variable will return 1.0 / ViewportWidth. 【重劍注:NND!就是倒數啊!】
"ViewportHeightInverse"
   This variable will return 1.0 / ViewportHeight.
"InverseViewportDimensions"
This variable provides the inverse of the “ViewportDimensions”, returned as a
float2 value.
Random Values
"RandomFraction1PerPass"
"RandomFraction2PerPass"
"RandomFraction3PerPass"
"RandomFraction4PerPass"
Each of these variables provide a random floating point value in the range of
[0..1]. These values are updated each pass.
"RandomFraction1PerEffect"
"RandomFraction2PerEffect"
"RandomFraction3PerEffect"
"RandomFraction4PerEffect"
Each of these variables provide a random floating point value in the range of
[0..1]. These values are updated each effect.

Pass

"PassIndex"
This variable will provide the pass index, returned as a floating point value.

Mouse Parameters

"LeftMouseButton"
This variable will return a floating point value of 1.0 if the left mouse button is
currently pressed, or 0.0 if it is not currently pressed.
"MiddleMouseButton"
This variable will return a floating point value of 1.0 if the middle mouse button is
currently pressed, or 0.0 if it is not currently pressed.
"RightMouseButton"
This variable will return a floating point value of 1.0 if the right mouse button is
currently pressed, or 0.0 if it is not currently pressed.
"MouseButtonsPacked"
This variable will pack the above xxxMouseButton variables into a 4 component
floating point vector.
Example: float4(LeftMouseButton,MiddleMouseButton,RightMouseButton ,0.0).
"MouseCoordinateX"
This variable will return the horizontal mouse position (in pixels), relative to the
client area of the preview window, returned as a floating point value.
"MouseCoordinateY"
This variable will return the vertical mouse position (in pixels), relative to the
client area of the preview window, returned as a floating point value.
"MouseCoordinateXNDC"
This variable will return "MouseCoordinateX" / "ViewportWidth".
"MouseCoordinateYNDC"
This variable will return "MouseCoordinateY" / "ViewportHeight".
"MouseCoordsPacked"
This variable will pack the above MouseCoordinatexxx variables into a 4
component floating point vector.
Example: float4(MouseCoordinateX,MouseCoordinateY,XNDC,YNDC).
"MouseCoordinateXY"
This variable will return the "MouseCoordinateX" and "MouseCoordinateY"
coordinates into a 2 component floating point vector.
Example: float2(MouseCoordinateX,MouseCoordinateY).
"MouseCoordinateXYNDC"
This variable will return the "MouseCoordinateXNDC" and
"MouseCoordinateYNDC" coordinates into a 2 component floating point vector.
Example: float2(MouseCoordinateXNDC,MouseCoordinateYNDC).

Model Parameters

"ModelMoundingBoxTopLeftCorner"
This variable provides the top left coordinate of the model as a 3 component
floating point vector (world space).
"ModelMoundingBoxBottomRightCorner"
This variable provides the bottom right coordinate of the model as a 3 component
floating point vector (world space).
"ModelMoundingBoxCenter"
This variable provides the bounding box center of the model as a 3 component
floating point vector (world space).
"ModelCentroid"
This variable provides the centroid of the model as a 3 component floating point
vector (world space).
"ModelBoundingSphereCenter"
This variable provides the bounding sphere center of the model as a 3 component
floating point vector (world space).
"ModelBoundingSphereRadius"
This variable provides the bounding sphere radius of the model as a single
component floating point value (world space).

View Parameters

"ViewDirection"
This variable provides the view direction vector (world space).
"ViewPosition"
This variable provides the view position (world space).
"ViewSideVector"
This variable provides the view size vector (world space).
"ViewUpVector"
This variable provides the view up vector (world space).
"FOV"
This variable provides the field of view as a floating point value.
"NearClipPlane”
This variable provides the near clip distance as a floating point value.
"FarClipPlane”
This variable provides the far clip distance as a floating point value.

View Matrices

"View"
"ViewTranspose"
"ViewInverse"
"ViewInverseTranspose"
These 4x4 matrix variables provide the view matrix, its transpose, its inverse, and
the inverse transpose.
"Projection"
"ProjectionTranspose"
"ProjectionInverse"
"ProjectionInverseTranspose"
These 4x4 matrix variables provide the projection matrix, its transpose, its
inverse, and the inverse transpose.

"ViewProjection"
"ViewProjectionTranspose"
"ViewProjectionInverse"
"ViewProjectionInverseTranspose"
These 4x4 matrix variables provide the view * projection matrix, its transpose, its
inverse, and the inverse transpose.
"World"
"WorldTranspose"
"WorldInverse"
"WorldInverseTranspose"
These 4x4 matrix variables provide the world matrix, its transpose, its inverse,
and the inverse transpose. Note that since this version of RenderMonkey does not
support implementation of a scene graph, we have decided to keep the world
matrix as identity, but provide this predefined variable for your development
convenience. The user may apply this variable in their shader and when imported
into their engine, they may provide appropriate value of the world view projection
matrix through the engine’s calculations.
"WorldView"
"WorldViewTranspose"
"WorldViewInverse"
"WorldViewInverseTranspose"
These 4x4 matrix variables provide the world * view matrix, its transpose, its
inverse, and the inverse transpose.
"WorldViewProjection"
"WorldViewProjectionTranspose"
"WorldViewProjectionInverse"
"WorldViewProjectionInverseTranspose"
These 4x4 matrix variables provide the World * View * Projection matrix, its
transpose, its inverse, and the inverse transpose.

Customizing Predefined Variable Names

All predefined variable names are customizable through editing the
“.\UserData\RmPredefinedVariabled.txt” file. The data file is organized into four
columns. The first column contains the name that the variable will be created with by
default. This column is editable by the user. No other column data should be modified.
 The second column specifies the variable type; the third column specifies the rendering
update frequency, and the fourth column species the predefined variable semantic. When
items in the first column have been modified, RenderMonkey should be restarted for the
changes to take effect.
posted on 2008-12-09 20:43 七星重劍 閱讀(3988) 評論(0)  編輯 收藏 引用 所屬分類: Game GraphicsHLSL&ShaderMonkey
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            久久亚洲精选| 日韩一区二区精品视频| 亚洲日本电影在线| 国产在线观看一区| 一区二区高清视频| 99精品国产99久久久久久福利| 午夜伦理片一区| 亚洲一区二区在线免费观看视频 | 亚洲国产成人不卡| 国产日韩欧美日韩大片| 一区二区成人精品| 一区二区欧美激情| 欧美黑人国产人伦爽爽爽| 毛片av中文字幕一区二区| 国产欧美一区二区三区久久人妖 | 亚洲高清在线观看一区| 黄色成人在线网站| 欧美在线播放一区二区| 久久成人一区| 国产欧美精品一区aⅴ影院| 中国女人久久久| 亚洲小视频在线| 国产精品福利在线| 一区二区三区久久久| 亚洲午夜一区| 国产精品视频男人的天堂| 夜夜夜精品看看| 亚洲欧美日韩另类| 国产精品视频xxxx| 香蕉乱码成人久久天堂爱免费 | 羞羞色国产精品| 久久成人人人人精品欧| 国产一级揄自揄精品视频| 欧美在线观看视频在线| 久久久激情视频| 亚洲第一黄色网| 欧美不卡一区| 亚洲免费观看高清完整版在线观看熊| 一区二区三区成人| 国产精品卡一卡二| 久久国产精品久久国产精品| 欧美α欧美αv大片| 亚洲三级电影在线观看| 欧美体内she精视频| 午夜精品一区二区三区在线| 久久永久免费| 亚洲精品男同| 国产精品日韩欧美一区二区三区| 销魂美女一区二区三区视频在线| 久久综合久久综合这里只有精品| 亚洲激情二区| 欧美午夜宅男影院| 久久动漫亚洲| 亚洲久色影视| 久久视频国产精品免费视频在线| 亚洲国产精品毛片| 国产精品国产三级国产普通话三级| 亚洲欧美www| 亚洲福利视频专区| 亚洲欧美国产视频| 亚洲国产三级| 国产精品久久看| 久久综合婷婷| 亚洲综合三区| 91久久精品国产| 久久精品首页| 夜夜嗨av一区二区三区| 国产亚洲欧洲| 欧美日本一区二区三区| 久久国产精品99精品国产| 亚洲乱码久久| 欧美国产欧美亚洲国产日韩mv天天看完整 | 久久国产精品99精品国产| 91久久视频| 国产夜色精品一区二区av| 欧美精品一区二区三| 欧美一区二区三区四区在线| 亚洲国产电影| 久久久综合视频| 亚洲一区二区在线视频| 亚洲人人精品| 国内精品久久久| 国产精品九九久久久久久久| 欧美成人a视频| 久久精品男女| 亚洲欧美资源在线| 99视频国产精品免费观看| 免费视频一区| 久久午夜激情| 午夜激情久久久| 一级成人国产| 日韩视频第一页| 亚洲国产婷婷香蕉久久久久久| 国产色爱av资源综合区| 欧美午夜视频一区二区| 欧美日韩免费| 欧美精品一区在线播放| 免费观看成人网| 免费欧美在线视频| 久久久久久久一区二区三区| 久久国产99| 久久精品成人| 久久久精品视频成人| 欧美一站二站| 欧美在线高清视频| 欧美在线视频在线播放完整版免费观看 | 久久亚洲图片| 免费成人美女女| 免费日韩av| 欧美精品在线一区| 欧美日韩一区二区三区在线视频| 欧美区在线播放| 欧美日韩人人澡狠狠躁视频| 欧美日韩综合另类| 国产精品99免费看 | 99精品欧美一区二区蜜桃免费| 亚洲福利视频免费观看| 亚洲激情在线观看视频免费| 亚洲精品美女免费| 日韩视频免费观看高清在线视频| 亚洲片国产一区一级在线观看| 亚洲日本中文字幕| 在线中文字幕一区| 午夜久久tv| 久久精品国内一区二区三区| 久久久久久久高潮| 欧美成人综合一区| 国产精品theporn| 国产欧美视频一区二区| 激情综合色丁香一区二区| 亚洲国产精品日韩| 99av国产精品欲麻豆| 亚洲欧美另类国产| 老司机免费视频久久| 亚洲国产精彩中文乱码av在线播放| 亚洲国产综合在线看不卡| 一区二区国产在线观看| 欧美在线观看天堂一区二区三区| 麻豆精品网站| 国产精品成人一区二区| 国模私拍视频一区| 亚洲日本乱码在线观看| 亚洲欧美不卡| 欧美大片免费久久精品三p| 日韩小视频在线观看专区| 欧美一区三区三区高中清蜜桃| 乱人伦精品视频在线观看| 欧美午夜片在线观看| 影音欧美亚洲| 亚洲欧美日韩精品一区二区| 免费日韩精品中文字幕视频在线| 亚洲精品在线视频观看| 欧美在线高清视频| 欧美日韩中文字幕在线| 国内偷自视频区视频综合| 一区二区三区日韩欧美精品| 麻豆国产精品777777在线| 亚洲视频在线观看| 欧美国产欧美亚洲国产日韩mv天天看完整 | 国产精品成人一区二区三区夜夜夜 | 亚洲黄网站在线观看| 午夜视频在线观看一区| 亚洲国产网站| 久久激情婷婷| 国产欧美日韩精品专区| 亚洲最新在线| 欧美韩日亚洲| 欧美在线视频观看免费网站| 欧美日韩亚洲一区二区三区在线 | 欧美一区二区女人| 亚洲理论在线| 蜜桃精品久久久久久久免费影院| 国产欧美激情| 亚洲一区在线播放| 亚洲区一区二| 蜜臀久久99精品久久久久久9| 国产欧美丝祙| 午夜在线电影亚洲一区| 一本色道精品久久一区二区三区| 欧美国产视频在线| 亚洲国产精品国自产拍av秋霞| 久久精品国产v日韩v亚洲| 亚洲一区二区欧美| 欧美视频日韩视频| 亚洲一级在线| 日韩亚洲一区在线播放| 欧美精品一区三区在线观看| 最新成人在线| 亚洲电影观看| 欧美成人精品影院| 亚洲国产日韩一区| 欧美+亚洲+精品+三区| 久久免费午夜影院| 亚洲国产精品传媒在线观看 | 国产精品一区二区男女羞羞无遮挡| av成人手机在线| 日韩视频免费观看| 国产精品swag| 欧美一区二区三区另类| 欧美一级播放|