Jump to content
  • Advertisement

Archived

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

zjkw

How to Draw the wall of the Round Pipeline?

This topic is 5938 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

I have known the route(position of central points in the World-Coordinate-System,BTW:the route is not beeline!) and the radius of a pipeline ,but I don''t known how to draw the outer-wall of the pipeline and spent three days on the question,Can you give me some advice or code?Any helps are appreciating!

Share this post


Link to post
Share on other sites
Advertisement
Thanks a lot!
Now I only need the pipes connection tradition style of ANCON just like in "OpenGL 3D Pipes Screen Saver" in Windows Operation system.I want to get some source code and study it.Can you give me a direction or advice?

Share this post


Link to post
Share on other sites
the problem is straight forward. just draw the pipes along the points an when you reach a juntion use the correct joint and continue on your way.

a pipe is just a tunnel basically. heck draw rings of vertices then connect them. why dont you try a little instead of expecting hand outs (its obvious you did not try since you are asking such a general problem).

joints can be created by modeling them in a 3d app and exporting it to a format you can use. or you can do it out by hand with vertx coordinates.

elbow joint the common one is basically a pipe that rotates around a point. since pipes are circles, this aint too difficult.

the ball joint is a sphere with pipes attached.

(hint pipes==cylinder segments connected)

you wont get source from me, thats for sure.

Share this post


Link to post
Share on other sites
Thanks!
I have used Sphere to draw elbow,But the effect is not good,I want to find a better method.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!