LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2006, 07:04 AM   #1
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
Screen pixel manipulation?


Hi.

I was recently asked by a friend if I could write him a screensaver that did something similar to an opengl screensaver - just without opengl. the basic concept was to manipulate pixels on the screen to create a wave effect.

The only thing standing in my way is that I need some way to manipulate pixels on the screen. opengl has several function for that, as "man -k pixel" revealed, but I don't seem to find any other libraries for it. Reasonably, the X-server needs to have something of that sort, perhaps even something related to ncurses (??? ).

If anybody knows what libraries I can use to accomplish this, please give me a hint.

Thanks
 
Old 01-23-2006, 08:37 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Is there a reason to avoid OpenGL? If your effect is simple, it will be quite renderable on most hardware. In any case, I would think that the SDL library would provide functionality that you seek, as well as (I believe) the gtk+ and QT libraries.
 
Old 01-25-2006, 02:09 PM   #3
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Original Poster
Rep: Reputation: 32
The machine crumbles under any form of graphical load. I don't know the specifications by heart, but it runs xfce as GUI, and even then it is slow. The graphics involve a simulation of a rotating spiral galaxy. My firend provides me with the math, I write the program.

Thanks for the tip on sdl.

What library lies below stdio? printing characters need pixel manipulation, so unless the character printing is compiled into the kernel (as far as I know only character maps are), should those libraries not be available?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-functioning pixel on VAIO- Return it??? vcroww2 General 9 01-05-2006 05:07 PM
pixel pipelines? tnelson42345 Linux - Hardware 1 11-12-2005 12:25 PM
Question(s) about bits per pixel kornerr Linux - General 4 08-21-2005 02:06 AM
Pixel Stretching, and panning shamgar03 Linux - Laptop and Netbook 10 06-23-2005 12:13 AM
how was the 1 pixel wide border created...? GraemeK General 14 01-02-2004 06:48 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration