摘要:
A system creates a first set of objects in a first structure that describe a graphical scene. A second set of objects is created in a second structure based on the first set of objects in the first structure. The system also performs one or more of the following: i) converting coordinate values in a first coordinate system to coordinate values in a second coordinate system, ii) converting color values in a first color space to color values in a second color space, and/or iii) converting data having first data types or formats to data having second data types or formats, where the first data types or formats are different than the second data types or formats. The system further associates the converted coordinate values, color values and/or data types or formats with the second set of objects and enables a graphical processing unit to use the second set of objects for rendering the graphical scene.
摘要:
A system stores a first object tree that describes a graphical scene in memory and creates a second object tree based on the first object tree, where the second object tree is optimized for use by a graphics processing unit (GPU) to render a graphical scene. The system receives indications of one or more changes associated with the first object tree and traverses the first object tree to make the one or more changes to the first object tree and to generate a composite command for use in making corresponding changes in the second object tree. The system executes the composite command to make the corresponding changes in the second object tree.
摘要:
A system may include a processor and memory that stores instructions to cause the processor to create a first set of objects in a first structure based on first data, where the first set of objects describes a graphical scene specified by the first data. The processor may add a command for at least one object, of the first set of objects, to a composite command that includes commands for the graphical scene and create a second set of objects in a second structure based on the first set of objects in the first structure and the composite command. The processor may receive second data, change one or more objects of the first set of objects based on the second data, and change one or more objects of the second set of objects based on the changes to the one or more objects of the first set of objects. The processor may further provide the changed second set of objects to a browser for rendering a new graphical scene.
摘要:
A system includes a memory, a specialized processing unit and a processor. The processor receives data from a user and creates a first set of objects in a first structure based on the data. The system further creates, contemporaneously with the creation of the first set of objects and based on the first set of objects in the first structure, a second set of objects in a second structure, where the second set of objects is optimized for use by the specialized processing unit, and stores the first and second sets of objects in the memory. The specialized processing unit executes an algorithm based on the second set of objects.
摘要:
A system creates a first set of objects in a first structure that describe a graphical scene. A second set of objects is created in a second structure based on the first set of objects in the first structure. The system also performs one or more of the following: i) converting coordinate values in a first coordinate system to coordinate values in a second coordinate system, ii) converting color values in a first color space to color values in a second color space, and/or iii) converting data having first data types or formats to data having second data types or formats, where the first data types or formats are different than the second data types or formats. The system further associates the converted coordinate values, color values and/or data types or formats with the second set of objects and enables a graphical processing unit to use the second set of objects for rendering the graphical scene.
摘要:
A method implemented by one or more computers may include receiving data for graphical rendering and distributing a first portion of the data to a first computation process. The method may further include distributing a second portion of the data to a second computation process, where the second computation process is different than the first computation process, creating a first object subtree via the first computation process based on the first portion of the data, and creating a second object subtree via the second computation process based on the second portion of the data. The method may further also include assembling an object tree via a third computation process based on the first object subtree and the second object subtree and rendering a graphical scene based on the assembled object tree.