CPRINT goes 3d, discussion, please join in.

Previous topic - Next topic

Hemlos

Ok guys i ran into an issue with CPRINT and making it into 3d realtime animation.

I need ideas from anyone willing to give thier input to solve a FPS problem...

Heres the issue..

These run fast in 3d..hundreds of FPS:
If Cprint3d uses 2d in the 3d port it runs fast...but you cant turn it or roll it.
If Cprint3d uses X_Dot, same deal, cant turn it or roll it, but runs fast.

This runs slow, less than 60 fps:
If you make the CPRINT pixels into vertices, it runs slow...BUT you CAN turn it and roll it in 3d, while maintaining a realtime update to the String$.

And to sum up the ability of CPRINTS realtime special effects 3d issue:
If you make the CPRINT build an object using frames, you CAN turn and roll, game runs fast, and its turnable..., BUT startup is slow....and you CANT REBUILD the object without dragging the FPS down.
IE, ...using cprint to display in 3d the PLATFORMINFO("TIME") wont be possible without making it run slow....which i dont like that idea.
Building Object Frames defeats the purpose of being able to adjust realtime string$ Text animations.

Anyone have any ideas to make cprint3d, run fast, rotatable objects, realtime, while updating string$?
I think i tried everything, and im stumped with this issue at the moment.
I will not publish CPRINT until i work out this issue, please give your ideas!
Bing ChatGpt is pretty smart :O

Hatonastick

I'm hoping some discussion is happening on this in the German section.  I'd hate to see this project die because I can see the possibilities.  I just don't have enough of a handle on GLBasic yet to really add much to the discussion other than to encourage you to stick at it. :)

Kitty Hello

Code (glbasic) Select

GETFONTSIZE fx,fy
CREATESCREEN 1, LEN(text$)*fx, fy
USESCREEN 1
CPRINT text$,0,0
USESCREEN -1

X_SPRITE 1, x3d,y3d,z3d, 0




Hemlos

#3
Quote from: Hatonastick on 2008-Aug-27
I'm hoping some discussion is happening on this in the German section.  I'd hate to see this project die because I can see the possibilities.  I just don't have enough of a handle on GLBasic yet to really add much to the discussion other than to encourage you to stick at it. :)

Sorry im not german, google is a fantastic translator though.

This project isnt going to die...im sticking with it.
The power of CPRINT is by far a professional level game design addition...
...which is why im waiting to publish it based on the 3d ability.


If anyone hasnt seen my project in action, check it out in the beta section forums.
http://www.glbasic.com/forum/index.php?topic=2202.0
Theres 2 forms of demos, one is a clock, which rolls through all the effects with a timer, desktopclock.zip
and a simple one that shows all the formatting effects of CPRINT.  cprint.zip

QuoteCREATESCREEN 1, LEN(text$)*fx, fy
USESCREEN 1
And thanks Gernot, youre a real champion!
Have i ever thanked you for all the effort you put into GLBASIC?
Thank you.

I havent used these commands yet, i will try them out, and ill report back here whats going on.
Bing ChatGpt is pretty smart :O

Hatonastick

Ugh, open mouth and insert foot.  Sorry mate, no idea why I thought you were.