Jump to content

GeNa Terrain Extension offset from spline in GeNa 3.5.1 (Unity 2021.3.24f1)


mroshaw
Go to solution Solved by mroshaw,

Recommended Posts

Hi!

I'm having trouble with, I think, the Terrain Texture extension in GeNa. It's either that or Clear Details, but either way the resulting detail clearance is skewed to one side of my GeNa Road:

Before:

image.png.fcd0262b738d679bcbdcacb12f470e31.png

Before Clear Details:

image.png.9d8db927250a29ae743849744ba7e47e.png

After Clear Details:

image.png.4945bd9e98565c1f53266b0de5246299.png

After Texture:

image.png.0b2b1648c153dd56b3da6e6b83b57b7a.png

Runtime:

image.png.6ee2a67f526b06a1fedc964f8f356198.png

You'll see that clearance is heavily skewed to the right of the road there, with terrain details up to the very left side edge.

I've read in the past that this is caused by properties of the terrain, such as the resolution. I'm happy to tweak any terrain settings to get this to work, if that's helpful?

Thank you!

Link to comment
Share on other sites

I've tried increasing the Detail Resolution to:

  • Detail Resolution Per Path: 32
  • Detail Resolution: 1024

But that's made the effect even more pronounced: 

image.png.9743e34d6425af4fd6a115999618bb0b.png

Either the Clear Details is skewed to the left or the Texture is skewed to the right.

What's weird is that the preview looks right, but actually applying it does not:

image.png.12a5834d1eac465818bd54547cfb6107.png

You can see the gaps on the left that have been cleared outside of the preview area. And also see terrain details under the preview on the right, that should have been cleared.

Link to comment
Share on other sites

Hey @mroshaw,

I have been investigating this issue actively. Your screenshots have been a great help, but weirdly, I haven't been able to recreate the same problem on my end yet.

I've noticed that Unity sometimes has issues with Terrain serialization, and that might be messing with the settings you've changed. So, here's an idea: could you try setting up a new Terrain with the same settings and see if the problem persists?

Really appreciate your patience while we sort this out. Feel free to reach out if you have any other info or questions.

Link to comment
Share on other sites

Hey Manny,

I've tried a couple of things and can consistently reproduce with a Gaia "Medium" world - it seems to work okay with Tiny and Small. Here are my steps:

  1. Using Unity 2021.3.24f1, Build In Render Pipeline, Gaia Pro 3.3.6
  2. Create a new scene
  3. In Gaia Manager, create a new world
    1. World Size: Medium
    2. Target Platform: Powerful Desktop
    3. Target Biome: Alpine Meadow
  4. Generate World
  5. Spawn Biome
  6. In GeNa Manager, create new a Road Spline
  7. Create the road
  8. In the Clear Details Extension:
    1. Width: 6
    2. Shoulder: 1.5
  9. Click "Clear Details"
  10. In the Texture Extension:
    1. Width: 3
    2. Strength: 1
    3. Shoulder: 1.5
  11. Click "Texture"

You can see the gap between the cleared details and the textured road:

image.png.d28cfe065b583d09b82eff44200d6861.png

Link to comment
Share on other sites

Hey @mroshaw,

Thanks for providing me with this information! I'll try and investigate with the parameters you've shown me. 
Please keep an eye on this thread and I'll reply with my findings! 

Thanks mate! 🙂

Link to comment
Share on other sites

  • 2 weeks later...
  • Solution

Thought I'd update this, in case others have come across the same issue.

I've been able to successfully test a hotfix that Manny produced, so hopefully see a fix to this coming with the next GeNa update. Thanks again Manny!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...