3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Texture Tiling Performance Question  (Read 795 times)

« on: February 02, 2012, 10:10:08 AM »
Is there any difference with performance/resources if a texture is tiled 100 times vs. once?
« Reply #1 on: February 02, 2012, 10:24:13 AM »
uuuuh... yeah, i think so... especially if the object on which the tiled texture is being applied is also being "impostered" a number of times...

the size of the texture should also be factored in...

to be sure... put a value print in the project, link it to one of the scripts, and have it display iFrameRate(true) results...  that should provide you with an answer to your question...

--Mike

jestermon

« Reply #2 on: February 02, 2012, 10:24:24 AM »
The question is very vague, since it can mean almost anything.
Assuming you mean that you are using the same texture. Then there is no difference. The texture maps to the model by way of it's UV's
http://en.wikipedia.org/wiki/UV_mapping

If however you mean using a small texture which you tile, as apposed to a large texture that covers the entire model, then there is a major difference.
Resource wise the larger texture takes more space, and takes a few nano seconds more to render than a smaller texture.

Well, well .. replied at the same time *snap*
« Last Edit: February 02, 2012, 10:26:04 AM by jestermon »
« Reply #3 on: February 02, 2012, 10:56:07 AM »
Assuming you mean that you are using the same texture. Then there is no difference.

That's what I was asking. Example: If you have a box (12 poly's) 1 texture 64x64. That one texture could be evenly mapped to all 6 sides of the box once or UV wrapped a 100 times to each 6 sides of the box. Either way there should not be any difference in performace, correct?
« Reply #4 on: February 02, 2012, 11:14:08 AM »
i just ran a test and the results show that there is no appreciable degradation in performance...

i would've thought that there would've been...

--Mike
« Reply #5 on: February 02, 2012, 02:44:46 PM »
I don't think it matters, since it the same texture and uses the same amount of memory.
Pages: [1]