darrislim Posted May 8, 2012 Posted May 8, 2012 AnyOne who can help me or give an example for drawing a pipeline using direct3D with vb.net? Quote
Leaders snarfblam Posted May 8, 2012 Leaders Posted May 8, 2012 Of course. Please post the code you have so far and explain which step you are having trouble with or what aspect of the task you don't understand. That way we know exactly what you need help with. Quote [sIGPIC]e[/sIGPIC]
darrislim Posted May 12, 2012 Author Posted May 12, 2012 Thx to reply me, actually i wanna a example how to draw a pipe with curve, i m newbie for Direct3D. could u do that for me? Quote
Leaders snarfblam Posted May 13, 2012 Leaders Posted May 13, 2012 Are you following some sort of tutorial or something? Have you tried to code it on your own? Quote [sIGPIC]e[/sIGPIC]
dotnetguy37 Posted May 15, 2012 Posted May 15, 2012 Have you tried to code it on your own?Yes, snarfblam is right...a few more coding details would be helpful. For instance, there is a Mesh.Torus Method which could produce a 3D pipe that is curved into a 3D circle (torus), (but I'm not sure if that's what you want). If it is a fairly complex set of twisty-turny 3D piping sections you might want to use something like Blender to generate the necessary .X file(s), and bring it into DirectX to render it programmatically using the 3D person Viewport method described here. The other approach might be to "Draw 3d Ring object" (or series of 3D ring objects) using a ID3DXPatchMesh structure for tessellation. Quote
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.