摘要:
Methods for runtime control of hierarchical objects are provided. Certain embodiments provide kinematics procedures in a media content, runtime environment. Making these procedures available in the runtime environment allows the variables of the kinematics procedures to be specified at runtime, for example by the end user or by a runtime-executed script. One exemplary method comprises receiving a hierarchical object for a piece of media in a media content authoring environment and providing the piece of media to one or more runtime environments. The piece of media provided to the runtime environments comprises both object information about the hierarchical object and kinematics procedural information for performing kinematics on the hierarchical object, such as procedural classes for performing inverse kinematics procedures based on runtime-provided end-effector and target point variables.
摘要:
In one embodiment, a method determines a first plane in a plurality of planes that is active for placing elements in a three dimensional (3D) space. A changing of a viewing direction of the first plane in the 3D space is detected. The method determines when a second plane in the plurality of planes should be activated for placing elements based on the changing of the viewing direction. The second plane is then activated for placing elements in the 3D space. The second plane is oriented at a different angle than the first plane with respect to the viewing direction.
摘要:
A method for rendering elements in a browser includes determining a first element and a line grid element to be rendered in three dimensions (3D) in the browser. The browser treats individual elements as having independent 3D spaces in the browser. The method transforms and projects the first element into a 3D space for the browser in which lines of the line grid element will be drawn. Geometry information for the first element in the 3D space is determined after the transform and projection into the 3D space. The positions are calculated in the 3D space to hide lines of the line grid element based on the geometry information for the first element and geometry information for the lines of the line grid element. The method renders lines in the 3D space in the browser, wherein portions of the lines are hidden based on the calculated positions.
摘要:
A method for rendering elements in a browser includes determining a first element and a line grid element to be rendered in three dimensions (3D) in the browser. The browser treats individual elements as having independent 3D spaces in the browser. The method transforms and projects the first element into a 3D space for the browser in which lines of the line grid element will be drawn. Geometry information for the first element in the 3D space is determined after the transform and projection into the 3D space. The positions are calculated in the 3D space to hide lines of the line grid element based on the geometry information for the first element and geometry information for the lines of the line grid element. The method renders lines in the 3D space in the browser, wherein portions of the lines are hidden based on the calculated positions.
摘要:
A method for creating a canvas element for a 3D object to be displayed in a browser includes: receiving a user input for a selection of a 3D object, which is to be displayed in the browser; receiving a user input for a location in the browser for displaying the 3D object; and receiving a user input for a size of the 3D object in the browser. The method further includes: receiving a user input for displaying the 3D object at the location and for the 3D object to have the size; creating a canvas element having location information for the location and size information for the size and in which the 3D object is to be displayed where the canvas element is created based on receiving the user input for displaying the 3D object; and displaying the 3D object in the canvas element in the browser.
摘要:
A method for displaying a corrected projection of a visual guide for a 3D object includes receiving drawing information for displaying the 3D object in a browser, and displaying, in the browser, a first visual guide having a first projection for the 3D object for a default 3D location. The first projection is a default projection of the browser. The method further includes un-projecting the first visual guide to reverse the first projection of the browser. The un-projected first visual guide is a second visual guide for the 3D object. The method further includes projecting the second visual guide according to an actual 3D location of the 3D object in the computerized 3D space. The method further includes displaying, in the browser, the second visual guide at the actual 3D location at which the 3D drawing will appear subsequent to displaying the 3D object in the browser.
摘要:
An animation-authoring environment includes a graphical user interface usable by a user to define an initial key frame, including one or more scene entities with one or more respective physics properties. The authoring environment generates a sequence of extrapolated frames from the initial key frame by using a physics simulation to extrapolate respective motion paths for scene entities in the key frame and configuring each frame in the generated sequence to depict each such scene entity at a successive location along its respective extrapolated motion path. The authoring environment may then produce a movie comprising the sequence of frames.