Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Tobias · Jun 05, 2010 at 09:50 AM · cameraterraingrasssceneviewdetail

Unit3d Editor terrain grass detail view distance

Hello,

I hope you can help me. Im currently paintin grass details, but its very hard because the view distance of the scene camera is very low. How can I increase the view range of the scene camera?

Thank you very much

Edit: Ive just found the "Detail Distance" in terrain settings but maximum is 250, Is it possible to get a higher value?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by duck · Jun 05, 2010 at 11:10 AM

Sorry to report, it doesn't seem possible at all.

There is actually a scripting feature to set this value in code - I just tried this simple script placed on my terrain:

@script ExecuteInEditMode()
function Update () {
    GetComponent(Terrain).detailObjectDistance = 2000;
}

but it seems that there's some kind of hard-limit which means that even if you set it to a higher value in code, you still don't see them beyond that distance of 250.

On closer inspection, I think this is actually a bug in unity, linked to the way that it seems to make grass disappear in a "perlin noise"-like pattern when the distance is set to 250, but that disappearance-pattern doesn't seem to scale in conjunction with the distance value. I.e. if you set it lower than 250, you begin to get a hard-edge cut-off, rather than the disappearance-pattern moving with your new limit.

Since it doesn't come in closer when you reduce the distance, I'm guessing this pattern also doesn't move out further when you increase the distance, so even though you set the distance value higher, this fixed-distance "pattern" means they remain invisible beyond a set distance.

This seems like a small bug in Unity, so I just bug-reported it! :)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tobias · Jun 05, 2010 at 01:32 PM 0
Share

$$anonymous$$erci ;)

So I have to wait until Unity 3.0 or higher comes out.

Thank you very much

avatar image DocSWAB · Oct 20, 2010 at 08:18 PM 0
Share

I think this limit is by design to keep from totally bogging the machine down -- imagine the exponential area and number of detail instances that have to be rendered as the distance is increased.

This is annoying, but usually if you're painting on details, you want to do it at a close range.

If you want to mass-place details, check out $$anonymous$$'s Terrain Tools that let you import a detail and tree map like a splat map.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Painting grass with detail mesh and grass texture? 0 Answers

Camera is culling terrain detail objects regardless of settings 6 Answers

How can I automatically place grass and other details on my terrain to correspond with the splatmap? 5 Answers

Detail mesh pipeline 1 Answer

Grass texture transparancy Terrain not working 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges