In order to reduce the amount of computation required for ray tracing and facilitate simulating of changes in workpiece shape even on an inexpensive, low-performance computer, a device for displaying a cutting simulation includes: a rendered workpiece image update section for updating by ray tracing a portion of a rendered workpiece image buffer and a rendered workpiece depth buffer, the portion being associated with a rendering region corresponding to a change in the shape of the workpiece; a rendered tool image creation section for rendering a tool image by ray tracing for the current tool rendering region; and an image transfer section for transferring a partial image of the previous tool rendering region and the current workpiece rendering region to be updated from the rendered workpiece image buffer to a display frame buffer as well as transferring the current tool rendering image to the display frame buffer.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A device for displaying a cutting simulation for representing a shape of a workpiece in a voxel model to simulate a change in the shape of the workpiece by a cutting operation, the device comprising: a rendered workpiece image update section for managing a rendered workpiece image buffer and a rendered workpiece depth buffer to hold image data and depth distance data of a projected image of the workpiece and updating by ray tracing a portion in the rendered workpiece image buffer and the rendered workpiece depth buffer, the portion being associated with a rendering region corresponding to a change in the shape of the workpiece, wherein the rendered workpiece image update section starts ray tracing at a location defined by a non-updated previous depth distance and coordinates of a ray-traced pixel by selecting a cell that includes the starting location point, such that ray tracing is started from a surface of the workpiece image which has been cut away and proceeds deeper in a direction of a line of sight by reselecting a cell adjacent to the cell being processed via an interface among 6 interfaces of the cell on which the cell intersects the ray in a deeper position.
2. A device for displaying a cutting simulation for representing a shape of a workpiece in a voxel model to simulate a change in the shape of the workpiece by a cutting operation, the device comprising: a rendered workpiece image update section for managing a rendered workpiece image buffer and a rendered workpiece depth buffer to hold image data and depth distance data of a projected image of the workpiece and updating by ray tracing a portion in the rendered workpiece image buffer and the rendered workpiece depth buffer, the portion being associated with a rendering region corresponding to a change in the shape of the workpiece; a rendered tool image creation section for creating a rendered tool image by ray tracing for a current tool rendering region with reference to the rendered workpiece image buffer and the rendered workpiece depth buffer updated by the rendered workpiece image update section; and an image transfer section for transferring a partial image of the previous tool rendering region and the current workpiece rendering region to be updated from the rendered workpiece image buffer to a display frame buffer as well as transferring a current rendered tool image to the display frame buffer, wherein the ray tracing for the rendered workpiece uses a previously determined depth distance, wherein the rendered workpiece image update section starts ray tracing at a location defined by a non-updated previous depth distance and coordinates of a ray-traced pixel by selecting a cell that includes the starting location point, such that ray tracing is started from a surface of the workpiece image which has been cut away and proceeds deeper in a direction of a line of sight by reselecting a cell adjacent to the cell being processed via an interface among 6 interfaces of the cell on which the cell intersects the ray in a deeper position.
3. The device for displaying a cutting simulation according to claim 2 , wherein the rendered workpiece image update section refreshes a region in which the tool was previously rendered and updates a region corresponding to a change in the shape of the workpiece, and the rendered tool image creation section updates the current tool rendering region.
4. A method for displaying a cutting simulation for representing a shape of a workpiece in a voxel model to simulate a change in the shape of the workpiece by a cutting operation, the method comprising: a rendered workpiece image update step of managing a rendered workpiece image buffer and a rendered workpiece depth buffer to hold image data and depth distance data of a projected image of the workpiece and updating by ray tracing a portion in the rendered workpiece image buffer and the rendered workpiece depth buffer, the portion being associated with a rendering region corresponding to a change in the shape of the workpiece; a rendered tool image creation step of creating a rendered tool image by ray tracing for a current tool rendering region with reference to the rendered workpiece image buffer and the rendered workpiece depth buffer updated in the rendered workpiece image update step; and an image transfer step of transferring a partial image of the previous tool rendering region and the current workpiece rendering region to be updated from the rendered workpiece image buffer to a display frame buffer as well as transferring a current rendered tool image to the display frame buffer, wherein the ray tracing for the rendered workpiece image updating step uses a previously determined depth distance, wherein the ray tracing for the rendered workpiece image starts ray tracing at a location defined by a non-updated previous depth distance and coordinates of a ray-traced pixel by selecting a cell that includes the starting location point, such that ray tracing is started from a surface of the workpiece image which has been cut away and proceeds deeper in a direction of a line of sight by reselecting a cell adjacent to the cell being processed via an interface among 6 interfaces of the cell on which the cell intersects the ray in a deeper position.
5. The method for displaying a cutting simulation according to claim 4 , wherein the rendered workpiece image update step includes starting ray tracing at a location defined by a non-updated previous depth distance and coordinates of a ray-traced pixel.
6. The method for displaying a cutting simulation according to claim 4 , wherein the rendered workpiece image update step includes refreshing a region in which the tool was previously rendered and updates a region corresponding to a change in the shape of the workpiece, and the rendered tool image creation step includes updating a current tool rendering region.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
May 25, 2009
October 14, 2014
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.