I need help exporting
+2
sio2interactive
bberg
6 posters
I need help exporting
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).
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
Re: I need help exporting
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
And review all video tutorials
Re: I need help exporting
I've been following your tutorials to the letter but it still isn't working.
bberg- Posts : 3
Join date : 2009-06-19
Re: I need help exporting
Does your camera is straight down?? If yes don't use sio2camerarender but sio2lookat
Re: I need help exporting
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
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
Re: I need help exporting
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?
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
Re: I need help exporting
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...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).
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
Re: I need help exporting
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?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?
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
Re: I need help exporting
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.
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
Re: I need help exporting
I am lucky to have the man himself answer to my post
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.
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
Re: I need help exporting
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
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
Re: I need help exporting
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.
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
Re: I need help exporting
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!
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
Re: I need help exporting
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
Similar topics
» Exporting meshes after boolean
» Exporting large meshes
» blender only exporting 2 objects instead of all three
» Exporting "Empty" Object Types from Blender
» exporting two sides of object
» Exporting large meshes
» blender only exporting 2 objects instead of all three
» Exporting "Empty" Object Types from Blender
» exporting two sides of object
Permissions in this forum:
You cannot reply to topics in this forum