FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Texture for sphere can not be renderred on Simulator

2 posters

Go down

Texture for sphere can not be renderred on Simulator Empty Texture for sphere can not be renderred on Simulator

Post  taxi4alex Mon Jun 15, 2009 2:15 am

Hello,

I currently have problem with texture for sphere on Simulator.
Using Blender 2.48a, I create an "earth":
-Use UVShere
-Add Material
-Add Texture which is a flat earth image from NASA.

I can see the appearance of texture on Sphere when viewing object with Texture. Checking the earth.sio2 file, it contains the flat earth image, the Material, the Object. But when I used tutorial02 sample code to render this sphere on simulator, it displays the earth with black/white grids only. The texture can not be rendered.

I added these code to tutorial02 for binding resources:
sio2ResourceBindAllImages( sio2->_SIO2resource );
sio2ResourceBindAllMaterials( sio2->_SIO2resource );

-Blender Version: 2.48a
-SIO2 SDK Version: 1.35

Could anyone please help me?

Thanks,
Alex

taxi4alex

Posts : 5
Join date : 2009-06-10

Back to top Go down

Texture for sphere can not be renderred on Simulator Empty Re: Texture for sphere can not be renderred on Simulator

Post  taxi4alex Mon Jun 15, 2009 2:26 am

This is the blender file and the image which I used: earth.zip

Thanks,
Alex

taxi4alex

Posts : 5
Join date : 2009-06-10

Back to top Go down

Texture for sphere can not be renderred on Simulator Empty Re: Texture for sphere can not be renderred on Simulator

Post  sio2interactive Mon Jun 15, 2009 4:04 am

Can't download sorry... but:


1. Did you add some UV to the sphere.

2. Does the sphere map is a pow of 2 below 1024x1024?
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Texture for sphere can not be renderred on Simulator Empty Re: Texture for sphere can not be renderred on Simulator

Post  taxi4alex Mon Jun 15, 2009 8:44 pm

Hi SiO2,

I dont know much 'bout Blender.So I need to work more with Blender for UV. I used 2048x1024 image.

I changed to IcoSphere with 2048x1024 image and it works now Very Happy. It's so cool with a beginner!

Thanks,
Alex

taxi4alex

Posts : 5
Join date : 2009-06-10

Back to top Go down

Texture for sphere can not be renderred on Simulator Empty Re: Texture for sphere can not be renderred on Simulator

Post  sio2interactive Mon Jun 15, 2009 9:10 pm

Your texture have to be max: 1024x1024 to work properly on the device...
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Texture for sphere can not be renderred on Simulator Empty Re: Texture for sphere can not be renderred on Simulator

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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