I am trying to draw some 3D characters. I have tried a number of methods as described in Magik++ manual, but none of them work for me. The following is my testing code. Can someone help me? Thanks a lot.
Color border = "#D4DCF3";
Image image( "300x100", "transparent" ); //transparent white
image.penColor( Color("blue") );
image.font("Arial"); //Arial Courier-New
image.fontPointsize(37);
image.raise("25x25+0+0",false);
// image.shade(50,30,true);
// image.emboss(5,2);
image.annotate( "ImageMagick", CenterGravity);
image.write( "junk.gif" );
How to draw 3D characters using Magik++?
Never mind, I figured out
I figured out that I just couldn't use a simple draw to produce 3D effect. I need to draw 2 text, with a little bit of offset for the second one
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How to draw 3D characters using Magik++?
For various techniques that can be converted to C++ API (or any other API) see IM Examples Compound fonts.
http://www.imagemagick.org/Usage/fonts/
If you come up with a new basic style, or know of one, let me know and I'll try to replicate it.
http://www.imagemagick.org/Usage/fonts/
If you come up with a new basic style, or know of one, let me know and I'll try to replicate it.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: How to draw 3D characters using Magik++?
Thanks a lot for answering my question, anthony.
Your examples are simply excellent! I just picked up a few examples and implement them in C++ code. They all came out very nicely.
If I work out some good enough basic styles I will certainly be happy to share tham.
Thanks agian for your marvelous work!
Your examples are simply excellent! I just picked up a few examples and implement them in C++ code. They all came out very nicely.
If I work out some good enough basic styles I will certainly be happy to share tham.
Thanks agian for your marvelous work!