INTERACT FORUM
Windows => Plug-in Development => Topic started by: cncb on September 15, 2004, 01:36:43 pm
-
Is there any way to add an item/control that can be used within Visualization Studio? In particular, I was thinking scrolling text would be a useful item to add.
-
I'm not sure I understood the q, so this may be missing the point. The text element in visi studio will do scrolling text, Barratts visis play with text a lot. Just put the necessary math expression in the location equation.
Maybe thats not what you meant though.
Tab
-
Is there doco somewhere on the math expressions?
I can't find any documentation of how to set the various settings in vis studio to control images ad text etc.
I guess I just don't know where to look!
R
-
no, theres none.
Tab
-
Thanks for the suggestion. I needed "in-place" text scrolling which may be possible with math expressions but it sure would be nice to have some documentation of this stuff...
-
Hi again
I dont come here that often. Cant find my scrolling text stuff... too many visis!
The default text location equation looks something like:
x1=0;y1=.4;x2=1;y2=.6
where x1,x2,y1,y2 control the outer boundaries of the text area.
All you need do is add some maths so those numbers steadily change. Eg y2=t;t=t+.01 or similar
Maybe later add maths to deal with limits to keep it on screen.
Check out barrett-word-text2.mjv for a demo.
Note x1,x2,y1,y2 are interdependant with other variables eg font size, so change everything just a little at a time, else its liable to go off screen leaving you with no info where its gone. Theres no error report, trace, or variable print.
Tab