{'fraction_non_alphanumeric': 0.01909307875894988, 'fraction_numerical': 0.0007955449482895784, 'mean_word_length': 5.418367346938775, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Resolution Independent NURBS Curves Rendering using Programmable Graphics Pipeline

Non-Uniform Rational B-Splines (NURBS) are widely used, especially in the design and manufacturing industry, for their precision and ability to represent complex shapes. These properties come at the cost of being computationally expensive for rendering. Many methods have tackled NURBS rendering by view based approximations and/or heavy preprocessing. We present a method for resolution independent rendering of curves and shapes, defined by NURBS, by utilizing the high parallelism of the programmable graphics hardware. The computation of the curve is processed directly on the GPU, without the need for complex preprocessing and/or additional storage of the basis functions as textures. Our method enables rendering of a complex NURBS shape in precise form, by defining only the curve’s hull. We also present a method to enhance the performance of the preprocessing stage, mainly triangulation, that fits our requirements and speeds up the process. With optimized preprocessing and using only the mobile profile of the programmable graphics pipeline, we achieve a fast and resolution independent method for rendering NURBS based 2D shapes on desktop and mobile devices.