Integration of the Python script language into computer-aided design and simulation applications is considered. By the example of the physically correct optical simulation application, an approach based on the unified entity interface for domain objects is proposed. In particular, a scheme is proposed to extend the application with new types of parametric objects by writing extension classes that are simple in structure. Special attention is paid to making API user-friendly and ensuring compliance with the object-oriented programming principles.
Stochastic ray tracing is used for rendering photorealistic images formed by augmented reality optical systems that combine the image generated by an optoelectronic device with the image of...
This paper presents an approach to 3D model reconstruction from point cloud data using modern neural network architectures. The method is based on PointNet++ and Transformer. PointNet++ plays a key role, providing efficient feature extraction and encoding of complex geometries in 3D scenes. This is achieved by recursively applying PointNet++ to nested partitions of the input point set in a metric space. Convex decomposition, which is an important step in the proposed approach, transforms complex 3D objects into sets of simpler convex shapes. This facilitates data processing and makes the reconstruction process more manageable. Then, Transformer trains the model on the extracted features, which enables the generation of high-quality reconstructions. It should be noted that Transformer is used only to determine positions of the walls and detect object boundaries. This combination of technologies allows us to achieve high accuracy of 3D model reconstruction. The main idea of the method is to segment the point cloud into small fragments, which are then reconstructed as polygon meshes. To restore missing points in point cloud data, a method based on the L1-median algorithm and local features of the point cloud is used. This approach can adapt to different geometric structures and correct topological connectivity errors. The proposed method is compared with several modern approaches, demonstrating its potential in various fields, including architecture, engineering, digitalization of cultural heritage, as well as augmented and mixed reality systems. This confirms its wide applicability and great perspectives for further development.
18 September 2011 in Programming and Computer Software
This paper analyzes color rendering problems arising in computer imaging of scenes with complex optical properties. The sources of these errors for imagery constructed on the basis of the RGB space are analyzed and an efficient and correct algorithm is proposed for spectral imagery. These solutions are applied to problems of direct stochastic and inverse deterministic ray tracing. In addition, complex scenes with mixed optical properties defined in different (including RGB) models are proposed to be treated by an efficient and correct algorithm for reducing all optical properties into a single spectral model.
One of the main problems of mixed reality devices is the lack of universal methods and algorithms for the visualization of virtual world objects in real space. The key point of natural perception of virtual objects in the real world is the creation of natural lighting conditions for virtual world objects by light sources located in the real world, i.e. the formation of natural glares on virtual objects and shadows cast by these objects in the real world. The paper proposes a method for adequately determining the position of the main light sources of the real world in mixed reality systems. Modern technologies that combine the capability of forming 2.5D images created by depth cameras and their subsequent computer processing using neural networks make it possible to identify real-world objects, recognize their shadows, and correctly restore the light sources that create these shadows. The results of the proposed method are presented, the accuracy of restoring the position of the light sources is estimated, and the visual difference between the image of the scene with the original light sources and the same scene with the restored parameters of the light sources is demonstrated.
This paper proposes using the Monte Carlo method to design optical systems with an indeterminate ray path. The main algorithms for direct stochastic ray tracing and programmed implementation of the given algorithms are considered. The work is illustrated with examples in which the scattered light is calculated in lens-based optical systems.