Problem with materials/textures
3 posters
Problem with materials/textures
Hi,
I had a working prototype scene that had all my objects rendering with the correct materials and textures. 2 materials with only vertices color and 2 materials with texture .jpgs.
What are the correct dimensions for a .jpg image again? I thought it had to be the square of a number, but a have a 144x144 jpg that is not being rendered.
This change happened when I added an object and assigned it a new material. I guess I'm still a littel fuzzy on the naming convention of material, material.001, material.002, and textures respectively. This may be causing my problem, as I added the new material without a texture?
Confusing. All I know is that now I can't get any new materials to render with a texture .jpg file mapped...
Maybe I'm just losing it..
I had a working prototype scene that had all my objects rendering with the correct materials and textures. 2 materials with only vertices color and 2 materials with texture .jpgs.
What are the correct dimensions for a .jpg image again? I thought it had to be the square of a number, but a have a 144x144 jpg that is not being rendered.
This change happened when I added an object and assigned it a new material. I guess I'm still a littel fuzzy on the naming convention of material, material.001, material.002, and textures respectively. This may be causing my problem, as I added the new material without a texture?
Confusing. All I know is that now I can't get any new materials to render with a texture .jpg file mapped...
Maybe I'm just losing it..
jj- Posts : 77
Join date : 2008-09-24
Re: Problem with materials/textures
Allright the rule is simple the width & the height of ALL your texture need to be a power of 2. The top texture size supported by SIO2 (yeah right) its <= 1024x1024.
Re: Problem with materials/textures
How come? I read that the maximum size supported by the device is 2048? (Source)sio2interactive wrote:The top texture size supported by SIO2 (yeah right) its <= 1024x1024.
Best,
Matt
Re: Problem with materials/textures
Hummm can you find back where you read that cuz i know that on first generation that was 1024x1024 (that's what I read in their docs.) But Im not sure for 3G...
Can you find back where you get that information?
Can you find back where you get that information?
Re: Problem with materials/textures
Just click on that "Source" link in my posting.
Here's the direct link: http://www.glbenchmark.com/phonedetails.jsp?benchmark=pro&D=Apple%20iPhone&testgroup=gl
Best,
Matt
Here's the direct link: http://www.glbenchmark.com/phonedetails.jsp?benchmark=pro&D=Apple%20iPhone&testgroup=gl
Best,
Matt
Re: Problem with materials/textures
This information is inaccurate, a texture greater than 1024x1024 will generate the following GL_ERROR:
ERROR: GL_INVALID_VALUE
on glTexImage2D, glTexSubImage2D
Cheers,
ERROR: GL_INVALID_VALUE
on glTexImage2D, glTexSubImage2D
Cheers,
Similar topics
» Join objects and materials problem?
» Materials, materials, materials, ...
» Object with two materials
» Multi-Materials for one object
» Multiple Materials on One Object
» Materials, materials, materials, ...
» Object with two materials
» Multi-Materials for one object
» Multiple Materials on One Object
Permissions in this forum:
You cannot reply to topics in this forum