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
3D Viewport Element
Modified on 2018/08/03 01:50
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=3D Viewport | category=3D Graphics | icon=[image|Element Icon|{UP(3D-Viewport-Element)}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 Settings |- | Is Input Enabled | Defines whether input is allowed to control the 3D viewport. If the value is true, the viewport camera can me controlled with mouse gestures at runtime. | {s:atDesign} | Boolean | |- | Auto Zoom | Defines whether the viewport automatically reset its zooming and panning to fit a newly loaded 3D model | {s:atNormal} | Boolean | |- | Show View Cube | Defines whether the view cube widget is shown in the viewport | {s:atNormal} | Boolean | |- | Show Framerate | Defines whether the framerate counter is shown in the viewport | {s:atNormal} | Boolean | |- | Show Axis | Defines whether the axis widget is shown in the viewport | {s:atNormal} | Boolean | |- | Show Grid | Defines whether the Y=0 grid is shown in the viewport | {s:atNormal} | Boolean | |- | Background Color | Defines the background color of the viewport | {s:atNormal} | stColor | |- | Default Material | Defines the default material color for material-less 3D models | {s:atDesign} | stColor | |- | colspan="5" bgcolor="#AADDDDD" | Camera Orbit |- | Orbit Rotation | Rotation of the camera in the viewport orbital system. The field X,Y and Z represent Yew, Pitch and Roll in degrees. | {s:atNormal} | Vector.. | |- | Orbit Center | Center of the camera orbit in the world coordinates. | {s:atNormal} | Point3D | |- | Orbit Scale | Scale of the camera orbit height relative to the orbit center. The value is in percentates where 100% match to the default camera position in the current 3D model. | {s:atNormal} | Double | |- | colspan="5" bgcolor="#AADDDDD" | |- | | | {s:atNormal} | Boolean | |- | 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> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> '''3D Viewport Element''' allows rendering of 3D models stored in popular 3D formats, e.g. the Wavefront obj. The elements allows to control the camera position for changing 3D views or producing 3D animation. Multiple 3D scenes can be loaded into element's material list in order to form a 3D stimulus set. If you need even deeper control of 3D scenes, consider using another element, [3D-XAML-Viewport-Element|3D XAML element], which requires model conversion to the XAML 3D format.<br><br> {TOC} == Description == Short description == Snapshots == {| | [imageleft|Snapshot 1 <br/>|{UP}/pictures/elements/**/small/sm_***.png|{UP}/pictures/elements/**/sm_***.png] || [imageleft|Snapshot 2 |{UP}/pictures/elements/**/small/sm_***.png|{UP}/pictures/elements/**/**.png] |} == Practical Use == === Technique 1 === # Step 1 # Step 2 === Technique 2 === # Step 1 # Step 2 @@ csharp // Check the trial outcome. Result and RT just other user variables // insert code snippet here.. @@
Meta Keywords:
3D, 3D model, 3D stimulus, 3D Viewport, EventIDE, Okazolab
Meta Description:
Change Comment:
ScrewTurn Wiki
version 5.2.0.8. Some of the icons created by
FamFamFam
.