Archived

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

zjkw

How to Draw the wall of the Round Pipeline?

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
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