|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi!
I'm trying to make an animatied text overlay ontop of an image. Looking
through the helpfile I find lots of backgroud properties to play around
with, like a solid or gradiant background color, but nothing about static
images.
Is it possible to add a static image to the background as it is with for
example 3D Studio Max, where it is very simple to do so?
TIA,
Espen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
web.45ab8a50eadb310ca24f7610@news.povray.org...
> Hi!
>
>
> Is it possible to add a static image to the background as it is with for
> example 3D Studio Max, where it is very simple to do so?
>
Have a look at screen.inc it is in the standard includes
http://www.povray.org/documentation/view/3.6.1/495/
Marc
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Espen nous apporta ses lumieres en ce 15-01-2007 09:06:
> Hi!
>
> I'm trying to make an animatied text overlay ontop of an image. Looking
> through the helpfile I find lots of backgroud properties to play around
> with, like a solid or gradiant background color, but nothing about static
> images.
>
> Is it possible to add a static image to the background as it is with for
> example 3D Studio Max, where it is very simple to do so?
>
> TIA,
> Espen
>
>
As your case is prety simple, this is a simple solution:
Add a large box behind your animated text. Use an image_map as the texture.
Translate the image by -0.5 to have it centered, then scale it to fit. Give it a
finish{ambient 1 diffuse 0} so that it don't interact with the light and don't
show shadows.
DONE!
--
Alain
-------------------------------------------------
Fundamentalism: If shit happens, you will go to hell, unless you are born again.
(Amen!)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Alain" <ele### [at] netscapenet> wrote in message
news:45ac0599@news.povray.org...
.
> DONE!
Heh, I like your style Alain... :o)
~Steve~
>
> --
> Alain
> -------------------------------------------------
> Fundamentalism: If shit happens, you will go to hell, unless you are born
> again. (Amen!)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"St." <dot### [at] dotcom> wrote:
> "Alain" <ele### [at] netscapenet> wrote in message
> news:45ac0599@news.povray.org...
> .
> > DONE!
>
> Heh, I like your style Alain... :o)
>
> ~Steve~
>
>
> >
> > --
> > Alain
> > -------------------------------------------------
> > Fundamentalism: If shit happens, you will go to hell, unless you are born
> > again. (Amen!)
Thanx guys! Below is the code for reference.
, Espen
plane { < 0, 0, -1 >, -15
texture {
pigment { image_map { tga "background.tga" } }
finish { ambient 1 diffuse 0 }
translate < -0.5, -0.5 > scale < 20, 20 >
}
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Espen nous apporta ses lumieres en ce 16-01-2007 06:07:
> "St." <dot### [at] dotcom> wrote:
>> "Alain" <ele### [at] netscapenet> wrote in message
>> news:45ac0599@news.povray.org...
>> .
>>> DONE!
>> Heh, I like your style Alain... :o)
>> ~Steve~
>>> --
>>> Alain
>>> -------------------------------------------------
>>> Fundamentalism: If shit happens, you will go to hell, unless you are born
>>> again. (Amen!)
> Thanx guys! Below is the code for reference.
> , Espen
> plane { < 0, 0, -1 >, -15
> texture {
> pigment { image_map { tga "background.tga" } }
> finish { ambient 1 diffuse 0 }
> translate < -0.5, -0.5 > scale < 20, 20 >
> }
> }
Before scaling, the image_map cover an area of 1 unit by 1 unit. So, if the
original image is not square, you need to scale it to the proper aspect ratio.
Your plane is as good as the box I mentioned.
As it is now, the image will be tilled over the plane. If it's incoveniant or
you don't want the tilling, you need to add the "once" keyword.
--
Alain
-------------------------------------------------
I believe that banking institutions are more dangerous to our liberties than
standing armies. Already they have raised up a monied aristocracy that has
set the government at defiance. The issuing power should be taken from the
banks and restored to the people to whom it properly belongs.
Thomas Jefferson
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Alain wrote:
> Your plane is as good as the box I mentioned.
> As it is now, the image will be tilled over the plane. If it's
And both are as bad if the camera is moving even a bit.
--
Eero "Aero" Ahonen
http://www.zbxt.net
aer### [at] removethiszbxtnetinvalid
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>> Thanx guys! Below is the code for reference.
>
>> , Espen
>
>> plane { < 0, 0, -1 >, -15
>> texture {
// If I'm not mistaken, you put the 'once' after... { tga
"background.tga" once}
>> pigment { image_map { tga "background.tga" *once*} }
>> finish { ambient 1 diffuse 0 }
>> translate < -0.5, -0.5 > scale < 20, 20 >
>> }
>> }
~Steve~
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |