On Thursday 23 August 2001 20:01, Bernhard Kuhn wrote:
> Dan Peters schrieb:
> > Bernhard Kuhn wrote:
> > > David Olofson schrieb:
> > > > SDL doesn't even have basic calls for drawing lines, circles and
> > > > the like, so you have to use additional code for visualization,
> > > > unless you're just moving images around.
> >
> > does it have primitives for drawing text?
>
> To nullifiy my previsious answer: it's not
> necessary to use OpenGL for graphics primitives,
> although this is probably the fastet rasterisation
> library (since fully hardware accelerated,
> depending on driver).

Yes; especially on Linux, there are bandwidth problems with 2D software 
rasterization (no sysRAM->VRAM DMA blits), so virtually any 3D 
accelerated card is faster than software in OpenGL with resolutions above 
320x200.


> If you just want to draw
> some simple graphical elements or text, then
> have a look at the SDL add-on libraries:
>
> http://www.libsdl.org/libraries.html
>
> For graphic primitives, this one is looking
> promising (never tried it):
>
> http://freshmeat.net/projects/sdl_gfxprimitives/

It's optimized for accuracy rather than speed, but it seems to do the job.


//David Olofson --- Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------------> http://www.linuxdj.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to