Brian,
Thanks for thinking about my problem!
I was referring to a path integral over a scalar field https://en.wikipedia.org/wiki/Line_integral
As I understand your outline, you're suggesting:
1. densely array points on curve
2. iterate over pixels that coincide with points on curve
3. keep only those points where lumTotal resets
There a few things I don't know how to do to make this method work:
How would I access image data of an image that is loaded into the the 3D scene? I need it to be loaded there so that I can draw the lines in the right places. In other words, I need to draw the curves manually based on the image.
Registering point coordinates and pixels, as you said. Which of Wayne's scripts do you mean?
But maybe before going into details, can you think of another way of spacing out points along a curve so the the distance between each pair of points is roughly proportional to the local luminance of an underlying image? Maybe there's a straighter path that I'm not thinking of.
|