Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Weird camera behavior  (Read 8317 times)

Tohron

  • Newbie
  • *
  • Posts: 9
    • View Profile
Weird camera behavior
« on: April 27, 2008, 07:38:41 pm »

Is there any way to prevent objects from disappearing in front of the camera before it reaches them?  When I have the camera move closer to an object, the object disappears once it reaches a certain distance - this is really annoying.

Thanks!
Logged

RudySchneider

  • Sr. Member
  • ****
  • Posts: 450
  • There are no problems, only opportunities
    • View Profile
Re: Weird camera behavior
« Reply #1 on: April 27, 2008, 08:05:05 pm »

This is related to the "Z-Distance" parameter of the camera, which can sometimes come in handy for hiding objects either too close or too far away.  You can adjust it in the Scene Editor by clicking Settings > Environment (Opens Environment Editor dialog box).  Then, click the Advanced button at the bottom, which opens the advanced Environment Editor dialog box.  If you want to allow te camera to get closer to your object(s), decrease the Z-Near value.

Hope this helps...
Logged
G

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: Weird camera behavior
« Reply #2 on: April 28, 2008, 06:34:21 am »

Ye exacly what RudySchneider says. A Z-Near of 1 stops objects from disappearing. I suggust always using a Z-near of 1.

Olias

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: Weird camera behavior
« Reply #3 on: April 28, 2008, 12:30:26 pm »

Good info.  I've been using Anim8or for many years now, and I found out about this like...last week.  Doh.
Logged

Leslie

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Weird camera behavior
« Reply #4 on: April 29, 2008, 03:36:43 am »

Ye exacly what RudySchneider says. A Z-Near of 1 stops objects from disappearing. I suggust always using a Z-near of 1.
"Always using a Z-near of 1" is not always a good idea! Steve could have made it into a default if it was such a good choice, but it is not. The smaller z-near is, the worse is the depth sorting resolution (which decides whether one triangle is in front of another). So, making z-near always 1 you may mess up the rendering of closely neighbouring triangles.
Logged

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: Weird camera behavior
« Reply #5 on: April 29, 2008, 06:24:21 am »

I always render with Z-near of 1, never had any problems with it.