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).
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
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.
Still needs improving, in my opinion - sumthin' still ain't right.
- BW
Post a reply to this message
Attachments:
Download 'tpmapping.png' (346 KB)
Preview of image 'tpmapping.png'
|