Error after applying texture
4 posters
Error after applying texture
Hi,
I am trying to replace the 3D model with my own one in tutorial02.
For me, it looks ugly with just vertex painted model.
So I tried to map texture(in jpg) on my model, then I encountered runtime error.
It stops at the following line.
void sio2ResourceGenId( SIO2resource *_SIO2resource )
....
>> if( _SIO2material->tname[ j ][ 0 ] &&
Do I have to put the texture image in the specific location?
I tried to follow the direction from video tutorial of tutorial04.
Cheers
I am trying to replace the 3D model with my own one in tutorial02.
For me, it looks ugly with just vertex painted model.
So I tried to map texture(in jpg) on my model, then I encountered runtime error.
It stops at the following line.
void sio2ResourceGenId( SIO2resource *_SIO2resource )
....
>> if( _SIO2material->tname[ j ][ 0 ] &&
Do I have to put the texture image in the specific location?
I tried to follow the direction from video tutorial of tutorial04.
Cheers
robotdm- Posts : 2
Join date : 2008-12-07
Re: Error after applying texture
Humm interesting... can 1 of you send me the .blend file that cause problem by email...
Tks in advance,
Cheers,
Tks in advance,
Cheers,
Re: Error after applying texture
but exporting out the tutorials and it still don't work. Here is one were I replaced the object with a cub and edited here is the link.
Link
Thanks for looking into this and helping out so I can move forward.. Now just a not I should be able to use the template folder and xcode project right I have tired 01 - 05 and nothing even shows I can even get the same warning now so started over so this may not help. I will work with textures again tomorrow. This zip file was the soi2 file.
But Thanks again.
Link
Thanks for looking into this and helping out so I can move forward.. Now just a not I should be able to use the template folder and xcode project right I have tired 01 - 05 and nothing even shows I can even get the same warning now so started over so this may not help. I will work with textures again tomorrow. This zip file was the soi2 file.
But Thanks again.
Re: Error after applying texture
Dude I don't know what to tell you I change the .zip and put as .sio2 and I plug it into tutorial03 and it work perfectly... Maybe review the video tutorials to make sure that you got the work flow right...
Re: Error after applying texture
I figured as much.. as soon as I can load a module than I will get back to the texture issue that this post is about. Thanks.
Re: Error after applying texture
Now I should just be able to load the .soi2 file into resources using the template that is in the zip file and see the modified cube?
Maybe I don' have the folder structure set up right? (just unziped into my Users/name)
Maybe I don't have newest SDK?
I should be able to see my mesh as you do or are you using template02 or higher? ( this never seemed to matter)
Thanks Again
EDIT:
I don't think any of the blender files that you gave me will load as well when I export them out i will test this again when I get home.....
Maybe I don' have the folder structure set up right? (just unziped into my Users/name)
Maybe I don't have newest SDK?
I should be able to see my mesh as you do or are you using template02 or higher? ( this never seemed to matter)
Thanks Again
EDIT:
I don't think any of the blender files that you gave me will load as well when I export them out i will test this again when I get home.....
Re: error after applying a texture (me too...)
Hi, I get an error in the same routine (sio2_resource.cc line 2077) only after trying to apply a texture. I'm taking Tutorial09, adding a sphere mesh, trying to apply a simple UV map -- using this Blender process by the way: http://www.developers-life.com/create-3d-earth.html (well, the bits I can read )
Image is power of 2 (200x100) jpeg, image file name isn't too long, work flow looks fine: assigning vertex groups, applying the UV map, and of course it looks fine in Blender.
Would you mind taking a look at my sio2 file?
http://www.playngive.com/tutorial09.sio2
--yarri
Image is power of 2 (200x100) jpeg, image file name isn't too long, work flow looks fine: assigning vertex groups, applying the UV map, and of course it looks fine in Blender.
Would you mind taking a look at my sio2 file?
http://www.playngive.com/tutorial09.sio2
--yarri
yarri- Posts : 81
Join date : 2009-04-10
Re: Error after applying texture
1. Your image is NOT a power of two...
2. You need to bind the images to the material:
2. You need to bind the images to the material:
- Code:
...
...
sio2ResourceBindAllImages( sio2->_SIO2resource );
sio2ResourceBindAllMaterials( sio2->_SIO2resource );
...
...
Similar topics
» Material and Texture
» Applying a texture to a vertex array
» Not able to view texture
» Draw font to texture or render to texture possible?
» applying to textrue to non-uniform 3D model
» Applying a texture to a vertex array
» Not able to view texture
» Draw font to texture or render to texture possible?
» applying to textrue to non-uniform 3D model
Permissions in this forum:
You cannot reply to topics in this forum