PDA

Click to See Complete Forum and Search --> : 3D text


DiGiTaIErRoR
Jan 24th, 2000, 03:51 AM
Some little proggy I made makes 3 different types of text check it out: http://members.xoom.com/tagsclan/ct.exe
It's compiled in version 5.0.
Tell we what you think!
Also if you know of any good directx tutorial sites tell me.
Thanks, and if you download and like it I guess you're welcome too :)

------------------
DiGiTaIErRoR

Klas Pettersson
Jan 24th, 2000, 05:33 AM
What function do you use to draw the text? Can you send me the source code?

erasmus
Jan 29th, 2000, 07:42 PM
Really enjoyed your cool text. Would have good potential if you could make an OCX of this.
I'm sure you have the DirectX7aSDK from the microsoft site. There are some excellent tutorials of DirectX in VB \DXF\samples\multimedia\vbsamples directory of this large download.

Unfortunately D3D and VB6 info in press or on the net is rather sparse. Will send you my code when I finish developing my directX software.


Erasmus


Originally posted by DiGiTaIErRoR:
Some little proggy I made makes 3 different types of text check it out: http://members.xoom.com/tagsclan/ct.exe
It's compiled in version 5.0.
Tell we what you think!
Also if you know of any good directx tutorial sites tell me.
Thanks, and if you download and like it I guess you're welcome too :)

TheMadMonk
Jan 30th, 2000, 10:55 AM
Yes, quite nice. One thing I noticed, is that when I would have text in the box, then switch to the 3rd display option, the text graphics would get very big, and only be able to show about 1/2 the characters from before, and going back to either display option #1 or #2 would still have these oversized characters. (or maybe you meant it to work this way)

It would be cool if we could choose the font size, too.

DiGiTaIErRoR
Jan 30th, 2000, 11:53 AM
If you see the textbox that says '50' that's the font size You can't change the font size of mode 2 yet but you can on Mode 1 and the 3D mode plus you can't change the font etc. I don't know about an OCX(don't know how to make one!) maybe make a module though :) then a function like:
CoolText Picture1.picture, Arial, 50, rgb(255,255,255), [mode] 1,2,3 etc.
But if you know how to make an OCX tell me.
Plus I don't have Direct X that file is HUGE

------------------
DiGiTaIErRoR
VB, QBasic, Iptscrae, HTML
Quote: There are no stupid questions, just stupid people.

DiGiTaIErRoR
Jan 30th, 2000, 11:57 AM
Actually you just use this syntax:
Picture1.Print "Hello world"
it uses the pictures font size,name etc.
and the picture1.forecolor to draw it!
Good luck :)
Originally posted by Klas Pettersson:
What function do you use to draw the text? Can you send me the source code?



------------------
DiGiTaIErRoR
VB, QBasic, Iptscrae, HTML
Quote: There are no stupid questions, just stupid people.

da_silvy
Jan 30th, 2000, 01:47 PM
Nice Program!

Just a few suggestions, for the fonts, test box why not try this :) :
You need to have a combo box named cboFonts, and its style set to Dropdown list.

Dim F
For F = 0 To Screen.FontCount - 1
cboFonts.AddItem Screen.Fonts(F)
Next F
cboFonts.ListIndex = 0


Also a problem with your save:
When you do not key anything in the inputbox it raises an error.

You should use an error handler like so:


on error goto ending:
working blah blah

ending:

----------------OR----------------

if SaveInputBox = "" then exit sub





------------------
david
Teenage Programmer

ZanM
Feb 12th, 2000, 02:43 PM
Hey I really need the code to make that text for a button I'm making. I will make you a ocx of the code if you let me use it

rino_2
Feb 12th, 2000, 07:16 PM
Hi ZanM,

I was the one who came up with the idea, you may have seen my post 'Cool Text FX'? After I posted the code, DigitalError elaborated on the idea and came up the the program that he is posting now. You can download my code here http://members.xoom.com/rino_2/cool_text.zip but its not as good as DigitalError's.


[This message has been edited by rino_2 (edited 02-13-2000).]

ZanM
Feb 13th, 2000, 06:41 AM
Thaks rino_2

------------------
SomeTimes Coffee Just Isn't Enough.
Zan Magi

da_silvy
Feb 13th, 2000, 01:35 PM
digital error,
could you please email me the source to your program...

da_silvy@hotmail.com



------------------
david
Teenage Programmer