I think you are right ,looks like that was the problem

On Fri, Nov 5, 2010 at 1:48 PM, jonny <[email protected]> wrote:

> I think i got it.
>
> I think its the focus and zoom settings of the camera. I was using the
> default camera focus of 100 and zoom of 10. Which means that the
> camera is a fair bit away from the viewport. I have swapped the values
> round to keep the same angle so now focus is 10 and zoom is 100 and
> now things seem to be working correctly.
>
> Can someone please confirm I have got this logic right?
>
> Thank you
>
> On Nov 5, 10:36 am, jonny <[email protected]> wrote:
> > Michael, here is a screenshot:
> http://picasaweb.google.com/lh/photo/2bL_ZJ57ps_KANJMhAkYhCc8VkPW6FAE...
> >
> > Camera3D position is set to (0,15,0) and lookAt is (-1,15,0).
> >
> > The Cube has width,height depth of 5 and its position is (0,2.5,0).
> >
> > Looking at the screenshot you can see that the Cube is on the ground
> > but slightly ahead of the camera. It should be directly below the
> > Camera right? What is going on here?
> >
> > Any help appreciated - thanks!
> >
> > On Nov 4, 10:29 pm, jonny <[email protected]> wrote:
> >
> >
> >
> > > Thanks for responding Michael.
> >
> > > I cant show a screen right now but can show one tomorrow morning.
> >
> > > Further info: I am using the away3D primitive Cube object not a custom
> > > cube. I set bothsides to true so as to the inside of the cube.
> >
> > > Its almost as if the camera is looking from a position behind the
> > > position its set to. What could it be?
> >
> > > On Nov 4, 9:02 pm, Michael Iv <[email protected]> wrote:
> >
> > > > can you show a screenshot? Have you inverted cube normals.?Because if
> you
> > > > did not you can't see the cube from inside
> >
> > > > On Thu, Nov 4, 2010 at 10:14 PM, jonny <[email protected]>
> wrote:
> > > > > Hi,
> >
> > > > > I am having a real problem with the Camera3D:
> >
> > > > > I created a camera3D camera. As an example I set the camera
> position
> > > > > to (0,12,0) and set its lookAt to (-1,12,0). So the camera is at
> the
> > > > > center of world (albeit higher on the y plane) and is looking to
> the
> > > > > left (down the negative x axis).
> >
> > > > > I then place a cube (width,height,depth all set to 20) and set its
> > > > > position exactly equal to the camera position i.e (0,12,0).
> >
> > > > > The problem is that the cube appears in front of the camera. I dont
> > > > > understand this. I expect that if the cube's position is set to the
> > > > > position of the camera, then I shouldnt be able to see the cube. Or
> at
> > > > > least I should only see a bit of the cube. But I am seeing the
> whole
> > > > > cube in front of me. In fact only when I set the cube's position to
> > > > > around (50,12,0), then the camera is inside the cube.
> >
> > > > > Please please can somebody explain this and how I can overcome it?
> I
> > > > > have spent hours today trying to understand this problem and its
> > > > > driving me mad :(  I would really appreciate some help.
> >
> > > > > Many Thanks!
> >
> > > > --
> > > > Michael Ivanov ,Programmer
> > > > Neurotech Solutions Ltd.
> > > > Flex|Air
> |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp://www.meetup...
> > > > Tel:054-4962254
> > > > [email protected]
> > > > [email protected] Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
> >
> > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -




-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com
http://blog.alladvanced.net
http://www.meetup.com/GO3D-Games-Opensource-3D/
Tel:054-4962254
[email protected]
[email protected]

Reply via email to