My job for this project consisted in analysis, design and development of a computer program for real-time visual and physical simulation of indoor curtains. The application, known as TSim-X, is a user-friendly real-time CAD which uses the GPU for visual rendering and physical simulation of indoor curtains.

Physical simulation was achieved by using the nVidia PhysX library, while the rendering engine was developed internally using OpenGL and GLSL shaders. A simple bloom shader was implemented to fake HDR and enhance appearance of background images. Thanks to some image processing techniques, the regions of maximum light are automatically extrapolated from any arbitrary background. Threshold levels are customizable anyway.

Later in the development the following technologies were implemented in the application: touchscreen support, RFID for interactive clothing application, multi-monitor rendering, saving and reloading of scenes using XML.

Said application reached the market after one year of development; in the following months, many updates were also released, both fixing bugs and adding new features.

Alongside the main development you can see in the above screenshots, a couple of other things were made but never saw a real implementation in the final product. As shown in the next screenshot, a cloth shader to better represent curtains was in the works. It  is an anisotropic BRDF lightning model implemented after the paper written by Matusik et al. in 2003. This shaders works even though got never integrated in TSim-X.

On the left you can see the shader simulating velvet; on the right you have satin.

For some more informations, you can go at the Company’s website (Hypersoft — sorry guys, Italian only)

%d bloggers like this: