Jump to content

Camera clipping inconsistency


Recommended Posts

HI everybody.

 

I'm experiencing a nasty inconsistency between the viewport and render when trying to set the near and far clip of a camera.

I've also managed to reproduce the problem with Houdini14 but not with Houdini12 (infact the 12 doesn't give any problem).

 

In the first pic you can see how the scene is setted: a very basic one, some cubes in a row and the camera above them.

 

post-13072-0-56481600-1426004390_thumb.p

 

In the second image I've clipped the view trying to include only the 2 middle cubes.

 

post-13072-0-28722500-1426004396_thumb.p

 

But when I try to render the scene I get something completely different

 

post-13072-0-95473000-1426004400_thumb.p

 

Infact in order to render the scene correctly in the viewport as I want I have to double the parameters of near and far; obviously this gets translated into a wrong result for what concern the render.

 

post-13072-0-15703900-1426004409_thumb.p

 

The parameters in this case are near 20, far 32 for a correct result in the viewport; near 10 and far 16 for the correct result in the render.

 

Obviously what I want is to get them right with the same settings (the correct ones are the render ones)

Is there some setting that I'm missing?

 

Here is the simple scene

 

 

Thanks in advance

post-13072-0-56481600-1426004390_thumb.p

post-13072-0-28722500-1426004396_thumb.p

post-13072-0-95473000-1426004400_thumb.p

post-13072-0-15703900-1426004409_thumb.p

test_clip.hip

Edited by uncle_sam
Link to comment
Share on other sites

If it works in h12 as expected it might be a bug with the new viewport in h14. I can't seem to figure out why it would do that, as you say the render gets it correct but the values need to be doubled for the viewport to behave the same. Submit a bug for it!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...