Notifications
Clear all

[Closed] print "string" in rendered image

Hi,

I am doing several tests in max and I’d like to see them printed on the screen of the rendered animation.

I’ve been looking for a method to do this in the reference files and at the internet and so far nothing, I even don’t know for what I am looking for (in terms of 3ds max commands and syntaxes) What I would like to do is to print strings like the command print “whatever” straith to the rendering window, I even tried to align a text with the camera and control its contents but it did not worked, the text trembles around the screen. Should I use different controllers then Orientation and Position ones? Or even better…

Does anyone knows how or which method should I look for to print strings straight to the rendered image (bitmap) like subtitles, captions or something?

Thanks

Guimas

2 Replies

one way but not so easy to do this:

  1. create a bitmap, and fill it with some text : (ABCDEFGH…abcdefgh…;!,?..etc…)

  2. after is render finished
    use a function to read letters from bitmap and draw them on you render picture.

for example:

fn writeTextOnMyImage w h text_string align color =
(
case align of
(
#tLeft : ()
#tRight : ()
#tCenter: ()
etc…
)

for i=0 to....
getPixels... textBitmap ...
setPixels... renderPic  ...

)

i hope that this will help u

Bobo wrote exactly what you need here:
http://www.scriptspot.com/bobo/mxs3/inscriber/

From Short Description:
“MAXscriber (formerly known as “Inscriber”) is a Scripted Render Effect Plug-in for MAX R3 which lets you place any text and some system information on every rendered frame.”

By the way, I remembered this script vaguely but was able to find it at www.scriptspot.com. If you ever want to track down an existing maxscript, that should always be your first stop.