Sphere Field » tb sphereField 2 02


2 Responses to “tb sphereField 2 02”


  1. December 22, 2010 at 3:12 pm

    This sphere look is really nice, especially since the color values influence size (I think).

    • 2 toneburst
      December 22, 2010 at 3:38 pm

      Thanks!
      Yeah, the diameter is controlled by pixel brightness, using a basic average calculation. I should probably calculate luminosity properly using the dot-product method, but I’m not sure it’s worth it, to be honest. In this example, I’m also using OpenCL to create an array of color values, with a fallback method based on the much slower Image Pixel patch, should OpenCL not be supported. I’m making an assumption that if OpenCL isn’t available, the OCL Kernel will just fail to produce an array at it’s output, and I can test for an array/structure length of 0, and use that to activate the fallback method. Haven’t had a chance to test whether this assumption is correct, though.

      a|x


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s




Twitter

July 2020
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Links

Blog Stats

  • 493,214 hits