male lecturer, sorted, hell get a boner. female lecturer, sorted, shell think they look pretty.
Members of the IET...?
male lecturer, sorted, hell get a boner. female lecturer, sorted, shell think they look pretty.
Well it appears it all been in vain. Either openframeworks (the C++ framework I've used) or OpenGL can only display a maximum texture of 4096x4096, and as I have no time to create a workaround that will have to be the maximum size image I can use.![]()
"What's the maximum size texture map my device will render hardware accelerated" - http://www.opengl.org/resources/faq/technical/texture.htm might be useful.
Would you not be better off mip-mapping/slicing up the image in future, so you don't have to load the whole thing into memory? Kind of like how Google Maps works, where when you zoom in you get the higher quality version.
"What's the maximum size texture map my device will render hardware accelerated" - http://www.opengl.org/resources/faq/technical/texture.htm might be useful.
Would you not be better off mip-mapping/slicing up the image in future, so you don't have to load the whole thing into memory? Kind of like how Google Maps works, where when you zoom in you get the higher quality version.
google maps is lots of images though. When you look at the whole of the uk, this picture is different to the zoomed in picture of your house.
That would be the plan, but I don't have the time. Also it was never the intention to handle massive images (in this project anyway).
So, new challenge! Who can find the most interesting 4096x4096 image!
The 4096x4096 max texture size is most probably a hardware restriction. What graphics card are you using? The obvious solution is the have the image mapped not to one quad but to four or more quads.
Bear in mind that whatever image you use, you'll get the most performance by making sure each dimension is a power of 2 i.e. 2048 x 4096..
So, new challenge! Who can find the most interesting 4096x4096 image!
This is my first venture into OpenGL so I'm not too sure what you mean about quads. I'm also not sure what graphics card the system has, I know it has on board graphics, its a gigabyte board with vga, dvi and hdmi outputs.
i'm just assuming you have four vertices defining a rectanlge that the texture is stretched accross. If you change this to 9 vertices, you have four rectangles arranged in a larger rectangle. Split the texture file into four parts and load those parts individually and map one to each of the smaller rectangles. and bam: a 8192x8192 image.
Not sure how well it would perform on onboard graphics though... If that was the only graphical application running it should be ok to go to even higher resolutions.
Sorry, didn't realise that image link didn't work. Here:
http://blogmarks.net/user/sylvainulg/marks/tag/map
edit. Well, that's just stupid. Let me see if I can find it again and re-host it.
Sounds like the perfect place to have him take some photos, for sure.I'm attempting to get some better, more interesting photos from my brother, but he's somewhere in the Caribbean atm.