FuzeIII Posted February 14, 2017 Posted February 14, 2017 Hi, I would like to know how one would recreate lines such as the one present in the thaumonomicon of Thaumcraft (https://gyazo.com/0b6f5cf9effcbd822d9974251a541480). Theses are not straight lines and I honestly don't know where to start. In addition, I did a bit of research to find if there was a pre-made function that would draw a straight line between 2 points. I found nothing except drawHorizontalLine and drawVerticalLine, which is not really what I'm interested in. I'm a beginer with OpenGL, so I assume I would have to define 2 vertices and draw a line in between them, but how would I define the thickness of the line ? I tried a few things but noithing would really render. I would be very grateful if someone could provide an example. Thanks. -Fuze Quote
Draco18s Posted February 14, 2017 Posted February 14, 2017 They're either bezier curves or splines. You'd likely have to write the math for them yourself Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.