small maxscript project

Hello people,
I wonder if someone could write a maxscript that makes the actual numerical information for position, rotation, and scale changes appear as renderable information on the screen as it happens? I think it would be kind of like a spinner in action. I want to see the actual numbers change in corespondence with the object changes, all as part of the renderable scene.
EW

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Graph's picture

this should work

-make a dummy
-make that dummy a child of the sphere
-in some pos controller put a scripted one that gets the transforms of the sphere and sets the .text of the text splineObject accordingly

Raphael 'Insanto' Steves
http://Graph.Net84.Net

uzername1's picture

Thanks Raphael. Good

Thanks Raphael. Good stuff!

I'm trying to piece the responses together to find the best way to move forward. Thanks again!

EW

br0t's picture

This only works with one object

I once made a text object that showed the current frame number. I quickly converted that into something that may be helpful.

Merge the two objects inside the attached file into your scene, align and link the red sphere to your animated object. The text object will show the pos/rot/scale of the sphere and will update when you move the timeslider. You can move the text object anywhere you want. Dunno if thats what you were asking for, its rough...

Cheers

AttachmentSize
data_output_textobject.max 252 KB

Never get low & slow & out of ideas

uzername1's picture

Yes, I think that is it. I

Yes, I think that is it. I have included a short movie file that shows what I am looking for. It was originally done in After Effects, but I'd like to do it in Max.

AttachmentSize
t4.avi 274.5 KB
uzername1's picture

Wow, looks good! Little by

Wow, looks good! Little by little it's coming together. Thank you all so much...I wish I had something to give in return!
EW

JokerMartini's picture

Only downside

Only downside is that you can not key the EditText field of a Text object......

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

JokerMartini's picture

Get you started

--1. Select Object First
--2. Select Text Object Seconds
--3. Run Script
if selection.count == 2 then
(
	TargetObj = selection[1]
	TargetTxt = selection[2] -- Text Object
	TargetTxtBase = selection[2].baseObject -- Base of Text Object
 
	TargetTxtBase.text = ("Pos: " + (TargetObj.pos as string) + " Rot: " + (TargetObj.rotation as string) + " Sca: " + (TargetObj.scale as string))
)

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

JokerMartini's picture

just

Make a Text object and you could just script it to covert the pos,rot,sca information to a string and use it in the edit text field of the Text obj.

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

uzername1's picture

maxscript

Hey thanks! I'll give that a try. Very kind of you.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.