|
|
On 11/21/2016 4:33 PM, Mike Horvath wrote:
> On 11/21/2016 4:23 PM, clipka wrote:
>>
>> So if I understand you correctly, the shape you want is exactly the
>> volume for which R, G and B are all within the range from 0 to 1.
>>
>
> Yes, exactly!
>
>
>> That sounds like a job for an isosurface to me.
>>
>> Variant A: Create six isosurfaces, each representing one of the
>> boundaries (R<0, G<0, B<0, R>1, G>1, B>1), and intersect them.
>>
>> Variant B: Refactor the functions from variant A, so that they have the
>> same threshold, combine them using max() or min() to achieve the
>> intersection effect, and turn that into a single isosurface.
>>
>
> I don't know how to do either variant. :(
>
> Mike
Forgot to add that I want to use polar coordinates (if that makes a
difference).
Mike
Post a reply to this message
|
|