BASIC

Author Topic: GLBasic 3d Font Object Creator BETA: Closed  (Read 7303 times)

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1618
  • Particle Hawk
    • View Profile
Sorry this project is closed for now, unfortunetly the source is gone due to a crash.

You can still use the image2object creator for making similiar objects.
The source in image2object was the core code for this project.

This program did everything including circular words, and texture mapping it with 3 styles of overlay.
It stretched it evenly, or it tiled each letter with the map, or it stretched it to fit x y.
The texture was directly inputed into the vertice xyz points color data...no need for x_settexture.

The way it worked was it read in a smalfont.png, then with some math it built an object out of the text input.
It made a cube for each pixel in the sentance$ input.
You were able to select a color for the object with a color map.
It was scalable, and it was able to make the words go into a circle, the font downside pointing inwards of the circle. And the circle was scalable too.

Making this object flat or thick with a scalar was possible...also if you made it 0 thickness..it was set to make shadows too.
All the 3d object creation options were available.

Im sad i lost this code :(
If someone wants to try whipping up a new one....you may have the image2object code to do so freely.
Just let me know youre going to give it a shot, ill help you.



[attachment deleted by admin]
« Last Edit: 2009-Jul-12 by Hemlos »
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10682
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Print Color Text: FUNCTION CPRINT()
« Reply #1 on: 2008-Aug-08 »
Oh! Very tricky.

Offline D2O

  • Prof. Inline
  • *****
  • Posts: 1061
    • View Profile
    • http://www.deuteriumoxid.com
Re: Print Color Text: FUNCTION CPRINT()
« Reply #2 on: 2008-Aug-08 »
 :good:
I7 2600K; 8 GB RAM ; Win10 Pro x64 | NVidia GTX 750 TI 2048MB ; Realtec OnBoard Sound;
Lenovo ThinkPad T400: XP Pro
GLB Premium-immer Aktuell

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5006
  • O Rly?
    • View Profile
Re: FUNCTION CPRINT() UPDATE
« Reply #3 on: 2008-Aug-20 »
NICE  :good:
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline WPShadow

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1647
    • View Profile
    • http://lostrevenant.blogspot.com
Re: FUNCTION CPRINT() UPDATE
« Reply #4 on: 2008-Aug-21 »
<-- wants more  :nw:
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Hatonastick

  • Guest
Re: FUNCTION CPRINT() UPDATE
« Reply #5 on: 2008-Aug-23 »
Just checked out the demo.  At the risk of sounding as old as I am:  That's seriously cool!  I can imagine quite a few people here looking forward to being able to play with this library.  =D

Edit: I just tried out the other CPRINT demo as well.  I'm really looking forward to being able to play with this library.  :good:
« Last Edit: 2008-Aug-25 by Hatonastick »

Hatonastick

  • Guest
Re: Released: GLBasic 3d Font Object Creator!
« Reply #6 on: 2008-Sep-09 »
BTW it's common courtesy to tell people that your program is going to need to access a website to determine whether or not it's still in beta before they find out themselves when they get a pop-up from one of their firewalls.  I don't like it when a program goes accessing anything on the net without asking me first.  Others may not as well, so it might be a good idea to inform people somewhere at the top of this thread. :)

That aside, it is very cool.  I like it. :)  I'm guessing this is going to be shareware/commercial?
« Last Edit: 2008-Sep-09 by Hatonastick »

Kuron

  • Guest
Re: Released: GLBasic 3d Font Object Creator!
« Reply #7 on: 2008-Sep-09 »
BTW it's common courtesy to tell people that your program is going to need to access a website to determine whether or not it's still in beta before they find out themselves when they get a pop-up from one of their firewalls. 

Thanks for the heads up =D

Kuron

  • Guest
Re: Released: GLBasic 3d Font Object Creator!
« Reply #8 on: 2008-Sep-09 »
Nice demo  :good:

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2580
    • View Profile
Re: Released: GLBasic 3d Font Object Creator!
« Reply #9 on: 2008-Sep-10 »
Very nice bud, has lots of possibilities and its quite fast, even on my old laptop. Well done! :)
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

cristiano

  • Guest
Hello.Nice to meet you again.I have a solution for your problem.You can still use the image2object creator for making similiar objects.
______________________________
atm provider
play sonic rpg eps 8

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1618
  • Particle Hawk
    • View Profile
Yup, thats why i left that code posted.

image2object is actually a piece of this font creator...pretty powerful by itself.

The code for i2o, is open sourced.
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)