Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Re: Projecting 3D to 2D with toComp()

Cow Forums : Adobe After Effects Expressions
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: Projecting 3D to 2D with toComp()
by Darby Edelen on Sep 1, 2009 at 9:29:18 pm

[Dan Ebberts] "This expression calculates a positon on a plane 100 pixels (planeZ) in front of the camera that's on the line formed by Layer 1 and Layer 2."

Thanks for your help Dan!

This is similar to some code I found online for finding the intersection of a line and a plane. The problem I keep having, though, is transforming the position that I get from this function into composition space. I can't figure out what coordinate system the result of the last line is in:

A + t*(B-A)

The closest I can come to an accurate result is to transform this point from the layer space of the clipped layer into composition space, but it still seems to be a bit off. Any hints? :)

Thanks so much for taking me this far!

Darby Edelen


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Please post Expressions Code in the box below:


Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]