www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: volpesfuggente on August 04, 2010, 12:39:21 pm

Title: Camera zoom and disappearing objects!
Post by: volpesfuggente on August 04, 2010, 12:39:21 pm
Hi!
I'm trying to draw some spherical objects with a radius=100.
I've positionated a camera in front of one sphere and I would zoom out for view more objects, but It don't works as I would. The original sphere gradually disappears. It seem that at some point all object at that distance are cut by a plane...
I must configure the camera, the world or the buffer in some way?

(http://volpesfuggente.netsons.org/tesis/1.jpg)
(http://volpesfuggente.netsons.org/tesis/2.jpg)
(http://volpesfuggente.netsons.org/tesis/3.jpg)

Title: Re: Camera zoom and disappearing objects!
Post by: volpesfuggente on August 04, 2010, 12:42:40 pm
P.S. I've tryed to increase the Config.maxPolysVisible, but there aren't any changes...



Title: Re: Camera zoom and disappearing objects!
Post by: EgonOlsen on August 04, 2010, 12:52:06 pm
Have you tried to adjust the far clipping plane: http://www.jpct.net/doc/com/threed/jpct/World.html#setClippingPlanes(float,%20float) (http://www.jpct.net/doc/com/threed/jpct/World.html#setClippingPlanes(float,%20float))?
Title: Re: Camera zoom and disappearing objects!
Post by: volpesfuggente on August 04, 2010, 01:04:20 pm
I've just tried, It works with large values of farPlane. Thanks!