Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (SBGuy, dr_panther, Ayumi, Quad, AndrewAMD), 920 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to make 3D Panel with input text? #209548
06/03/08 22:21
06/03/08 22:21
Joined: Sep 2004
Posts: 130
Italy
Alessandro Offline OP
Member
Alessandro  Offline OP
Member

Joined: Sep 2004
Posts: 130
Italy
Hello,
I found a problem. I need to let a user insert some text, just like if it writes over a wall.
I wanted to make text in 3D in real-time, while the user was typing it. How can I do that?
I cannot use panels or similar, since they write in 2d.
Please help me!
Thank you!

Re: How to make 3D Panel with input text? [Re: Alessandro] #209557
06/04/08 00:41
06/04/08 00:41
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
make models of all letters and use ent_create.

you may use a var to store last printed letter position and add some on it after each letter is printed, use the new value as the next letters pos.


3333333333
Re: How to make 3D Panel with input text? [Re: Quad] #209677
06/04/08 21:41
06/04/08 21:41
Joined: Sep 2004
Posts: 130
Italy
Alessandro Offline OP
Member
Alessandro  Offline OP
Member

Joined: Sep 2004
Posts: 130
Italy
It seems there is a lot of work to do :-(
Furthermore I "see" more problems when one uses variable length chars (or I need to calculate model size).

Is there any way to render text of a panel in a offscreen area then using a render-texture on a polygon?

Re: How to make 3D Panel with input text? [Re: Alessandro] #209732
06/05/08 09:55
06/05/08 09:55
Joined: Feb 2008
Posts: 97
Steev Offline
Junior Member
Steev  Offline
Junior Member

Joined: Feb 2008
Posts: 97
That is a interesting question.
I think you can solve it, if you use a shader that projects a bitmap on a surface.
In this bitmap you can save the input-text. The saving of the text into the image could you do on pressing a key.

A texttur-projection-shader you could find in the game-studio wiki:
http://www.coniserver.net/wiki/index.php/Texture_projector

I hope i could help you a bit.

Last edited by Steev; 06/05/08 09:57.

---
programming is a livestyle
Re: How to make 3D Panel with input text? [Re: Steev] #209800
06/05/08 20:37
06/05/08 20:37
Joined: Sep 2004
Posts: 130
Italy
Alessandro Offline OP
Member
Alessandro  Offline OP
Member

Joined: Sep 2004
Posts: 130
Italy
Thank you, that sounds interesting! I will check it!


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1