Jump to content
boformer

Tree LOD Enhancer mod idea

4 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

When I made the Random Tree Rotation mod, I also investigated if there was a way to rotate the LODs.

Trees have no real LOD. Instead the game renders a tree once per frame on a separate canvas (which can be seen in Modtools), then cardboards with this canvas are drawn on the terrain. That's the reason why LODs can not be rotated.

After thinking about it, I think I found a way to add rotated tree LODs. Instead of having one canvas, a mod could add 16/8/4/2 canvases to render the tree with different rotation parameters. Then the mod selects one of the canvases depending on the position of the tree on the map.

In the same go, the mod could enhance the LOD quality by increasing the size of the canvases, enabling AA etc.

  • Like 7
  • Yes 1

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

I sincerely look forward to this, it will be a huge improvement if it's possible.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
On 14-9-2017 at 3:29 PM, boformer said:

When I made the Random Tree Rotation mod, I also investigated if there was a way to rotate the LODs.

Trees have no real LOD. Instead the game renders a tree once per frame on a separate canvas (which can be seen in Modtools), then cardboards with this canvas are drawn on the terrain. That's the reason why LODs can not be rotated.

After thinking about it, I think I found a way to add rotated tree LODs. Instead of having one canvas, a mod could add 16/8/4/2 canvases to render the tree with different rotation parameters. Then the mod selects one of the canvases depending on the position of the tree on the map.

In the same go, the mod could enhance the LOD quality by increasing the size of the canvases, enabling AA etc.

How do you combine the canvasses? Or is every single mesh seperately drawn on a canvas? 

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     
    2 hours ago, Darf said:

    How do you combine the canvasses? Or is every single mesh seperately drawn on a canvas? 

    Internally there is one large canvas for all trees (like a texture atlas).

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account


    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections