POV-Ray : Newsgroups : povray.general : object moving through a texture_map Server Time
17 Nov 2024 11:10:50 EST (-0500)
  object moving through a texture_map (Message 1 to 2 of 2)  
From: Jared
Subject: object moving through a texture_map
Date: 27 Mar 2003 19:30:05
Message: <web.3e839685ab31b60f274118ec0@news.povray.org>
I have an object called SpherePattern moving through space in my animation.
As it passes through the texture_map, each part of the object changes its
texture to match the texture at that point in space. I want to apply a
normal to the ENTIRE texture field uniformly. I have labeled two possible
places so far where I have tried to place my normal arguments. At position
A, where I tried it first, the normals would start over for each texture,
so the object would hit different normal patterns as they moved from one
texture to another. It was an effect I don't want to have there. It looks
sort of like there are multiple objects at the same space using two
different normal patterns. I want the object to change color, but not
switch to a different normal everytime it hits a new texture. At position
B, which I *thought* would apply one normal to the WHOLE texture map,
POVRay rejects the notation I use because I think it wants to see the
normal arguments right after each individual texture. What can I do to
apply ONE CONTINUOUS normal field to the WHOLE texture map?

the applicable part of the file is pasted below:


object {SpherePattern texture{gradient<1,0,0> scale 200 texture_map{
0.75 scale 0.1}
            ]
0.75 scale 0.1}
            ]
                  finish {ambient 0.8 diffuse 0.55 phong 0.3}    //POSITION
A  normal { bumps 0.75 scale 0.1}
            ]
bumps 0.75 scale 0.1}
            ]
bumps 0.75 scale 0.1}
            ]
                  }    //end texture map
                   //POSITION B  normal { bumps 0.75 scale 0.1}
                  }    //end texture
                  }    //end object


Post a reply to this message

From: Hughes, B 
Subject: Re: object moving through a texture_map
Date: 27 Mar 2003 20:33:15
Message: <3e83a65b@news.povray.org>
See my reply at p.a. group. Summed up, looks like multiple normals within
the texture map are okay in POV 3.5, so I don't know why you aren't getting
the result you tried for.

BTW, multiposting isn't the accepted way to ask in two different groups,
crossposting is though (within reason); that way the message is read only
once. Maybe you knew that and skipped doing so this time... anyway the
guideline can be found at
news.povray.org/3889782D.B530971F@pacbell.net

Bob H.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.