2d to 3d

Posted on 2003-03-28
Medium Priority
Last Modified: 2010-04-04
As part of a project i have been asked to create a program to produce 3d objects from 2 dimentional profiles via a volume sweep.

Can you tell me how to do this in Delphi, the code i am using to create the 2d line drawings is below..


procedure TForm3.FormMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);

      if numPoints2d > 50 then
      ShowMessage ('Too many points');

    points2d[numPoints2d] := point(X, Y);
      canvas.lineTo(x, y);



I am storing the points data in an array

points2d   : array[1..50] of Tpoint;

In addition to the above i will need to draw a 3d sphere but i have no idea how to do this, can you help?

Thanking you in advance

Mark Bowles
Question by:3dStudent
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 8233258
Use OpenGL. It should be simple


Accepted Solution

Slavak earned 300 total points
ID: 8233261
Additional point:

Youn can use Polygon function to draw this series of lines.
It should be faster.


Expert Comment

ID: 9316562
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question