Jump to content
  • Advertisement

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...

This topic is 6064 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!