Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, rki), 390 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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 Offline
Senior Expert
Quad  Offline
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