|
|
I have an Image that I rendered for the last IRTC and have now adapted for
the local Bike Club Tee Shirt. I want to place a Script logo over the image
so that it looks like a floating banner. I have a height field for the
script that looks just right (like fingernail polish) and I map the image on
a plane then put the script HF in front of that (see SCFW in p.b.i)(soon)
but that makes the script flat. I thought of putting the shuttle image on
the inside of a cylinder then using an unusual camera to make that seem flat
and the script bulge, but I really want undulation, not bulge.
I hope I have described this well, any suggestions?
Post a reply to this message
|
|
|
|
Bill DeWitt wrote:
>
> I have an Image that I rendered for the last IRTC and have now adapted for
> the local Bike Club Tee Shirt. I want to place a Script logo over the image
> so that it looks like a floating banner. I have a height field for the
> script that looks just right (like fingernail polish) and I map the image on
> a plane then put the script HF in front of that (see SCFW in p.b.i)(soon)
> but that makes the script flat. I thought of putting the shuttle image on
> the inside of a cylinder then using an unusual camera to make that seem flat
> and the script bulge, but I really want undulation, not bulge.
>
> I hope I have described this well, any suggestions?
You take a look at the sine wave surfer a texture making utility at:
http://webclub.solutions.fi/~xtmb/sws/index.htm
There is a waving flag animation in one of the groups here I might be able
to locate for you if you want me to track it down.
Here are a few examples of sine wave shapes you might be able to adapt to
your needs.
// Sine wave shape example
#declare Amplitude=1;
#declare Cycles=3;
#declare StartAngle=pi*3/2;
#declare WaveStartX=-5;
#declare WaveWidth=10;
#declare ItemAmnt=100;
#declare Item=sphere { 0,.1 pigment { rgb <1,0,0> } finish { specular .5 } }
#declare Index=0;
#while(Index<ItemAmnt)
#declare Angle=StartAngle+2*pi*Cycles*Index/ItemAmnt;
#declare PosX=WaveStartX+WaveWidth*Index/ItemAmnt;
#declare PosY=Amplitude*sin(Angle);
object { Item translate <PosX,PosY,0> }
#declare Index=Index+1;
#end
// Sine wave shape example
#declare i=0;
#while (i<90)
sphere {0,1 pigment {rgb <1,0,0>}finish {ambient 1.0}
translate <i,10*sin(i*pi/30),0>}
#declare i = i + 1;
#end
// Sine wave shape with face rotation added
#declare i=0;
#while (i<90)
#declare angle1 = i*pi/30;
box {<-0.5,-0.5,-0.5>,<0.5,0.5,0.5>
pigment {rgb <1,0,0>}
finish{ambient 1.0}
rotate <0,0,-45*sin(angle1)>
translate <i,10*sin(angle1+pi/2),0>}
#declare i = i + 1;
#end;
Good luck,
--
Ken Tyler
mailto://tylereng@pacbell.net
http://home.pacbell.net/tylereng/links.htm
Post a reply to this message
|
|