Archived

This topic is now archived and is closed to further replies.

Vulcan

Pixel Plotting in D3D?? Point List VB or is there a better way...

Recommended Posts

If I wanted to plot singular pixels onto the screen, what would be the best way to do this? In D3D. I have set up an ortho matrix & such, and know that you can do it w/ a VB & point list, but is there a better way? -Vulcan

Share this post


Link to post
Share on other sites
simply put, you DONT pixel plot in d3d8. if you really need to, lock a texture then render the texture. d3d is meant for doing 3D graphics and not pixel plotting. what are you trying to do?

Share this post


Link to post
Share on other sites
If you are going to ''plot'' pixels then render them as a line list not a point list :-)

Reg''ds,
Steve

Share this post


Link to post
Share on other sites
yes a particle system you would use a pointlist or billboard quads. much better since you can see the particles change size as they get move away/towards the camera giving nice sense of depth. also billboarded quads using additive blending can make super looking effects. most particle systems on 3d accelerators use billboarded quads or point sprites. the texure you owudl load would simply be a white sphere that fades to black as you move away form the center. you chnage colors via the vertex colors.

also next time mention what you are trying to do with what you are asking, will get you a better answer faster

Share this post


Link to post
Share on other sites