Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers

Not logged in
Log in | Help
 

Trigs in Space

From TechSlop

This is a bit of a technical oddity, but comes in handy. The basic idea behind it is that Lab colour space is 3d and is based on our eyeballs. So, various 3d things done in Lab should be conducive in the same manner. Sometimes it's true, but sometimes it's not. Hit-or-miss, no magic bullet, and all that.

P2 Sphere
This takes the P2 sliders and makes a sphere with the set point as the center. Range and Fall-Off sliders are in full effect.

P2-P1 Sphere
This takes both sets of points and creates a sphere between them with both points on the sphere. That is, the radius of the described sphere is half of the distance between P1 and P2. This means that the Range slider doesn't work, however the Fall-Off slider will.

Linear Gradient
This one creates a linear gradient in 3d space. Range and Fall-Off sliders have no effect.

P1 to P2 Line
This drills a hole, so to speak, between the two points. Along the lines of "grab these values, grab those values, and everything inbetween". Range and Fall-Off in full effect to dialate the hole.

Theta
This one starts with two vectors and gets the angle, or theta between them. Kind of hard to grasp, but it's really cool once you get the hang of it. One of the things about this is that bad things happen when theta=0. I've implemented a partial fix, but it's not complete. But, for the most part, it's still good. And, for the last time, Range and Theta sliders in full effect.

I use this filter quite a bit for making tricky masks. Because, well, it spits out greyscale based on 3d values. You know, greyscale... mask... yeah. And I'm quite pleased with it.

I don't exactly recommend jumping right in with some photographs. What I do recommend is starting with a document in Lab mode, laying down some gradients in the seperate Lab channels, then firing it up. If you do a linear gradient one way in one channel, another linear gradient in another channel, then fill the third channel with a flat value, how Trigs in Space works should become readily apparent.

Download

PC/Win
Filename: TS_trigsinspace.8bf
Filter > Tech Slop Lab > Trigs in Space
Supported Modes: Lab 8-bit
Version: beta 1
Download: TS_trigsinspace.rar (http://tech-slop.serveit.org/plugs/TS_trigsinspace.rar)

Connected

Retrieved from "http://tech-slop.serveit.org/wiki/index.php?title=Trigs_in_Space"

This page has been accessed 382 times. This page was last modified 13:18, 22 Jul 2008.


[Main Page]
Main Page
Recent changes
Random page
Current events

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports