strange problem

View previous topic View next topic Go down

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
avatar
sw

Posts : 73
Join date : 2008-10-12

View user profile

Back to top Go down

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,
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

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.
avatar
sw

Posts : 73
Join date : 2008-10-12

View user profile

Back to top Go down

Re: strange problem

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

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

Posts : 73
Join date : 2008-10-12

View user profile

Back to top Go down

Re: strange problem

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

Which tutorial template you are using?
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

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 .
avatar
sw

Posts : 73
Join date : 2008-10-12

View user profile

Back to top Go down

Re: strange problem

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