|
|
Op 16-1-2024 om 17:51 schreef Bald Eagle:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>
>> 3) so it appears (to me) that the texture does not follow the object
>> rotation. Why this is is a mystery to me and it is the first time I
>> witness such behaviour indeed.
>
> I think it might be more of an issue of how the image_map is oriented with
> regard to the slope, (+90 vs -90 deg).
>
Yes, I guess you are right.
> I also don't think I have a complete pattern definition, since I was unsatisfied
> with how the slope controlled 100% pigment when perfectly aligned with an axis
> vs rgbt 1 when perpendicular to it.
>
> I would suggest looking at the method of creating a normal map by user "NPC"
> used in this thread:
>
https://news.povray.org/povray.binaries.images/thread/%3Cweb.5d978f0b44e99bc84eec112d0%40news.povray.org%3E/
>
> The key being:
> sine_wave frequency 0.5 phase -0.25
>
I need to plunge into this... it does not seem to improve /that/ much
(at least for the sine_wave option).
> which, indeed, when I add that frequency and phase correction in my WaveType
> macro, seems to get rid of what you might be seeing.
> (left: pigment applied before -90*y rotation, right: pigment applied after -90*y
> rotation)
>
> Try and experiment.
To date, what works best with your code, is using triangle_wave or
scallop_wave as WaveType, as those show least artefacts it seems on the
superellipsoid (see attachment: use of triangle_wave). Still, I have not
yet fully experimented your code in comparison with Sam's but I intend
to do so.
--
Thomas
Post a reply to this message
Attachments:
Download 'be_triplanar mapping.jpg' (250 KB)
Preview of image 'be_triplanar mapping.jpg'
|
|