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

隨筆 - 505  文章 - 1034  trackbacks - 0
<2007年7月>
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234


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

常用鏈接

留言簿(94)

隨筆分類(649)

隨筆檔案(505)

相冊

BCB

Crytek

  • crymod
  • Crytek's Offical Modding Portal

Game Industry

OGRE

other

Programmers

Qt

WOW Stuff

搜索

  •  

積分與排名

  • 積分 - 923077
  • 排名 - 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 七星重劍 閱讀(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>
            久久久久久999| 欧美一区二区三区视频在线| 亚洲人成久久| 亚洲国内高清视频| 亚洲精华国产欧美| 亚洲六月丁香色婷婷综合久久| 亚洲茄子视频| 宅男噜噜噜66一区二区66| 一区二区三区精品在线 | 在线亚洲精品| 亚洲欧美国产视频| 亚洲欧美视频| 久久久久国产精品www| 老司机免费视频久久| 亚洲国产精品欧美一二99| 亚洲欧洲一区二区在线播放 | 久久亚洲精品一区| 久久影视精品| 亚洲国产精品一区二区久| 亚洲九九精品| 午夜国产精品视频| 久久全球大尺度高清视频| 欧美精品久久一区二区| 欧美视频日韩| 国内免费精品永久在线视频| 亚洲电影免费观看高清| 一区二区三区日韩| 久久爱www.| 欧美成人黑人xx视频免费观看| 91久久国产精品91久久性色| 亚洲一区二区三区四区中文| 久久精品视频亚洲| 欧美日韩亚洲一区三区| 国产欧美一区二区视频| 亚洲国产综合91精品麻豆| 亚洲性视频网站| 久久色中文字幕| 亚洲美女91| 欧美在线在线| 欧美日韩精品久久久| 国产午夜精品美女毛片视频| 亚洲精品一区在线| 久久国产精品久久国产精品| 欧美激情中文字幕一区二区| 亚洲免费一级电影| 欧美v国产在线一区二区三区| 国产精品免费视频观看| 亚洲国内高清视频| 欧美一区二区三区成人| 免费亚洲网站| 亚洲永久网站| 欧美伦理视频网站| 国内久久婷婷综合| 亚洲综合激情| 亚洲人午夜精品免费| 久久国产主播| 国产精品蜜臀在线观看| 亚洲麻豆视频| 久久男女视频| 亚洲一区二区精品| 欧美黄免费看| 激情久久久久久| 亚洲欧美日韩综合aⅴ视频| 欧美激情亚洲国产| 欧美一级视频一区二区| 欧美午夜欧美| 日韩午夜一区| 欧美成人精品1314www| 欧美一区二区三区日韩视频| 欧美色精品在线视频| 亚洲精品一区二区三区福利| 久久亚洲国产精品日日av夜夜| 亚洲一区二区毛片| 欧美欧美午夜aⅴ在线观看| 亚洲大胆av| 久久综合激情| 欧美亚洲一区二区在线| 国产精品毛片va一区二区三区 | 久久精品国产亚洲一区二区| 99国产麻豆精品| 欧美激情2020午夜免费观看| 亚洲黄色在线| 老司机一区二区三区| 欧美一区二区三区啪啪| 国产精品一级在线| 亚洲一区二区三区精品视频| 亚洲免费观看| 欧美精品一区三区在线观看| 亚洲精品日产精品乱码不卡| 欧美成人免费在线| 久久一区二区精品| 亚洲高清视频一区| 欧美大色视频| 美女主播一区| 亚洲国产专区校园欧美| 欧美国产精品劲爆| 美日韩在线观看| 亚洲高清不卡在线| 欧美顶级少妇做爰| 免费亚洲网站| 亚洲免费激情| 99综合视频| 国产精品久久久久久久午夜| 午夜精品亚洲| 欧美一区二区高清| 黑人巨大精品欧美一区二区| 六月丁香综合| 欧美成黄导航| 亚洲视频在线观看| av成人国产| 国产精品xnxxcom| 欧美伊人影院| 久久久久久亚洲精品不卡4k岛国| 亚洲福利视频免费观看| 亚洲电影免费在线| 欧美日韩精品久久久| 亚洲欧美日韩国产一区| 性欧美8khd高清极品| 精品91在线| 亚洲黄色天堂| 国产精品卡一卡二卡三| 久久精品国产第一区二区三区| 久久久国产精品亚洲一区| 亚洲日本黄色| 一区二区三区四区五区视频| 国产日韩精品一区二区三区| 久久亚洲私人国产精品va| 美女黄毛**国产精品啪啪 | 欧美www在线| 亚洲一区二区三区色| 欧美一区二区黄| 亚洲精品国产精品国自产观看浪潮 | 欧美激情在线狂野欧美精品| 欧美精品久久久久久久| 性色一区二区三区| 久久九九精品99国产精品| 亚洲精品视频一区| 亚洲一区二区在线观看视频| 在线观看视频免费一区二区三区| 亚洲毛片在线观看.| 国产日韩欧美一区二区三区四区| 欧美成人69av| 国产精品美女久久| 欧美成人午夜剧场免费观看| 欧美视频在线播放| 美女视频网站黄色亚洲| 欧美日韩在线综合| 麻豆国产精品一区二区三区| 欧美色欧美亚洲另类二区| 久久在线精品| 国产精品av久久久久久麻豆网| 久久一本综合频道| 欧美性一二三区| 免费av成人在线| 国产精品青草久久| 亚洲电影视频在线| 国产日韩精品一区二区三区在线| 亚洲人www| 一区三区视频| 亚洲一区bb| 亚洲久色影视| 久久婷婷蜜乳一本欲蜜臀| 亚洲欧美日本伦理| 欧美激情第1页| 美女网站在线免费欧美精品| 国产精品视频自拍| 91久久精品国产91久久性色tv| 国语自产精品视频在线看8查询8| 9l视频自拍蝌蚪9l视频成人 | 美女视频一区免费观看| 国产精品免费网站在线观看| 亚洲国产精品久久久久秋霞蜜臀| 红桃视频亚洲| 亚洲在线观看视频| 亚洲一区二区毛片| 欧美福利一区二区三区| 麻豆国产精品va在线观看不卡| 国产麻豆9l精品三级站| 日韩午夜激情| 亚洲日本视频| 蜜臀久久99精品久久久画质超高清 | 欧美成人嫩草网站| 久久影院亚洲| 国产一区二区毛片| 亚洲免费在线电影| 亚洲综合999| 欧美日韩视频专区在线播放| 亚洲国产精品va| 亚洲国产精品一区二区第一页| 久久精品亚洲精品| 久久女同精品一区二区| 国产精品视频免费观看| 在线一区二区日韩| 亚洲视频二区| 欧美日韩伦理在线| 亚洲日本国产| 夜夜嗨一区二区| 欧美日韩福利视频| 亚洲理论在线观看| 中文精品视频一区二区在线观看|