Welcome
Guest
, you are in:
<root>
Elements
•
Login
EventIDE Wiki
Navigation
¶
Main Page
Random Page
Create a new Page
All Pages
Categories
Navigation Paths
Administration
File Management
Create Account
Search the wiki
Back
DX11 3D Viewport Element
Modified on 2018/08/03 01:46
by
Administrator
Categorized as
3D Graphics
,
Base Elements
,
Elements
<div style="margin-right: 10px; margin-left: 16px; margin-bottom:10px; float: right; width: 500px; overflow: hidden; height: auto; padding: 0px; background: #fafafa; background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));background: -moz-linear-gradient(top, #fbfbfb, #fafafa);border: 1px dashed #ddd;box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ddd, 0 0 0 10px #fff, 0 0 2px 10px #eee;"> == Summary == {s:Element Info Panel | title=DX11 3D Viewport | category=3D Graphics | icon=[image|Element Icon|{UP(DX11-3D-Viewport-Element)}DX11-3D-Viewport-Element-Icon.png] | author= OkazoLab | addin= Base Layer | scope= Parent event | usage= Stimulus screen | ownsnippets= None } == Properties == {| |- ! Name ! Description ! Constraints ! Type ! On<br/>runtime<br/>change |- | colspan="5" bgcolor="#AADDDDD" | Viewport |- | Auto View | Defines whether the viewport automatically adjusts the camera pose in order to fit an entire 3D model | {s:atNormal} | Boolean | |- | Auto Origin | Defines whether the viewport automatically translated the word origin to the center of mass on a loaded 3D model | {s:atNormal} | Boolean | |- | Background Color | Defines the background color of the Oculus viewport | {s:atNormal} | stColor | |- | Rendering Quality | Defines the rendering quality in the 3D viewport | {s:atDesign} | enRend.. | |- | Multi-sampling Mode | Defines the multi-sampling mode in the 3D viewport. Higher multi-sampling results in better anti-aliasing quality but can decrease performance. | {s:atDesign} | Int32 | |- | colspan="5" bgcolor="#AADDDDD" | Camera |- | Camera Position | | {s:atNormal} | Point3D | |- | LookAt Vector | | {s:atNormal} | Vector.. | |- | LookUp Vector | | {s:atNormal} | Vector.. | |- | Near Plane Distance | | {s:atNormal} | Double | |- | Far Plane Distance | | {s:atNormal} | Double | |- | Field Of View | | {s:atNormal} | Double | |- | Reset Camera Now | | {s:atRuntimeAction} | Boolean | |- | colspan="5" bgcolor="#AADDDDD" | Runtime |- | World Scale | | {s:atNormal} | Double | |- | World Rotation | | {s:atNormal} | Vector.. | |- | Rendering Time | | {s:atNormal} | Double | |- | XAML Viewport | | {s:atNormal} | Framew.. | |- | colspan="5" bgcolor="#AADDDDD" | Object Tracking |- | Is Tracking | Defines whether the object tracking is enabled within the 3D viewport | {s:atNormal} | Boolean | |- | Tracked Object | Returns a name of the tracked 3D object among all objects on a 3D scene. The object name has to be defined in the XAML 3D model by the 'AutomationProperties.Name' attribute on the 3DGeometry tag. When no object is tracked, the property returns an empty string. | {s:atNormal} | String | |- | Tracked Point | Returns 3D coordinates of the focal dot on the currently tracked 3D object. When no object is tracked, the property returns the zero point. | {s:atNormal} | Point3D | |- | Tracking Distance | Returns a distance from the camera to the focal dot of the tracked 3D object (in the world units). When no object is tracked, the property returns the zero. | {s:atNormal} | Double | |- | colspan="5" bgcolor="#AADDDDD" | Material List |- | Selected Index | Defines an index of the selected library item in the list of this element | {s:atNormal} | Int32 | |- | Selected Item | Defines a name if the selected library item in the list of this element | {s:atNormal} | String | |- | Item Count | Return the total number of material items in the list of this element | {s:atStatus} | Int32 | |- | Equalize RGB | If true,the RGB pixel intensity is equalized across all loaded items | {s:atDesign} | Boolean | |- | colspan="5" bgcolor="#AADDDDD" | Visual Appearance |- | Alpha Masking | Defines, whether the visual content is used to create an opacity mask on the event surface. If masking is on, the content's pixel luminance (or, its inverse) defines transparency within element's viewport. The alpha masking allows, for example, create transparent holes on the event surface. | {s:atDesign} | Int32 | |- | AntiAliasing | if true, the rendered content will be antialiased for smoother visual appeariance. If false, rendering will be authentic to its source, e.g. a bitmap. | {s:atNormal} | Boolean | |- | Position | Defines a position of the rendering viewport on the screen | {s:atNormal} | clPoint | |- | Size | Defines a size of the element's rendering viewport on the screen | {s:atNormal} | clSize | |- | Z Order | Indicates Z Order of the element on the given event | {s:atStatus} | Int32 | |- | Pivot Point | Defines alignment of the pivot point (or, element's position) relative to element's rendering area. The pivot point sets the center of element's rotation and scale directions. | {s:atNormal} | stAlig.. | |- | Visible | Defines whether the element is visible | {s:atNormal} | Boolean | |- | Rotation | Rotation angle in degrees | {s:atNormal} | Double | |- | colspan="5" bgcolor="#AADDDDD" | Effects |- | Transparent Color | The color of the original pixels of rendered content that will be set as transparent | {s:atNormal} | stColor | |- | Transparent Tolerance | Tolerance ratio for choosing colors that become transparent. Zero means that effect is not applied, 1 denotes that all colors will become trasparent | {s:atNormal} | Int32 | |- | Color Mask | Produces a multiplicative combination of the original pixels and the selected mask color (except the alpha channel). The effect emulates a look through a colored glass. White or transparent mask color dont change the original pixels | {s:atNormal} | stColor | |- | Opacity | Opacity of the rendered content | {s:atNormal} | Int32 | |- | Contrast | Contrast of the rendered content | {s:atNormal} | Int32 | |- | Brightness | Brightness the rendered content | {s:atNormal} | Int32 | |- | Saturation | Saturation of the rendered content | {s:atNormal} | Double | |- | Pixelation | Pixelation of the rendered content | {s:atNormal} | Int32 | |- | Blurring | The radius used in the gaussian blur of rendered content, as a pixel-based factor. The default is 0 which means no blurring. | {s:atNormal} | Int32 | |- | Scrambling | | {s:atNormal} | Double | |- | Scrambling Grid Size | Defines a size of the scrambling grid | {s:atNormal} | clSize | |- | colspan="5" bgcolor="#AADDDDD" | Positional Jitter |- | Reset Jitter Now | Runtime command that resets the positional jitter. | {s:atRuntimeAction} | Boolean | |- | Current Jitter | Returns the current jitter | {s:atStatus} | clPoint | |- | Jitter Range | Defines a possible range for the random jitter. The range is centered to the position of the element. | {s:atNormal} | clSize | |- | colspan="5" bgcolor="#AADDDDD" | Control |- | Is Enabled | If set to false the element is completely omitted when the experiment is run | {s:atDesign} | Boolean | |- | Title | Title of the element | {s:atDesign} | String | |- |} == == </div> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> '''DX11 3D Viewport Element''' renders arbitrary 3D objects and scenes using a fast DirectX 11 engine. The element allows runtime adjustment of 3D scene.<br><br> {TOC} == Description == ... == Snapshots == {| | [imageleft|Snapshot 1 <br/>|{UP(page - name)}*-sm.png |{UP(page - name)}*.png] || [imageleft|Snapshot 2 |{UP(page - name)}*-sm.png |{UP(page - name)}*.png] |} == Practical Use == ... === Technique 1 === # Step 1 # Step 2 ... === Technique 2 === # Step 1 # Step 2 ... <div style="margin-left:0px; margin-right:10px; margin-top:10px; width: auto; overflow: hidden; height: auto; background: #fafafa; background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));background: -moz-linear-gradient(top, #fbfbfb, #fafafa);border: 1px dashed #ddd;box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ddd, 0 0 0 10px #fff, 0 0 2px 10px #eee;"> @@ csharp // Check the trial outcome. Result and RT just other user variables // insert code snippet here.. @@</div> ... == Notes == ... * Insert Notes here.. * Insert Notes here..
Meta Keywords:
Meta Description:
Change Comment:
ScrewTurn Wiki
version 5.2.0.8. Some of the icons created by
FamFamFam
.