applying to textrue to non-uniform 3D model

View previous topic View next topic Go down

applying to textrue to non-uniform 3D model

Post  aputman on Sun Mar 22, 2009 10:17 am

I'm starting to get the hang of some of the basics of the engine and gotten through many of the tutorials, but I'm still having trouble with textures. For example, I create the "head" of a character. I then want to unwrap to the UV mapping and then draw in each face of the model.

I've tried watching a variety of different blender tutorials which walk you through this. I've tried painting directly on the object etc. but I can't get anything to show up on sio2, even if blender will render the object the way I expect to see it.

All my image sizes are correct.

Anyone able to point to a good tutorial, or have a checklist of things I shouldn't forget before exporting? Thanks!

aputman

Posts : 11
Join date : 2009-03-16

View user profile

Back to top Go down

Re: applying to textrue to non-uniform 3D model

Post  sio2interactive on Sun Mar 22, 2009 4:23 pm

Make sure that the texture is set on the material not only on the UV/Image Editor in Blender. Blender is keeping track of the texture on a face basis, and SIO2 is on a material basis.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: applying to textrue to non-uniform 3D model

Post  aputman on Mon Mar 23, 2009 12:44 pm

Thanks for the tip!

Is there a way to know or check that I've done this? Or could someone help me fill in the blanks...

I create texture that appears the way I want when rendered in blender...

I then assign a material to the object I want, with this material I choose the texture I have created...

...and then it should work?

I feel like I've done those steps, so I'd appreciate any clarification! Thanks!

aputman

Posts : 11
Join date : 2009-03-16

View user profile

Back to top Go down

Re: applying to textrue to non-uniform 3D model

Post  sio2interactive on Mon Mar 23, 2009 1:59 pm

Check the video tutorials and make sure that you are following the same steps as me...?

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: applying to textrue to non-uniform 3D model

Post  aputman on Wed Mar 25, 2009 11:20 am

So following the steps in tutorial03 (from about halfway through) I finally got a texture to appear how I expected...albeit it was a sloppy quick texture.

So to make my texture look nicer I edited the file in photoshop and reloaded to my .blend file.

Under the texture menu where I choose the path of the texture file it says the file I'm using is RGBA, where previously it was simply RGB. And now when I export to .sio2 and try to load the object, the iphone simulator crashes.

Does it seem likely that it is due to the RGBA nature of the .png file causing the crash?

thanks!

aputman

Posts : 11
Join date : 2009-03-16

View user profile

Back to top Go down

Re: applying to textrue to non-uniform 3D model

Post  meteors on Wed Mar 25, 2009 11:23 am

I dealt with this last week. TheBunny had the answer; the thread is on this forum.

Go into build properties. Under "Packaging", uncheck "Compress .PNG files".

Bam, you're good to go!


Best,
-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: applying to textrue to non-uniform 3D model

Post  aputman on Wed Mar 25, 2009 11:42 am

build properties being in blender or in Xcode?

aputman

Posts : 11
Join date : 2009-03-16

View user profile

Back to top Go down

Re: applying to textrue to non-uniform 3D model

Post  meteors on Wed Mar 25, 2009 12:22 pm

XCode


-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: applying to textrue to non-uniform 3D model

Post  sio2interactive on Wed Mar 25, 2009 3:57 pm

Check tutorial14 it uses a PNG for the texture on the yoshi.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: applying to textrue to non-uniform 3D model

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum