ZBrushCentral

TextAlpha maker

There are no limits on the picture size. All pictures are created in memory so it may be a memory problem. I created a 600 font using wingdings and it went proper at 1034x1034. What is the size of the alpha you get?

Seeing your post Flycatcher, gave me a new idea - multiline:
TextAlpha.zip

hi keith
a Bud of mine ask me to Give this to you
:small_orange_diamond:TEXT.zip
just a sample on how you can shorten the code in 2 ways.
he said if you use .JPG instead of the .BMP
you won’t need to Flip the Text :wink:
Hope this helps…

its a sample with numbers i don’t know why he named it txt
:smiley:

Truly excellent script :+1: :sunglasses: :+1:
Thanks keith!

Thanks ZBuddie. I was trying to think of a way to cut the generated script. I thought of using RoutineDef to load the alpha only when required. I’ll try that tip as well and see which is shorter.

Does ZBrush support jpeg loading for alphas? If so, I may as well add support - saves space.

Keith

Thanks Keith - another very useful addition that I thought of as I ran the three instances but was shy to ask for. :+1: :roll_eyes:

I think you’re right about the memory thing. I’ve tried to recreate the large sized alpha problem, but it’s working fine now using the same program version. I suspect it was just my resources running low at the end of a long day on the PC.

PS forgot to mention - I think I’m right in saying that JPG support for alphas and textures came in with version 1.55 - I’m not sure about the interim trial version which I didn’t download, but it was certainly not included in earlier versions.

hi keith
a bud of mine said use this if you want to get rid of the preload button.
this will only load the letter or number when called on.

[IButton,[FileNameSetNext,”alpha1.bmp”]
[IPress,ALPHA:IMPORT],alpha1.bmp]

a sample
:small_orange_diamond:alpha1.zip

ZBuddie, won’t that snippet import the texture each time you click on the button? You would have to import only if the alpha does not exist. And who is the mysterious bud? :slight_smile:

oh that what i thought you were trying to do.
mysterious bud
is a friend of mine hes a newsgroup reader and just the kind of guy who keeps to his self i can’t get him to particapate in any forum board :stuck_out_tongue:

I added jpeg support and changed the generated zscript. However, now the program requires an extra dll called gdiplus.dll. I’ve included a link. Place this dll in the same dir as the executable. If you’re running winXP, you do not need to download this dll.

TextAlpha:TextAlpha.zip

GDI+ dll:
GDI+ Download

PS: I may add antialiasing support later

This is getting really polished - the antialiasing would be the icing on the cake! What’s next - 3D extrusion? Shadow effects? Animation? :smiley: Thanks again. :+1:

Here it is with antialiasing. It can also be turned off to see the difference.

TextAlpha.zip

Can someone help me get this import or running…its awesome!

I don’t have it in front of me at the moment but if I remember right you do your thing in the program then save out to alpha and zscript then in z2 you load the zscript you created and it does it for you.

but I have a memory like a truant…absent when presence required.

I will have a look at it later and see and let ya know.