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

隨筆 - 505  文章 - 1034  trackbacks - 0
<2007年8月>
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678


子曾經(jīng)曰過:編程無他,唯手熟爾!

常用鏈接

留言簿(94)

隨筆分類(649)

隨筆檔案(505)

相冊

BCB

Crytek

  • crymod
  • Crytek's Offical Modding Portal

Game Industry

OGRE

other

Programmers

Qt

WOW Stuff

搜索

  •  

積分與排名

  • 積分 - 921195
  • 排名 - 14

最新隨筆

最新評論

閱讀排行榜

評論排行榜

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

以下內(nèi)容摘自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!就是倒數(shù)啊!】
"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 七星重劍 閱讀(3985) 評論(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>
            国产精品久久久久久久久果冻传媒 | 亚洲欧美视频在线观看视频| 亚洲欧美国产日韩天堂区| 欧美日韩a区| 在线视频你懂得一区| 性xx色xx综合久久久xx| 国产精品蜜臀在线观看| 两个人的视频www国产精品| 亚洲一区二区三区久久| 国产一区二区三区四区五区美女| 久久嫩草精品久久久久| 99国产精品久久久久久久久久| 亚洲免费视频一区二区| 国产一区二区三区四区| 欧美日韩伦理在线| 久久久国产成人精品| 欧美成人福利视频| 性色av一区二区三区在线观看| 午夜精品久久久久久久99樱桃| 国产日韩在线看| 亚洲国产影院| 亚洲欧美日韩另类精品一区二区三区 | 1000精品久久久久久久久 | 日韩视频免费| 久久亚洲国产成人| 亚洲免费成人av| 亚洲一卡久久| 性欧美大战久久久久久久久| 欧美成在线视频| 国产精品99一区| 国产色综合网| 亚洲日本在线观看| 一本一本久久a久久精品综合麻豆| 欧美一区成人| 久久久福利视频| 亚洲第一网站免费视频| 亚洲激情成人网| 亚洲大胆视频| 99xxxx成人网| 久久免费视频网站| 欧美激情一区二区三区| 亚洲欧美精品一区| 欧美va日韩va| 伊甸园精品99久久久久久| 亚洲欧美日韩在线高清直播| 免费久久精品视频| 亚洲欧美一区二区激情| 欧美三级日本三级少妇99| 亚洲国产欧美日韩| 久久亚洲精品视频| 欧美中文在线观看| 国产伦精品一区二区三区免费| 在线日韩电影| 免费成人av在线| 欧美影院久久久| 国产精品日韩欧美| 99精品国产一区二区青青牛奶| 久久女同互慰一区二区三区| 亚洲性感激情| 欧美激情一区二区三区在线 | 国产欧美日韩在线视频| 亚洲一区二区黄| 亚洲国产婷婷综合在线精品| 亚洲精品一区二区三区av| 亚洲图片欧美日产| 欧美国产日韩视频| 亚洲美女中文字幕| 亚洲麻豆一区| 国产精品成人免费精品自在线观看 | 久久国产精品久久精品国产| 国产在线日韩| 久久亚洲高清| 女女同性精品视频| 亚洲国产女人aaa毛片在线| 亚洲第一网站免费视频| 欧美99久久| 亚洲精品乱码久久久久| 欧美高清视频在线播放| 美国成人直播| 99re6这里只有精品| 翔田千里一区二区| 99国产一区二区三精品乱码| 欧美va天堂| 亚洲裸体视频| 国产模特精品视频久久久久 | 亚洲一区不卡| 国产乱码精品1区2区3区| 亚洲欧美在线磁力| 欧美一区二区高清| 亚洲第一精品影视| 亚洲人成毛片在线播放| 国产精品swag| 欧美在线视频一区二区| 久久久久综合网| 在线亚洲欧美| 欧美日韩三级视频| 亚洲黑丝一区二区| 国产精品欧美日韩久久| 久久久亚洲欧洲日产国码αv| 午夜精品久久久久久久蜜桃app| 午夜精彩国产免费不卡不顿大片| 国内自拍视频一区二区三区| 亚洲国产一二三| 国产精品成人久久久久| 美腿丝袜亚洲色图| 国产精品日日摸夜夜添夜夜av| 嫩模写真一区二区三区三州| 国产精品另类一区| 亚洲黄色一区| 亚洲二区三区四区| 亚洲欧美国产日韩中文字幕| 91久久精品视频| 欧美一区二区三区视频免费播放| 精品91视频| 亚洲第一精品电影| 亚洲免费在线电影| 欧美在线观看一二区| 一本一道久久综合狠狠老精东影业| 国产日本欧美在线观看| 亚洲日本电影| 激情亚洲网站| 午夜亚洲激情| 午夜精品久久久久久久99热浪潮| 欧美激情精品久久久久久蜜臀 | 欧美日韩精品一本二本三本| 久久手机免费观看| 国产精品一区二区久久| 亚洲人成在线观看网站高清| 雨宫琴音一区二区在线| 欧美在线免费| 久久av一区二区三区漫画| 欧美日韩在线直播| 一本大道久久精品懂色aⅴ| 9国产精品视频| 欧美精品18videos性欧美| 欧美激情国产日韩| 亚洲国产精品久久久久秋霞蜜臀| 久久精品午夜| 久久一综合视频| 一区二区三区在线视频免费观看| 先锋影音久久久| 久久久久国产精品一区| 国产亚洲综合在线| 久久精品在线观看| 免费的成人av| 亚洲精品精选| 欧美区高清在线| 这里是久久伊人| 香港久久久电影| 国产深夜精品| 亚洲一区二区三区乱码aⅴ蜜桃女| 国产精品欧美经典| 欧美日韩一区成人| 日韩视频―中文字幕| 欧美.日韩.国产.一区.二区| 销魂美女一区二区三区视频在线| 欧美三级视频| 小黄鸭精品aⅴ导航网站入口| 亚洲欧洲在线视频| 欧美性理论片在线观看片免费| 日韩一本二本av| 亚洲最新色图| 久久精品国产精品亚洲精品| 欧美在线亚洲综合一区| 激情文学一区| 亚洲人成在线播放| 国产精品入口66mio| 麻豆精品网站| 亚洲欧美综合另类中字| 99精品欧美一区二区三区| 欧美一区二区高清| 久久久久久久尹人综合网亚洲 | 亚洲精品小视频在线观看| 一区二区黄色| 国产一区二区三区自拍| 欧美国产日韩亚洲一区| 亚洲欧美中文日韩v在线观看| 猫咪成人在线观看| 亚洲一区国产视频| 亚洲成色www8888| 国产免费观看久久| 欧美精品精品一区| 久久精品国产亚洲aⅴ| 日韩视频精品| 欧美韩日一区二区| 欧美一区二区三区播放老司机| 亚洲电影网站| 国产在线不卡| 亚洲欧美制服中文字幕| 亚洲国产成人高清精品| 国产嫩草影院久久久久 | 欧美区在线观看| 香蕉尹人综合在线观看| 欧美成人综合| 亚洲欧美日韩精品久久奇米色影视| 一区二区三区在线免费播放| 国产精品视频免费在线观看| 美日韩丰满少妇在线观看| 午夜精品视频| 亚洲午夜在线|