Doubt in tutorial 09
2 posters
Doubt in tutorial 09
Hi,
In tutorial 09, after i created the plane and the cylinder, i gave the plane an image texture. It compiles without any error but stops running after the 'Loading' screen.
It shows an error in file sio2_resource.cc line 2077...
it works if i remove the texture....
please help
In tutorial 09, after i created the plane and the cylinder, i gave the plane an image texture. It compiles without any error but stops running after the 'Loading' screen.
It shows an error in file sio2_resource.cc line 2077...
it works if i remove the texture....
please help
vikthered- Posts : 25
Join date : 2009-06-25
Re: Doubt in tutorial 09
Can you please give more details... like what texture, what size, which channel, did you have a UV channel etc... and what's on line 2077
Cheers,
Cheers,
Re: Doubt in tutorial 09
hehe
ok..The image is 1024X1024. Ive the used the same image for the other tutorials without a problem. So i dont think theres anything wrong with the image.
I set the texture using UV image editor...i'm pretty new to Blender..i hope u got all the info needed
Thank you
ok..The image is 1024X1024. Ive the used the same image for the other tutorials without a problem. So i dont think theres anything wrong with the image.
- Code:
while( j != SIO2_MATERIAL_NCHANNEL )
{
line 2077 ----> if( _SIO2material->tname[ j ][ 0 ] &&
!_SIO2material->_SIO2image[ j ]->tid )
{
sio2ImageGenId( _SIO2material->_SIO2image[ j ],
_SIO2material->tflags [ j ],
_SIO2material->tfilter [ j ] );
}
++j;
}
I set the texture using UV image editor...i'm pretty new to Blender..i hope u got all the info needed
Thank you
vikthered- Posts : 25
Join date : 2009-06-25
Re: Doubt in tutorial 09
i also opened the tutorial09.blend that comes with the SDK.
removed everything except the plane, cylinder, lamp and cam...
changed the texture which was loaded with .ogg with my .jpg.....dint work:(
removed everything except the plane, cylinder, lamp and cam...
changed the texture which was loaded with .ogg with my .jpg.....dint work:(
vikthered- Posts : 25
Join date : 2009-06-25
Re: Doubt in tutorial 09
Look to me that the image is not on the channel0 of the material... maybe linked in the UV editor but not on the material...
SIO2 is expecting the following onthe Material Texture Channel:
Channel0: Image (png, jpg, tga) -> Pow of 2 in width and height top 1024x1024
Channel1: Image (png, jpg, tga) -> Pow of 2 in width and height top 1024x1024
Channel2: Sound (.OGG)
SIO2 is expecting the following onthe Material Texture Channel:
Channel0: Image (png, jpg, tga) -> Pow of 2 in width and height top 1024x1024
Channel1: Image (png, jpg, tga) -> Pow of 2 in width and height top 1024x1024
Channel2: Sound (.OGG)
Re: Doubt in tutorial 09
i see the same texture in Channel0 under shading--->material--->textures...so i'm pretty sure the texture is linked to the material...never had this problem before
vikthered- Posts : 25
Join date : 2009-06-25
Re: Doubt in tutorial 09
if you have time you can try setting a texture on Channel0 for the plane and it shows the same error....
vikthered- Posts : 25
Join date : 2009-06-25
Re: Doubt in tutorial 09
There's nothing wrong with the blend file... The only thing that I can think of is: have you called sio2ResourceBindAllImages before sio2ResourceBindAllMaterials?
Re: Doubt in tutorial 09
Hey that did the trick....!!!
All this time there was no BindAllImages!!!
i put it after BindAllMaterials and its working!!!...
i dint change the code...i assumed it to be correct
Thank you very much....
You, sir, are The Best
All this time there was no BindAllImages!!!
i put it after BindAllMaterials and its working!!!...
i dint change the code...i assumed it to be correct
Thank you very much....
You, sir, are The Best
vikthered- Posts : 25
Join date : 2009-06-25
Permissions in this forum:
You cannot reply to topics in this forum