[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
RabidHaMsTeR.Org • View topic - Video overlay, Size change?

Video overlay, Size change?

How to create a custom scene, and custom scenes people have created.

Moderators: rabidhamster, Rovastar

Video overlay, Size change?

Postby Halo » Tue Nov 22, 2005 7:09 am

Halo
 
Posts: 35
Joined: Mon Nov 21, 2005 9:28 am

Postby rabidhamster » Mon Dec 05, 2005 5:27 pm

It should just be a matter of changing some numbers. I don't have the code handy i'm afraid.
There should be a 'gltranslate' somewhere. Changing the 3rd argument should move the window away, and changing 1st and 2nd should shift it around.
rabidhamster
Site Admin
 
Posts: 1100
Joined: Fri Mar 21, 2003 12:31 pm
Location: Cambridge, England

Postby Halo » Mon Dec 19, 2005 1:00 pm

Yes there is, but theres two of them? they both look like this:

glb.gltranslate(0,0,-4+((sin(time*1.32)+cos(time*1.54))*0.2));

It all looks like a another language to me (Well it is!) , what bits do I chamge, and of what instance of this line?
Halo
 
Posts: 35
Joined: Mon Nov 21, 2005 9:28 am

Postby SpOOnmAn » Mon Dec 19, 2005 3:11 pm

ok, the syntax is glb.gltranslate(x,y,z)

in this case the value for z is calculated in a curve and x and y are constant 0. if u want to move it change x and y in an area fom -1 to 1 (-1,-1 =left upper corner, 1,1 =right lower corner)...
i was looking back to see,
if you were looking back at me,
to see me looking back at you
SpOOnmAn
 
Posts: 381
Joined: Thu Feb 17, 2005 8:40 am
Location: Vienna, Austria

Postby Halo » Mon Dec 19, 2005 3:49 pm

Do I change the first one, or the second one or both, and how do I change the size of the video window to make it smaller?
Halo
 
Posts: 35
Joined: Mon Nov 21, 2005 9:28 am

Postby Rovastar » Tue Dec 20, 2005 12:56 pm

glb.gltranslate(0,0,-4+((sin(time*1.32)+cos(time*1.54))*0.2));

Change the -4 to different values like -2 and -6 and see what happens ;)

glb.gltranslate(0,0,-2+((sin(time*1.32)+cos(time*1.54))*0.2));

glb.gltranslate(0,0,-6+((sin(time*1.32)+cos(time*1.54))*0.2));
Rovastar
 
Posts: 423
Joined: Mon May 19, 2003 3:15 am
Location: Derby & London, England

Postby Halo » Fri Dec 23, 2005 10:58 am

Halo
 
Posts: 35
Joined: Mon Nov 21, 2005 9:28 am

Postby SpOOnmAn » Wed Mar 08, 2006 2:18 pm

if u use remoter ucan easily change the size and the possition on the fly with just a little change of the code... ;-)
i was looking back to see,
if you were looking back at me,
to see me looking back at you
SpOOnmAn
 
Posts: 381
Joined: Thu Feb 17, 2005 8:40 am
Location: Vienna, Austria


Return to R4 Custom Scenes

Who is online

Users browsing this forum: No registered users and 8 guests

cron