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.

strange problem

Go down

strange problem Empty strange problem

Post  sw on Sun Oct 12, 2008 2:26 am

hi,
there is a strange problem.
first , place a Cube at x=0 ;y=0; z=1 ( paint the vertex some color )
place a lamp ( any where the same problem)
place the camera x=0 ; y =0; z= 10; and let the camera look at the ( 0:0:0), set the Rotx=0; Roty=0; Roz=90;

then , export all the scene to .sio2 file .
the problem is the simulator is all black after run it ( but the blender rendor is ok ).

if i change the camera Rotx=1 ( or rotx=0.1 ) all is OK in simulator . Shocked
sw
sw

Posts : 73
Join date : 2008-10-12

Back to top Go down

strange problem Empty Re: strange problem

Post  sio2interactive on Sun Oct 12, 2008 4:59 am

Strange indeed, have you update the camera direction (sio2CameraUpdateDir) ?? If not try to do it if you did it maybe send me an example project to show me where the bug is... And have you follow the video tutorials? If not I really suggest you to do so... maybe you are missing a step that I cannot think of at the moment...

Cheers,
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

strange problem Empty Re: strange problem

Post  sw on Sun Oct 12, 2008 9:43 am

yes, I have watched your new youtube video, it is very clear. Smile

but the problem is why if i set the camera locate at 0:0:10 and RotX=0; roty=0 ; rotz=90. the screen is black.

and if I set the same camera locate (0:0:10 ), and Rotx=0; roty=0; and rotz=0.1 (or some other eles) , all is OK.

yes, I have checked about 10 time , all the same problem.
sw
sw

Posts : 73
Join date : 2008-10-12

Back to top Go down

strange problem Empty Re: strange problem

Post  sw on Sun Oct 12, 2008 9:56 am

YES, I have set the sio2CameraUpdateDir before SIO2CameraRender , the same problem.
sw
sw

Posts : 73
Join date : 2008-10-12

Back to top Go down

strange problem Empty Re: strange problem

Post  sio2interactive on Sun Oct 12, 2008 4:29 pm

Which tutorial template you are using?
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

strange problem Empty Re: strange problem

Post  sw on Sun Oct 12, 2008 11:09 pm

I used the tutorial03 code , and iPhone sdk 2.1 , macos 10.5.4 Macbook Pro .
sw
sw

Posts : 73
Join date : 2008-10-12

Back to top Go down

strange problem Empty Re: strange problem

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


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