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.com http://blog.alladvanced.net http://www.meetup.com/GO3D-Games-Opensource-3D/ Tel:054-4962254 [email protected] [email protected]
