Skip to main content
andrewdraws
Inspiring
September 7, 2021
Question

Lines going back in 3D, but the stroke stays the same?

  • September 7, 2021
  • 2 replies
  • 416 views

Hello! I'm sure this is easy, but I can't figure it out. I just want the vertical lines (on the sides of the race track. See attached)) to "go back" in 3d space ... But, I want the stroke widths to staty the same.  I thought I could do it with the Repeater, but no luck so far.  Any ideas?

 

 

This topic has been closed for replies.

2 replies

Mylenium
Legend
September 8, 2021

With thin lines such as yours you're going to run into all kinds of trouble, no matter what the method, but yes, as Andrew suggested, using AE's native 3D capabilities, limited as they may be, would likely be a better way to go about this. Otherwise you'll have to do it the old, hard way and animate the parallax scrolling by hand or using expressions on individual layers.

 

Mylenium

andrewdraws
Inspiring
September 8, 2021

Thanks Andrew and Mylenium!

The thing is, I was trying to keep the stroke widths consistent as they go back in space. It fits the style of the illustration.

I managed a workaround by scaling down one line and using an expression to keep the stroke width consistent (and then repeating it) . Here's the rough result.

 

Andrew Yoole
Inspiring
September 8, 2021

You can use the Taper function on stroked paths to simulate an object receding into the distance.

 

 

But, depending on what you're trying to achieve, it might make a lot more sense to build your environment in 3D, rather than simulate it.  Here's two straight stroked paths, rotated in 3D so that they naturally recede into the distance.  Working in real 3D space will give you much more opportunity to interact with other elements in 3D space, plus the ability to light, add depth of field etc.

 

andrewdraws
Inspiring
September 8, 2021

Thanks Andrew!