I wanted to make a script that lets you choose your size, useful for making maps appear bigger. One of the problems is, that there seems to be a clipping plane in front of the eyes, where nothing is rendered behind it.
[img_thumb]http://img843.imageshack.us/img843/2465/gmconstruct0003w.jpg[/img_thumb]
Is there any way to change that?
yes , my trird person script with the distance set to 1
[editline]06:45PM[/editline]
third
Change the FOV.
[img]http://www.cs.umbc.edu/~rheingan/435/pages/res/view/view20-6.gif[/img]
It's probably due to the near plane being too far. I don't remember any console command or Lua function which allows you to change it, so I guess you'll have to ask Garry.
[editline]08:19PM[/editline]
[QUOTE=blackops7799;24804955]Change the FOV.[/QUOTE]
You sure that's a good solution?
I thought about setting the actual view origin behind the head, and decrease the FoV for that. Wouldn't work that well on tiny sizes though.
[editline]08:27PM[/editline]
And let's see if Garry finds this thread :v:
[QUOTE=_Kilburn;24804969]You sure that's a good solution?[/QUOTE]
It works fairly well. Maybe not for the scale he is using.
[url]http://wiki.garrysmod.com/?title=Camera_data[/url]
Found that there is something called znear "Near Clipping Distance". Could there be any override using [b][url=http://wiki.garrysmod.com/?title=Render.RenderView]Render.RenderView [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] which uses Camera Data .. ?
[QUOTE=Ha3;24806213][url]http://wiki.garrysmod.com/?title=Camera_data[/url]
Found that there is something called znear "Near Clipping Distance". Could there be any override using [b][url=http://wiki.garrysmod.com/?title=Render.RenderView]Render.RenderView [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] which uses Camera Data .. ?[/QUOTE]
I love you.
I already was on this page some time ago, but I couldn't remember znear.
[QUOTE=WeltEnSTurm;24806258]I love you.
I already was on this page some time ago, but I couldn't remember znear.[/QUOTE]
Have fun
It bugs a little bit (rendering & postprocessing errors), I noticed CalcView in the source engine has znear and zfar parameters. Gonna try that now.
Please post your results if it works, I need something like this as well
Sorry, you need to Log In to post a reply to this thread.