Jump to content


Simple Expressions Pixel Aspect Ratio


  • Please log in to reply
7 replies to this topic

#1 bfloch

bfloch

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 939 posts

Posted 01 June 2010 - 05:32 AM

Is there a way to get the Aspect Ratio of a tool with a simple or normal expression?
I want a texttool to use the same size as an input.

#2 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1445 posts

Posted 01 June 2010 - 06:05 AM

You can use such an expression applied to Text.PixelAspect:
Point(<Tool>.XScale, <Tool>.YScale)

#3 bfloch

bfloch

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 939 posts

Posted 01 June 2010 - 06:47 AM

Thank you very much Gringo!

Actually I had to use the Input but anyhow it worked.
Point(<tool>.Input.XScale, <tool>.Input.YScale)

How did you find this out? Is there some kind of reference besides the one on VFXPedia?

#4 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1445 posts

Posted 01 June 2010 - 07:03 AM

Ah, yes, "Input" or "Output" should have been there, sorry :)
Try entering Help "Image" in the Console or see here: http://vfxpedia.com/...n/Classes/Image

#5 bfloch

bfloch

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 939 posts

Posted 01 June 2010 - 08:41 AM

Cool! This should be added to:
http://vfxpedia.com/...ple_Expressions
eyeon readers ;)

#6 Tilt

Tilt

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 1996 posts

Posted 01 June 2010 - 09:05 AM

View Postbfloch, on 01 June 2010 - 08:41 AM, said:

Cool! This should be added to:
http://vfxpedia.com/...ple_Expressions
eyeon readers ;)

everyone can add to vfxpedia. like so:
http://vfxpedia.com/...ratio_of_a_tool

Edited by Tilt, 01 June 2010 - 09:07 AM.


#7 bfloch

bfloch

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 939 posts

Posted 01 June 2010 - 03:23 PM

I see Stefan.

Would be nice if we could add suggestions to existing pages. Makes not sense to have multiple sites for Simple Expressions, nah?
I mean if I helped eyeon if we create something like Simple_Expressions_Tips I would consider it.

Maybe a little guideline on how and what to add to vfxpedia was handy?! I just don't want to overdo it and reduce the quality of the resource.
Any thoughts?

#8 Tilt

Tilt

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 1996 posts

Posted 02 June 2010 - 02:30 AM

View Postbfloch, on 01 June 2010 - 03:23 PM, said:

I see Stefan.

Would be nice if we could add suggestions to existing pages. Makes not sense to have multiple sites for Simple Expressions, nah?
I mean if I helped eyeon if we create something like Simple_Expressions_Tips I would consider it.

Maybe a little guideline on how and what to add to vfxpedia was handy?! I just don't want to overdo it and reduce the quality of the resource.
Any thoughts?

well, there's a discussion page for every wiki page. you can use it to brainstorm or suggest things. There's a lot of hidden information in this forum (Gringo made a seperate topic just to link to these gems) that should also reside on vfxpedia in my opinion.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users