Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


3-D Mesh from Random Points

This topic is 6174 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 have 3-d points in a file (Format : x, y, z) and want to generate a 3-D surface / Mesh from it. Can anybody tell me how to generate a surface from random data? Remeber points are not in any uniform form. Regards, Faisal

Share this post

Link to post
Share on other sites
Ok first you have to get an x,z plane. ( hmm the easier way is to get an square shape x,z plane)

Then you randomly modify y.

In the end of this operation you will have many xyz points.

To create a real solid plane you have to connect logically every 3 points in to triangles :D

1.0.0 triangle 01

1.1.0 triangle 02

When you connect these points to a triangles, you shold get a simple one square plane :D ( ahh it''a just an idea )

you can use a loop to make it larger ...

Actually i have the same problem ... implementing this in GL4Java :D ( Hope it will help you )

Share this post

Link to post
Share on other sites
see the faq at the comp.graphics.algorithms usenet group


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!