PDA

View Full Version : Line by line rendering



saintdmitry
02-15-2001, 10:01 PM
Hi.

Sorry, my english not very good.

I'm writing 3D editor, and I need to render image in portions, first line, then second line and so on. I dont know how can i read objects only one time, and then do only rasterization.

Don't Disturb
02-16-2001, 03:37 AM
It seems to me that you don't understand how opengl works.
Basically, it stores all the picture in a big array (called the frame buffer), then updates this picture one triangle at a time, regardless of the position of the triangle.
It doesn't do things line by line, that is more appropriate to ray-tracing.

If you really need to do things line by line, then you can use OpenGL to render your model, then read the picture back from the frame buffer one line at a time.
Why you would want to do this, I don't know...

dasoto
06-27-2003, 07:03 AM
Scan line algorithm make things line to line, but this require that your model be projected to a 2d plane.... I hope this help you....