Texture Interpolation

Information

  • Patent Application
  • 20230298248
  • Publication Number
    20230298248
  • Date Filed
    August 02, 2021
    4 years ago
  • Date Published
    September 21, 2023
    2 years ago
Abstract
Disclosed herein is a method for generating a digital representation of coatings on car parts. The method provides improved texture blending for the rendering of car paint sparkle. Further disclosed herein is a respective computer system.
Description
Claims
  • 1. A method for generating a digital representation of a car part coated with a paint comprising effect pigments, the method comprising: using a bi-directional texture function (BTF) of the paint to simulate the appearance of the paint on a 3D object using rendering software,wherein the BTF comprises a plurality of texture images representing the sparkling of the paint’s effect pigments for different viewing and illumination directions, and,wherein a smoothstep function S1x=S1x+x∗,tn,w=S1x∗−tn+w2win an interval with width w around a random transition point tn is used to interpolate pixel intensities at the local coordinate x* between the plurality of texture images.
  • 2. The method of claim 1, wherein the transition point tn is randomly chosen in the interval [w/2, 1 - w/2] once for every pixel in the texture image.
  • 3. The method of claim 1, wherein the smoothstep function takes the form S1x=0x≤03x2−2x30<x<111≤xS1x,y=S1x⋅S1y..
  • 4. The method of claim 3, wherein the interpolated pixel intensity is calculated according to Iθi+,θh+,x=S1θi+S1θh+I00x+S1θi+S11−θh+I01+S11−θi+S1θh+I10x+S11−θi+S11−θh+I11xwhereinIθi+,θh+,xis the interpolated intensity of a pixel with local coordinatesθi+, θh+, x;S1θn+is the value of the smoothstep function at local coordinateθn+;Iab(x) is the value of the pixel intensity of neighboring texture image ab at pixel location x.
  • 5. The method of claim 1, wherein the texture images are sRGB texture images.
  • 6. The method of claim 1, wherein the BTF has been generated by a method comprising at least the following steps: measuring an initial BTF for the paint using a camera-based measurement device,capturing spectral reflectance data for the paint for a pre-given number of different measurement geometries using a spectrophotometer, andadapting the initial BTF to the captured spectral reflectance data, thus gaining an optimized BTF.
  • 7. The method of claim 6, wherein the camera-based measurement device creates a plurality of images of the object at different viewing angles, at different illumination angles, for different illumination colors and/or for different exposure times, thus providing a plurality of measurement data considering a plurality of combinations of illumination angle, viewing angle, illumination color and/or exposure time.
  • 8. The method of claim 7, wherein the images with different illumination color and different exposure time, but with equal illumination angle and viewing angle are combined to images with high dynamic range, respectively.
  • 9. The method of claim 6, wherein the initial BTF is segmented into two main terms, a first term being a homogeneous bi-directional reflectance distribution function (BRDF) which describes reflectance properties of the object depending only on the measurement geometry and the second term being a texture function which accounts for a spatially varying appearance of the object.
  • 10. A computer system comprising: a computer unit;a computer readable program with program code stored in a non-transitory computer-readable storage medium, the program code causing the computer unit, when the program is executed on the computer unit,to use a bi-directional texture function (BTF) of a paint comprising effect pigments to generate a representation of an object coated with the paint which accurately reproduces the visual appearance of the object at a given viewing and illumination direction of the object,the representation generated using a 3D render engine which interpolates a texture image at the given viewing and illumination direction from texture images present in the BTF representing neighboring viewing and illumination directions using a smoothstep function S1x=S1x+x∗,tn,w=S1x∗−tn+w2win an interval with width w around a random transition point tn at the local coordinate x*.
  • 11. The computer system of claim 10, wherein the render engine is a real-time render engine.
  • 12. The computer system of claim 10, further comprising a shader for the render engine.
  • 13. The computer system of claim 12, wherein the shader comprises a fragment shader and a vertex shader.
  • 14. The computer system of claim 12, further comprising an importer for the shader.
  • 15. The computer system of claim 14, wherein the importer is configured to read the BTF from a file and translate the parameters of the BTF to the parameters of a texture function used by the shader.
Priority Claims (1)
Number Date Country Kind
20189719 Aug 2020 EP regional
PCT Information
Filing Document Filing Date Country Kind
PCT/EP2021/071597 8/2/2021 WO