Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualVangoule

Posted 30 January 2013 - 10:59 AM

Oh and as for Gaps. My noise function takes in a vec3 to calculate the height of a vertex. If a vertex is in the same place it will go to the same height. Therefore i should get no gaps. 'Hopefully' T-Junctions however will still exist. When creating the new patches - How are you 'linearly interpolating' them to scale them back up?

Edit: I assume i just average between two vertices. However, my vertices are in an std::vector<glm::vec3> so it's only 1 dimensional. So i'm trying to get my head round it atm. Though i'm still wondering how to position my patches. I'll upload some pictures when i'm finished. Currently not using indices so i have well over 20 buffers. (Bad FPS incoming) I'll sort that out when it works.

#5Vangoule

Posted 30 January 2013 - 10:41 AM

Oh and as for Gaps. My noise function takes in a vec3 to calculate the height of a vertex. If a vertex is in the same place it will go to the same height. Therefore i should get no gaps. 'Hopefully' T-Junctions however will still exist. When creating the new patches - How are you 'linearly interpolating' them to scale them back up?

Edit: I assume i just average between two vertices. Silly me. Though i'm still wondering how to position my patches. I'll upload some pictures when i'm finished. Currently not using indices so i have well over 20 buffers. (Bad FPS incoming) I'll sort that out when it works.

#4Vangoule

Posted 30 January 2013 - 10:41 AM

Oh and as for Gaps. My noise function takes in a vec3 to calculate the height of a vertex. If a vertex is in the same place it will go to the same height. Therefore i should get no gaps. 'Hopefully' T-Junctions however will still exist. When creating the new patches - How are you 'linearly interpolating' them to scale them back up?

Edit: I assume i just average between two vertices. Silly me. Though i'm still wondering how to position my patches. I'll upload some pictures when i'm finished.

#3Vangoule

Posted 30 January 2013 - 05:17 AM

Oh and as for Gaps. My noise function takes in a vec3 to calculate the height of a vertex. If a vertex is in the same place it will go to the same height. Therefore i should get no gaps. 'Hopefully' T-Junctions however will still exist. When creating the new patches - How are you 'linearly interpolating' them to scale them back up?

#2Vangoule

Posted 30 January 2013 - 05:17 AM

Oh and as for Gaps. My noise function takes in a vec3 to calculate the height of a vertex. If a vertex is in the same place it will go to the same height. Therefore i should get no gaps. 'Hopefully' T-Junctions however will still exist. When creating the new patches - How are you 'linearly interpolating' them to scale them back up?

#1Vangoule

Posted 30 January 2013 - 05:16 AM

Oh and as for Gaps. My noise function takes in a vec3 to calculate the height of a vertex. If a vertex is in the same place it will go to the same height. Therefore i should get no gaps. 'Hopefully' T-Junctions however will still exist.


PARTNERS