|
Make a 3D text by CJK characters.(experiment)
|
|
12-06-2014, 12:15 PM
Post: #1
|
|||
|
|||
|
Make a 3D text by CJK characters.(experiment)
Hello.
Recently, I experimented that try to modify a wpc_tt.erl. To use non-latin(CJK) glyphs in 3D Text Object. So,I fumbled about trying to remove the 256 glyph Limit in the code. For now, one of the goal has been achieved. ScreenShot is following. ![]() ![]() ![]() ![]() Currently, there is only one way for input the CJK text in the text field. It is the way to change the string stored in the setting of Preference.txt,beforehand. Quote: {{wpc_tt,text},"CJK text is Here"}. Other way... PlanA : CJK text input by other text Input Method Engine. PlanB : Copy & paste from clipboard. PlanC : Load an external txt file,and update to text form by the containts. PlanD : Change text form through by Erlang Shell Hum...Several technical walls currently confronted ![]() At any rate,I need to test whether there are adverse effects due to remove the limit of the glyph. If there is anyone interested in this, I will tell the changes lines, etc.. |
|||
|
12-08-2014, 11:50 AM
Post: #2
|
|||
|
|||
|
RE: Make a 3D text by CJK characters.(experiment)
Please post, I did something when I converted it wxWidgets code. Don't remember if I fixed that.
But I have written a TT parser for opengl in another project before I remembered that we had one in wings already, so I have fixed a couple of issues already. |
|||
|
12-09-2014, 10:11 AM
(This post was last modified: 12-16-2014 10:31 AM by tkbd.)
Post: #3
|
|||
|
|||
RE: Make a 3D text by CJK characters.(experiment)
(12-08-2014 11:50 AM)dgud Wrote: Please post, I did something when I converted it wxWidgets code. Don't remember if I fixed that. Thanks you dgud. I've uploaded a source file and the changed summary(png image). The Modifyed file is here This containes 3 files: difference.png and wpc_tt.erl wpc_tt.beam (Edit:add wpc_tt.beam,Note: Recognizes the UTF8 string only under certain conditions. set to cjk-font) Also, I have tested some in order to use non-Latin characters in wpc_tt. In Preference.txt,there is saved data use for wpc_tt plugin. when set to utf8 string...For example... Quote:{{wpc_tt,text},"春夏秋冬"}.But, when quit Wings application, then string had been save as list. Quote:{{wpc_tt,text},[26149,22799,31179,20908]}. (these number are utf8charcode).Although there was no effect on Wings Application's behavior,I was just wondering about this. I hope as Wings will be more convenient ![]() Best regards. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)









