INTERACT FORUM
Windows => Plug-in Development => Topic started by: rpalmer68 on May 31, 2005, 03:30:33 am
-
I'd like to try to create a visualization that fits in the 1/2 screen in Theater View.
So far I have created one that has my cover art, album info and a spectrum analyser, but I'm having trouble sizing the cover art and getting text to scroll (if this is possible) and not sit over the cover art if it's too long.
Is there some documentation somewhere on the various parameters/settings available when using Visual Studio and adding text/images etc.?
Many thanks
Richard
-
OK no reply,
Maybe I need to be more specific.
Can somebody please explain the following?
For an image:
<MainRectangle>0,0,0.5,1</MainRectangle>
<ImageChangeEquation></ImageChangeEquation>
For Text:
<TextLocationEquation>x1=0;y1=.47;x2=.98;y2=.7</TextLocationEquation>
And is there a way to make the text scroll?
Thanks
Richard
-
There is no J River documentation for the visi studio. The only docu I know of is the colour tutorial on
http://tabby.i8.com/
The image is placed in a rectangle with coordinates x,y,x,y eg 0,0,1,1. So for eg half height you'd use 0,.5,1,1 or 0,0,1,.5.
The image component x,y,x,y, field does not accept equations. Making images move dynamically is complex.
Text: you can make it scroll using maths in the field you mentioned.
Try something along the lines of y2=sin(t);t=t+.02
with the usual x1,x2,y1.
You'll soon find there are issues to work through. Always the way with programming.
Tab
-
Thanks Tab but now I feel like a complete idiot.
I just don't "get" the x,y,x,y layout.
Can you please explain to the dummy (me) how x,y,x,y works in terms of a rectangle?
If 0,0,1,1 is a full rectangle? How do they relate to "top left" "bottom Left", "top right", "Bottom right" corners of rectangle. Or am I completely off the mark?
Cheers
Richard
-
I believe they are coordinate pairs corresponding to the upper left and bottom right points of the rectangle. For example, (0,0,.5,.5) would be a rectangle that is the upper left quadrant of the full screen (or parent rectangle) and (.5,.5,1,1) would be the lower right quadrant, etc.
-
For images, the image is placed within the rectangle xleft,ybottom, xright, ytop. Numbers are all 0 to 1. So for a tiny image in the centre you'd use something like .4,.4,.6,.6. Full screen is 0,0,1,1.
Same thing cncb said, just another way of visualising it.
You cant put maths in that field to move the image about. Dynamic image movement can be done with a fixed image followed by a dynamic transform/supertransform.
Text similar, but a bit different in that
a) you can put maths expressions in there to move it around
b) its not a 0-1 0-1 thing, and is easy to lose off screen. Just tweak the numbers a bit at a time to avoid this.
Tab
-
What I've been doing since I don't have all the stats memorized yet, is opening a vis that has similar text/image to what I want, then I copy/past the size and or location code and tweak it to my liking.
Much easier than starting from scratch :D
-
I like to do that too, but trying to find the one I want among 3000 of them is a hopeless task sometimes.
Tab