Same size text

Same size text

damon
Advocate Advocate
1,061 Views
1 Reply
Message 1 of 2

Same size text

damon
Advocate
Advocate

Hi,

 

I want to create a 3d/ 2d interface animation and have text staying the same size.

 

Is there a tool or a way in Max to have an object maintain a constant size relative to the camera.

i.e as the camera moves closer to some text it scales giving the illusion it is the same size.

 

Thanks

 

0 Likes
1,062 Views
1 Reply
Reply (1)
Message 2 of 2

klvnk
Collaborator
Collaborator

for animation a scale script controller using the following should work for you

 

 

 

zoom = 1
refsArray = (refs.dependents this)
for i in refsArray where isvalidnode i do 
(
    zoom = (getScreenScaleFactor i.pos) * 0.005
)
[zoom ,zoom ,zoom ]

 

 

fixed.gif

though if you want some kind of HUD effect your probably best linking the text to the camera

0 Likes