Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Firemonkey 3D


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: May 6, 2017 12:15 AM Last Post By: Eli M
Regent Beaulieu

Posts: 1
Registered: 1/30/06
Firemonkey 3D  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 22, 2017 2:16 PM
I would like to use 3D viewport to do volume rendering from 2D medical images (slices series). Anyone have suggestion to a have a good start point reference and sample code in Firemonkey ?

Thanks.
Douglas Rudd

Posts: 314
Registered: 5/16/97
Re: Firemonkey 3D  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 22, 2017 5:19 PM   in response to: Regent Beaulieu in response to: Regent Beaulieu
You mean like a 3D model of your liver from a CAT scan?
There is nothing built in, so you would have to build it from scratch.

What I would do is, on the 2D slice make an outline of the object, divide the outline into a certain equal number of points. These will be X,Y points. Then on the next slice, make another outline and divide it up into the same number of points. Then raise the slice in the Z direction and connect the points with the first slice points.
Until you have connected all the slices.

Then make triangles between the points, then you have your surface.

This tells you how the surface triangles are made:
http://edn.embarcadero.com/article/42007
Except the code needs to be updated to compile on the latest Delphi.
Wil van Antwerpen

Posts: 24
Registered: 11/26/01
Re: Firemonkey 3D  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 28, 2017 9:28 AM   in response to: Regent Beaulieu in response to: Regent Beaulieu
Regent Beaulieu wrote:
I would like to use 3D viewport to do volume rendering from 2D medical images (slices series). Anyone have suggestion to a have a good start point reference and sample code in Firemonkey ?

Thanks.

Hi,

I've not used this in FireMonkey, so not sure how well it will work in FMX, however when I read your question I immediately think:

http://glscene.sourceforge.net/

--
Wil
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02