GithubHelp home page GithubHelp logo

cuda-test-1d-textures's Introduction

cuda-test-1d-texture

Output:

=== Gray
fetch(x=0.000000) = 0.000000
fetch(x=0.050000) = 0.000000
fetch(x=0.100000) = 0.000000
fetch(x=0.150000) = 0.000000
fetch(x=0.200000) = 0.101562
fetch(x=0.250000) = 0.250000
fetch(x=0.300000) = 0.398438
fetch(x=0.350000) = 0.550781
fetch(x=0.400000) = 0.699219
fetch(x=0.450000) = 0.851562
fetch(x=0.500000) = 1.000000
fetch(x=0.550000) = 1.148438
fetch(x=0.600000) = 1.300781
fetch(x=0.650000) = 1.449219
fetch(x=0.700000) = 1.601562
fetch(x=0.750000) = 1.750000
fetch(x=0.800000) = 1.898438
fetch(x=0.850000) = 2.000000
fetch(x=0.900000) = 2.000000
fetch(x=0.950000) = 2.000000
end
=== RGBA
fetch(x=0.000000) = (r=0.000000, g=0.000000, b=0.000000, a=0.000000)
fetch(x=0.050000) = (r=0.000000, g=0.000000, b=0.000000, a=0.000000)
fetch(x=0.100000) = (r=0.000000, g=0.000000, b=0.000000, a=0.000000)
fetch(x=0.150000) = (r=0.000000, g=0.000000, b=0.000000, a=0.000000)
fetch(x=0.200000) = (r=0.101562, g=0.203125, b=0.304688, a=0.406250)
fetch(x=0.250000) = (r=0.250000, g=0.500000, b=0.750000, a=1.000000)
fetch(x=0.300000) = (r=0.398438, g=0.796875, b=1.195312, a=1.593750)
fetch(x=0.350000) = (r=0.550781, g=1.101562, b=1.652344, a=2.203125)
fetch(x=0.400000) = (r=0.699219, g=1.398438, b=2.097656, a=2.796875)
fetch(x=0.450000) = (r=0.851562, g=1.703125, b=2.554688, a=3.406250)
fetch(x=0.500000) = (r=1.000000, g=2.000000, b=3.000000, a=4.000000)
fetch(x=0.550000) = (r=1.148438, g=2.296875, b=3.445312, a=4.593750)
fetch(x=0.600000) = (r=1.300781, g=2.601562, b=3.902344, a=5.203125)
fetch(x=0.650000) = (r=1.449219, g=2.898438, b=4.347656, a=5.796875)
fetch(x=0.700000) = (r=1.601562, g=3.203125, b=4.804688, a=6.406250)
fetch(x=0.750000) = (r=1.750000, g=3.500000, b=5.250000, a=7.000000)
fetch(x=0.800000) = (r=1.898438, g=3.796875, b=5.695312, a=7.593750)
fetch(x=0.850000) = (r=2.000000, g=4.000000, b=6.000000, a=8.000000)
fetch(x=0.900000) = (r=2.000000, g=4.000000, b=6.000000, a=8.000000)
fetch(x=0.950000) = (r=2.000000, g=4.000000, b=6.000000, a=8.000000)
end

cuda-test-1d-textures's People

Contributors

eren121 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.