Usually this is called "Raster to Vector" conversion and is non-trivial.
There are several packages out there that can do it, for a cost
Usually, they are for converting 2D drafting documents to CAD formats,
like dxf.
Kasparian, Raffi J. wrote:
> If you find an algorithm for converting a bitmap to polygonal instructions,
> please share it with us. I would be interested in seeing it.
>
> Raffi
>
> -----Original Message-----
> From: Fabrizio Nunnari [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 20, 2001 10:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] 2D to 3D
>
>
> On Tue, 20 Feb 2001, Brian wrote:
>
> Hi,
> I don't have any answer to this, but I'll need to solve the very same
> problem in the future. So I'm looking for an algorithm to retrieve a
> coordinates set from a bitmap image. Something like converting a bitmap
> image into a polygonal one.
> Is anyone having some reference (Books, URLs) for this?
>
> About the modelling and extrusion: I'm not sure, but I remember that in
> the Java Tutorial ("Collateral" section of the Java3D web page) there is a
> section explaining exactly this and the reference to the supplied classes
> to do it.
>
> Fabrizio Nunnari
>
>
>> Hi, I'm currently working on a java application that read a floor plan
>> image and generate the corresponding 3D model. The concept is to
>> extrude the wall outline from the floor plan.
>>
>> I want to use java3D to construct the 3D model, now the questions are:
>>
>> 1) Any operation provided in java3D is able to perform extrusion?
>> That means, convert the wall outline into Shape, and extrude
>> the Shape?
>>
>> 2) If I'm able to get the coordinate information of the wall
>> outline, any method to construct the 3D model from the
>> coordinate information? Using TriangleStripArray?
>>
>> 3) I want the generated 3D model can be stored in vrml format, so
>> that users can view them outside the application. Is java3D
>> able to write the generated 3D model into vrml?
>>
>> Thanks in advance!
>>
>> Brian
>
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
--
___________________________________________________________
Shawn Kendall Full Sail Real World Education
Course Director 3300 University BLVD
Real Time 3D for Gaming Winter Park FL 32792
[EMAIL PROTECTED] http://www.fullsail.com
___________________________________________________________
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".