1756
General / Re: Smooth scrolling large textures
« on: September 06, 2012, 01:07:27 am »
I'm not sure but the position of sprite might be trunc'd if it's texture is not smooth. So with these numbers all you're doing is move by 2 pixels then 3, then 2, then 3, so on, so forth.
2. that's also alright but the late trend of work-around-to-render-more-than-you-really-can is quite peculiar,
4. So instead of asking you try and work around by asking about something else
5. in the end, every sprite, text, whatever, will attempt to use draw(vertices,count,primitive,states) or vertex array(which then uses the long draw method too), so if it doesn't support vertices, it doesn't support sfml
6. Just..
Quote
1, This is just an experiment,1. that's quite alright,
2, Even with vertex arrays, I believe I need to use render-to-texture,
3, The problem that I can't do smooth scrolling with large textures is not related to the way the tiles are rendered, since the tile map is just one large texture,
4, I haven't figured out how to use vertex arrays yet,
5, As far as I know, older graphics cards don't support them,
6, The Nintendo Entertainment System certainly had no vertex array support, yet it was capable of smooth scrolling tile-based maps
2. that's also alright but the late trend of work-around-to-render-more-than-you-really-can is quite peculiar,
4. So instead of asking you try and work around by asking about something else
5. in the end, every sprite, text, whatever, will attempt to use draw(vertices,count,primitive,states) or vertex array(which then uses the long draw method too), so if it doesn't support vertices, it doesn't support sfml
6. Just..