Jump to content

Increase draw/clip distance?


Go to solution Solved by Thirsty Panther,

Recommended Posts

Hello again,

Simple question this time..

Is there a way to increase the draw/clip distance, either in editor, or in engine itself? 

I'm experimenting with a terrain editing tool (GAEA) and have imported a first terrain. Challenge is, I can't see the whole thing at once, even on a 1024x1024 map. I don't intend to necessarily keep it that way all the time. It's just for the sake of getting a sense of scale in LW for tweaking, etc. Maybe take screenshots.

Is there a way to do this?

Thanks!
 

Link to comment
Share on other sites

Actually... Follow-up question...

That solution works with the Camera in the scene. I've removed the camera from the scene. I'm using the character model with the FPS script attached. There's no option for it (that I see anyway) to adjust the view distance in a similar way.

Sorry for what are probably daft-sounding questions, but I'm not much of a coder, and haven't had any luck finding the answer otherwise.

Link to comment
Share on other sites

In the FPS script around line 148 you will find.

--Create a camera
	self.camera = Camera:Create()
	self.camera:SetFOV(70)
	self.camera:SetRange(0.05,1000)
	local aamode = tonumber((System:GetProperty("antialias")))
	if aamode ~= nil then
		self.camera:SetMultisampleMode(aamode)
	end

This is where you can make changes to your camera settings.

  • Thanks 1
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.

 Share

×
×
  • Create New...