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.

I need help exporting

+2
sio2interactive
bberg
6 posters

Go down

I need help exporting Empty I need help exporting

Post  bberg Fri Jun 19, 2009 6:51 pm

Hey,

I have a problem that i can not solve. I exported a scene into .sio2 file called test 1. The .sio2 file had a cube, a light, and a camera. But when I put the file in the Template under resources and tried to build the project I got the loading screen and then after that I just got a black screen (not a cube or anything).

P.S. I selected everything in the scene before exporting (just like in the tutorial).

bberg

Posts : 3
Join date : 2009-06-19

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  sio2interactive Fri Jun 19, 2009 7:05 pm

Yeah well... its not just enough yet... you have to specify what you want to load etc... go through the tutorials and learn the code and the SIO2 API...

And review all video tutorials Wink
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  bberg Sat Jun 20, 2009 7:47 am

I've been following your tutorials to the letter but it still isn't working.

bberg

Posts : 3
Join date : 2009-06-19

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  sio2interactive Sat Jun 20, 2009 8:08 am

Does your camera is straight down?? If yes don't use sio2camerarender but sio2lookat
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  oioioi Sat Jun 20, 2009 10:20 am

Have you changed the file name in this function call to match your sio2 file:
sio2ResourceOpen( sio2->_SIO2resource, "tutorial06.sio2", 1 );

if your sio2 file is called test 1.sio2 it should be
sio2ResourceOpen(sio2->_SIO2resource, "test 1.sio2", 1);

Since you didn't say you changed any code

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  adderguzze Sat Jun 20, 2009 3:08 pm

Hola,

I am new to blender sio2 but not unfamiliar with programming.

I have been struggling with this very same issue the whole week. I also followed the tutorials exactly. I pen up tutorial 2 or 3 and export my blender file to the same name in the data directory. After i recompile I get the loading screen with a blank black screen. I unzip the .sio2 file and check that all the textures of my cube is in there and there is some there data too. I am sure it is exporting correctly.

I am absolutely confused as to the reason. I thought it might be a problem with association first wanting to create a cube and using he template of tutorial03, but I have tried the others with exactly the same result.

I have reverted to blender 247 in attempt to solve the issue but no luck yet.

I am happy to upload my file.

Any advise?

adderguzze

Posts : 4
Join date : 2009-06-20

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  Francescu Sat Jun 20, 2009 4:56 pm

bberg wrote:Hey,

I have a problem that i can not solve. I exported a scene into .sio2 file called test 1. The .sio2 file had a cube, a light, and a camera. But when I put the file in the Template under resources and tried to build the project I got the loading screen and then after that I just got a black screen (not a cube or anything).

P.S. I selected everything in the scene before exporting (just like in the tutorial).
Is your scene called test 1 with a space in between? I'd would suggest Test1 (not sure but I never put spaces in my file names) - then the export should produce a Test1.sio2 which you can add to the list of resources for your project...

Maybe your object fell through the world? Are they physics objects? Do you have a plane, etc?

Francescu

Posts : 136
Join date : 2009-03-18

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  Francescu Sat Jun 20, 2009 5:12 pm

adderguzze wrote:Hola,

I am new to blender sio2 but not unfamiliar with programming.

I have been struggling with this very same issue the whole week. I also followed the tutorials exactly. I pen up tutorial 2 or 3 and export my blender file to the same name in the data directory. After i recompile I get the loading screen with a blank black screen. I unzip the .sio2 file and check that all the textures of my cube is in there and there is some there data too. I am sure it is exporting correctly.

I am absolutely confused as to the reason. I thought it might be a problem with association first wanting to create a cube and using he template of tutorial03, but I have tried the others with exactly the same result.

I have reverted to blender 247 in attempt to solve the issue but no luck yet.

I am happy to upload my file.

Any advise?
Have you tried to delete let's say tutorial02.sio2 and tutorial03.sio2 as well as the directory where the export writes its content and then recreate these 2 from the 2 .blend files that comes with sio2?
You might want to try this to make sure this is at least working on the bundled .blend files...Just a thought...

Francescu

Posts : 136
Join date : 2009-03-18

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  adderguzze Sun Jun 21, 2009 3:32 am

Hola Francescu!

Thanks for the suggestion. I just tried recreating the sio2 file from the blend file. I even created the user rom to keep the paths exactly the same. The output of the original tutorial03.sio2 file is 100kb. My exported tutorial03.sio2 file is 100kb.

The problem is exactly the same. I get the cube with the original but nothing with mine.

This is a real headscratcher for me. I have 2 machines. Both gives me the same result.

xcode Version 3.1.2
Component versions
Xcode IDE: 1149.0
Xcode Core: 1148.0
ToolSupport: 1102.0

Iphone simulator 2.2.1

Blender 247

I am at a read dead end here and really confused as to why this would be.

adderguzze

Posts : 4
Join date : 2009-06-20

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  sio2interactive Sun Jun 21, 2009 7:40 am

Which version of sio2 and the exporter are you using?
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  adderguzze Sun Jun 21, 2009 8:57 am

I am lucky to have the man himself answer to my post Smile

Let me first say gr8! job good work, you got my support!!

I am using the downloaded SIO2_SDK_v1.3.5

and the exporter in the export directory state in Blender display: Exporter v1.3.5

I also see in the Perl script that it has reference to Blender 28a ... I had some problems with that version of blender but will try for better results.

adderguzze

Posts : 4
Join date : 2009-06-20

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  adderguzze Sun Jun 21, 2009 9:43 am

Ok bit of luck,

When I use blender v28a and exporter v1.3.5 I get an image on my iphone and simulator.
The texture disappeared and was the original reason for ditching blender v28a.

I will look around and see if i can get a solution for this problem,

Thanks all for the advise and support.

Cheers,
Adder

adderguzze

Posts : 4
Join date : 2009-06-20

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  bberg Sun Jun 21, 2009 1:55 pm

Is your scene called test 1 with a space in between? I'd would suggest Test1 (not sure but I never put spaces in my file names) - then the export should produce a Test1.sio2 which you can add to the list of resources for your project...

Maybe your object fell through the world? Are they physics objects? Do you have a plane, etc?

Francescu


Yes I tried making using test1 in the name but It didn't work and there aren't any physics on the cube.

bberg

Posts : 3
Join date : 2009-06-19

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  rpsx Wed Jul 01, 2009 4:41 am

hello. maybe i am having the same problem. just downloaded the newest sio2 package. however, i am using blender 2.45 - it is the highest version of one someone compiled that does not use double buffering, and thus it is the only one that runs without severe ui lag on a plain macbook with intel graphics.

anyway... i have noticed that, even with the tutorial 2 blender project, if i run the script, somehow the object file is empty of code. Camera and Lamp have data. but Suzanne in the object folder is a 0k file with nothing inside of it. i certainly did select all before running the script, too.

any ideas? is it because of blender 2.45? thanks!

rpsx

Posts : 2
Join date : 2009-07-01

Back to top Go down

I need help exporting Empty Re: I need help exporting

Post  rpsx Thu Jul 02, 2009 9:04 am

hello - just to answer my own question - seems yes, it was my old version of blender. luckily i found someone else made a build of blender 2.47 that is optimized for intel graphics macbooks - sure enough, scripts worked fine. i have data for Suzanne now!

rpsx

Posts : 2
Join date : 2009-07-01

Back to top Go down

I need help exporting Empty Re: I need help exporting

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