Any links to any nice tutorials would be helpful. even books.
Posted on 2004-03-14 03:32:39 by clippy
Depends on what 'graphics programming' you'd like to do? Graphical user interface? 3D virtual reality? Sidescroller DOS game? In assembly or a high-level language?
Posted on 2004-03-14 07:59:29 by C0D1F1ED
I assume you're talking about GDI
I think no tutorials are needed. - you should just know that BitBlt is the most important func for this - for actually doing graphics.
Keys are WM_PAINT, BeginPaint, EndPaint, InvalidateRect, UpdateWindow, LoadImage, CreateCompatibleDC, CreateCompatibleBitmap, MoveToEx, LineTo, SetBkMode, SetBkColor, CreatePen, SelectObject.
You should learn these functions, then you'll see how to use them for useful and/or beautiful stuff :)
I tend to use bitmaps I've drawn in Paint rather than try to programatically draw them.
Posted on 2004-03-14 08:12:15 by Ultrano
Hi amigo Clippy,

Have a look at the website of Ron Thomas, he has very nice graphics programming examples:

http://www.rbthomas.freeserve.co.uk/
Posted on 2004-03-14 10:50:24 by Vortex
I dont want to know real in - depth stuff.
Just that a lot of times a find demos which use matrices and vectors and stuff like that. i can never figure out what they exactly are doing or why they are using the matrices for. so i would like to understand that.

And yes i never really have understood the gdi very well. almost anything i try to do with it i simply fail. i know about the api functions for it and have even seen a lot of examples. but when it comes to doing things myself i simply somehow screw it up. So yeah a good tut for this would be nice too.

vortex,
ron's site doesnt seem to have anything. it says he will update it later with stuff.
Posted on 2004-03-14 13:11:14 by clippy

ron's site doesnt seem to have anything.


Clippy,

You can read Iczelion's comments about Ron's website:

A good website dedicated to graphics programming using assembly language. You can find many good examples on win32asm gfx programming there. Also don't forget to check FPlib, the floating point arithmetic library for win32asm.


http://spiff.tripnet.se/~iczelion/links.html

Clippy, what do I say more?
Posted on 2004-03-14 13:52:19 by Vortex
Hi Clippy,

Ron's site has just about everything you need, it was invaluable when I was writing TBPaint. You will find the information and examples you want in the downloads section. The example applications are very good just be sure to note whether the apps are for Win32 or DOS mode.
Posted on 2004-03-14 13:59:16 by donkey
If you whant understand vectors, read the ones before, I think they can help.

If you whant a good intro to vectors, http://newton.javeriana.edu.co/tutoriales/vectorial/default.asp
is in spanish, but is good, if you can read is nice, also you can follow the images.

If you whant more specialized, then you can read:

http://www.trillia.com/zakon1.html is very good, first introduce some basic concepts on sets, and then reals numbers, and then go on vector spaces. Also this other book http://www.math.odu.edu/~jhh/counter2.html, but is on tensor calculus, I normally see tensor analisys in the books after vector analysis.

Also this other apear to be good. Give it a try.
http://historical.library.cornell.edu/Dienst/UI/1.0/Display/cul.math/01140002?abstract= or
http://historical.library.cornell.edu/cgi-bin/cul.math/docviewer?did=01140002&seq=7 (is the same)

If you whant to passs fun http://www.syntonie.net/Sciences%20et%20Technique/Physique/Formulaires/Coppex/ is a formulary but is suposed to be used as that. Then you need know what is the theory.

Have a nice day or night.
Posted on 2004-03-14 15:32:08 by rea
Oh ok, you guys were referring to the book on Ron's site. Sorry i was looking at the section named 'graphics' and it didnt have anything. :)
anyway i am downloading the book and let me see how it turns out to be.
thanks for the links hgb.
Posted on 2004-03-15 14:00:18 by clippy