Jump to content

LookAt constraint for trees in max?


ShaunDon
 Share

Recommended Posts

Hey guys --

 

I've got a quick question... I'm trying to simplify some RPCs into planes with a LookAt constraint to keep them facing the camera, but I can't figure out how to constrain their orientation such that they only rotate on the Z-axis. Otherwise it keeps the full face perpendicular to the camera and pulls the trees out of the ground.

 

Anyone have any ideas? I'm in max 4.2 if it makes a difference. Thanks!

 

Shaun

Link to comment
Share on other sites

I am not 100% clear as to what you are trying to do.

 

RPCs are made to look 'full' from all directions, not just the two planes that are represented in the viewport. This would mean that they will always look 'full', no matter what the angle. That's the advantage of RPCs.

 

If you are trying to keep them on the ground, well, that's another issue. There are plugins that will allow you to 'drop' objects onto a surface, like trees and fences.

Link to comment
Share on other sites

Sorry about that. What I'm doing is populating the middleground of an animation with RPC trees -- outside the loop of the camera path, but ahead of the tree wall.

 

Problem is I have over 200 of them, and it takes a while to load all the RPCs even when culled down to simple billboards. I'm trying to save time and only using full RPCs in the building's landscaping. So I've made a plane and applied an RPC texture (just a TIF I made in Photoshop from the RPC file) and I just want to constrain that plane so that it always faces the camera. I don't care that I'm only using one image for the tree because these are peripheral background fillers, no one's going to notice that they're not rotating.

 

But the lookat constraint by default wants to make the entire face of the simplified RPC tree look at the camera, rather than just rotate it on the Z. I've only done this sort of thing in Maya while I was in school, I don't really know how to get it to work in Max.

 

Thanks guys.

 

Shaun

Link to comment
Share on other sites

I had the same problem a while back.

 

I made a dummy object and with expressions made the Xposition of the dummy object equal the Xposition of the camera, same for the Yposition, but left the Z value 'height' alone. Instead of having the trees (planes) look at the camera, have them look at this dummy object. Move the dummy object accordingly in height so that the trees aren't looking down or up.

 

I hope this helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...