Go Back   AC3D Forums > General > AC3D General
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 4th December 2018, 06:30 AM   #1
x-crafts
Junior Member
Member
 
Join Date: Feb 2015
Posts: 18
Unhappy Can I change the near clipping plane in the viewports?

Hi, when I try too zoom in on something in the front view for example, at some point the geometry gets clipped. Can I change this? I really hope I can because it is impossible to work on small details.

When I select the geometry and hit F, I do see it but the moment I try to zoom out or in just a tiny bit, everything gets clipped again. This is really not a practical way of working. Please help
x-crafts is offline   Reply With Quote
Old 4th December 2018, 09:07 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,366
Default Re: Can I change the near clipping plane in the viewports?

I would normally respond that you need to recenter the view by focusing on something in the area you are working on by pressing 'f' but it appears you are already doing that

You can indeed change the OpenGL near and far values which are used for clipping but you really need to understand what they mean before you change them. There are many OpenGL resources where you should be able to find help on these values.

In the preferences file ac3dprefs8.txt (windows) or .ac3dprefs (Mac/Linux), look for these:

ogl_near 0.050000
ogl_far 1000000.000000
Andy is offline   Reply With Quote
Old 4th December 2018, 09:10 AM   #3
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,366
Default Re: Can I change the near clipping plane in the viewports?

Also - you could try switching to walk-mode (press '2' in the 3d window) and navigate around using that, instead of spinning/zooming.

Last edited by Andy; 4th December 2018 at 09:14 AM.
Andy is offline   Reply With Quote
Old 9th April 2021, 09:18 AM   #4
x-crafts
Junior Member
Member
 
Join Date: Feb 2015
Posts: 18
Default Re: Can I change the near clipping plane in the viewports?

Hi! A few years later, but I'd still like to thank you for your reply!

I am trying to adjust the ogl numbers but I cant see many resources that would state that clearly.

I dont have a problem with the clipping in the 3D view, but rather in the ortho views, (Front, Side etc.)

Changing those numbers doesnt seem to make any difference.

I hope you are well

Marko
x-crafts is offline   Reply With Quote
Old 9th April 2021, 09:21 AM   #5
x-crafts
Junior Member
Member
 
Join Date: Feb 2015
Posts: 18
Default Re: Can I change the near clipping plane in the viewports?

More specifically, if I use the F button to focus on a small object, zooming in a bit or out a bit immediately clips the rest. It seems as if the focus range is very very small. Again, this is only in the not 3D views.
x-crafts is offline   Reply With Quote
Old 28th May 2021, 04:36 AM   #6
x-crafts
Junior Member
Member
 
Join Date: Feb 2015
Posts: 18
Default Re: Can I change the near clipping plane in the viewports?

Hi there, any updates anyone?
x-crafts is offline   Reply With Quote
Old 28th May 2021, 06:32 AM   #7
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,366
Default Re: Can I change the near clipping plane in the viewports?

In the view windows, the limit is the floating point accuracy. It should be good for seven decimal places, although it will allow you to zoom further that it probably should (currently no limit).


How small are you working?
Andy is offline   Reply With Quote
Old 28th May 2021, 10:53 AM   #8
x-crafts
Junior Member
Member
 
Join Date: Feb 2015
Posts: 18
Default Re: Can I change the near clipping plane in the viewports?

I recorded a video to show the issue.

I have a greeble which is about 15m tall.

I can zoom in and out without any issues.

I then copy the greeble, and make it much smaller, to around 0.5m

I then select a vertex on the smaller greeble in one of the side views (I do it in the Top view) and hit "F" on the keyboard (this happens at 00:38 of the video).

now if I try to zoom in or out, even a very small change in the zoom clips the geometry.

https://drive.google.com/file/d/1t8e...ew?usp=sharing
x-crafts is offline   Reply With Quote
Old 28th May 2021, 11:02 AM   #9
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,366
Default Re: Can I change the near clipping plane in the viewports?

Thanks for the excellent video.


I've been able to duplicate the problem. I'll let you know what I can find out.

Last edited by Andy; 28th May 2021 at 11:04 AM.
Andy is offline   Reply With Quote
Old 28th May 2021, 11:50 AM   #10
x-crafts
Junior Member
Member
 
Join Date: Feb 2015
Posts: 18
Default Re: Can I change the near clipping plane in the viewports?

Quote:
Originally Posted by Andy View Post
Thanks for the excellent video.


I've been able to duplicate the problem. I'll let you know what I can find out.
Awesome, thank you very much!

One more thing since I'm here. I believe you created the plugin to export for X-Plane, correct?

It would be great if we could disable writing the BLEND GLASS into the objs, as that is only needed for objects that only have glass.

Right now I didn't find a way to remove it so we have to do it manually, otherwise the X-Plane log shows a lot of messages that the plane is using objects with BLEND GLASS assigned to a non glass object.

Cheers

Marko
x-crafts is offline   Reply With Quote
Reply

Tags
clipping, viewport

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 07:25 PM.


AC3D Forum
(C) Inivis Limited 2020