Qbasicnews.com
July 25, 2021, 01:25:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Graphics library in QB  (Read 4876 times)
Zack
*/-\*
*****
Posts: 3974



WWW
« on: March 17, 2003, 10:25:52 AM »

I need a graphics library in QB that supports some kind of 800x600/1024x728 with, like, 16 million different colours. It also needs GET/PUT, PSET, LINE, and CIRCLE and paging.
Is there such library?
Logged

f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
ak00ma
Ancient Guru
****
Posts: 669



« Reply #1 on: March 17, 2003, 10:31:52 AM »

UGL...UGL...use UGL. It's a very fast SVGA lib with many functions. I use it, too, and I'm very satisfied.
BTW, you can download it from my homepage: http://www.q-tech.de.vu
Logged

B 4 EVER
Hard Rock
I hold this place together
*****
Posts: 775


WWW
« Reply #2 on: March 17, 2003, 12:28:56 PM »

Also theres future library, and zepher library. There both not as fast as ugl, but flib is supposedly a little more stable.
Logged

b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Jark
Ancient Guru
****
Posts: 566



WWW
« Reply #3 on: March 17, 2003, 03:14:02 PM »

includes all these features but the pages, in v1.2. Pages and EMS management are scheduled for v2.0. Just wait a few days to get all that, with the complete doc on:

http://mandlebrot.dazibao.free.fr

v1.0 is available on http://quickbasic.free.fr

In my opinion: 1) if I spent all that time building the TC-Lib, knowing I'm a lazy-QBprogger :rotfl:, that means such a lib has not been released before. 2) If you're the same kind of lazy-QB progger as me, you will read my lib, find it great, and re-prog what I've done :rotfl: .

And that's what make QB great : we're makers AND creators, all of us QB proggers. We would use MS stuff if we weren't so  :rotfl:
Logged

hink Global, Make Symp' All !
Jark
Ancient Guru
****
Posts: 566



WWW
« Reply #4 on: March 17, 2003, 03:19:35 PM »

http://mandelbrot.dazibao.free.fr is the right one, but I post it here only by profesionalism, I really do not mind if you do not visit my site. As a matter of fact, I built this site just as a back-up of my HD: like most of the webmasters, I don't give a dime for that "you're visitor's #" stuff. My counter was blocked at "1E12" after a couple of weeks :rotfl:
Logged

hink Global, Make Symp' All !
pr0gger
I hold this place together
*****
Posts: 775


« Reply #5 on: March 17, 2003, 07:56:43 PM »

btw, what are you trying to do? sounds interesting..
Logged

size=9]"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore Roosevelt[/size]
Jark
Ancient Guru
****
Posts: 566



WWW
« Reply #6 on: March 18, 2003, 05:24:33 AM »

Well, the startpoint of the TC-Lib was a need for Hi-Res fractal graphics such as the ones you may have seen on my website. I did not invent anything, but I think no one had done this with QB before.

I needed to access the full RGB palet, so I developed progs based on direct 24 bits .BMP files and an exact HSV to RGB conversion of my own (the usual conversion makes pale colours). Since the fractals are very long to compute (between half an hour and several days for a 1024x768 picture), it was a confortable manner to get my pics (the prog can run behind others without interfering with the other tasks, and there is no risk to see your picture messed up like when you spoil the video ram by switching from a task to another).

I also re-discovered the ray-tracing techniques last september, without knowing it was called raytracing ! (lol). Then after, discussing and reading folks on forums, I realised it was quite easy to control the video RAM through the Vesa modes... and that was the beginning of the TC-Lib. You may have seen the postings in the project forum here.

I integrated a powerful 3D raytracing module, capable of plotting all the quadratic shapes in all orientation, sizes and proportions, and capable of drawing multi-objects views: I draw for example wallpapers with random generated shapes that are quite nice...

Scrapyard, akOOma and Piptol have a copy of the v1.2 of the TC-Lib, for tests...

And I do not have it any longer since my HD crash yesterday morning ! I will get it sent-back by a french folk who is also testing it: he also has the complete documentation I have written (35 pages in MS-Word format). I was starting converting it into html and translating into english... well, I think everything will be OK in a few days :roll:
Logged

hink Global, Make Symp' All !
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #7 on: March 18, 2003, 05:52:05 AM »

Jark: can you send your lib to me?  I have some 3d stuff you might wanna see.

:*)
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
Jark
Ancient Guru
****
Posts: 566



WWW
Lib
« Reply #8 on: March 18, 2003, 08:28:04 AM »

Well, I'm waiting for my fellow to return the prog in v1.2 and the doc when he reads my email...

But you can take a look at v1.1 which you can download from http://quickbasic.free.fr : The link is on the top right, called TC-Lib v1.1

The only real difference between 1.1 and 1.2 is the Line24 which is optimised in v1.2 with a Bresenhams algorithm, plus some adjustments in the HSVtoRGB conversion...
Logged

hink Global, Make Symp' All !
Zack
*/-\*
*****
Posts: 3974



WWW
« Reply #9 on: March 18, 2003, 02:37:24 PM »

Quote from: "pr0gger"
btw, what are you trying to do? sounds interesting..

Well, I'm sick of making games in SCREEN 13, and SCREEN 12 runs to slow for me.
I'm thinking, that UGL might provide a nice, really fast, high-high-high color library with Windows resolutions.
Logged

f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Blitz
I hold this place together
*****
Posts: 853



WWW
« Reply #10 on: March 18, 2003, 05:40:17 PM »

It will, however i have to let you know that some graphics cards have buggy real mode vesa bioses. So they won't work with many of the resolutions. I've all the cards that we have tried, fortuneatly it was just Voodoo III/IV and ATI Radeon which were like that. But 320x200x8 works on any video card.
I think you'll like despite that, and if you need help with anything just ask. What video card do you have btw ?
Logged

oship me and i will give you lots of guurrls and beeea
toonski84
__/--\__
*****
Posts: 2567



« Reply #11 on: March 18, 2003, 06:46:44 PM »

hey blitz, did you ever compile that list of compatible modes for cards you were collecting?  That could ease some people's fears of ugl.
Logged

i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Blitz
I hold this place together
*****
Posts: 853



WWW
« Reply #12 on: March 19, 2003, 03:12:33 AM »

Yeah i did, http://dotnet.zext.net/index.php?showpage=modes.db
Logged

oship me and i will give you lots of guurrls and beeea
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!