INTERACT FORUM

Windows => Plug-in Development => Topic started by: rpalmer68 on May 31, 2005, 03:30:33 am

Title: Vis Studio Doco
Post 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
Title: Re: Visual Studio Doco
Post by: rpalmer68 on June 02, 2005, 07:45:43 am
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
Title: Re: Vis Studio Doco
Post by: Tab on June 13, 2005, 08:34:41 pm
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
Title: Re: Vis Studio Doco
Post by: rpalmer68 on June 17, 2005, 03:40:12 am
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

Title: Re: Vis Studio Doco
Post by: cncb on June 21, 2005, 11:21:47 am
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.
Title: Re: Vis Studio Doco
Post by: Tab on August 10, 2005, 08:21:25 pm
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
Title: Re: Vis Studio Doco
Post by: J-Mann on September 10, 2005, 07:11:03 pm
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
Title: Re: Vis Studio Doco
Post by: Tab on December 26, 2005, 08:02:21 am
I like to do that too, but trying to find the one I want among 3000 of them is a hopeless task sometimes.

Tab