• Advertisement
Sign in to follow this  

Generating continuous texture coordinates

This topic is 4217 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am thinking about writing my own LSystem plant generator. As for trees I wonder how to generate continuos texture coordinates so there are no seems between the branches and the stam. The bark texture shall be seamless as a precondition of course Any idea?

Share this post


Link to post
Share on other sites
Advertisement
Uuummm I'm unsure about how you're going to do an L-System (interesting read, thanks for turning me on to this! Have you seen Planta?)

My guess is:
How you derive the texture coordinates is entirely dependant on however you generate the mesh. If, for example, you have one trunk that has one branch split off of it, then the V coordinate of the UV is the scaled down ratio of where the branch is on the trunk. U would similarly depend on the branch's position in relation to it's intersection with the trunk.

Share this post


Link to post
Share on other sites
Well, the obvious continuous space would be the xyz positions of your vertices - no seams, guaranteed.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement