Hello Ranjan,

wouldn't know about your idea. Am not really versed in visualisation.

As for generating the geometry of the surface by sampling spheres and
calculating sphere intersections this should be possible in JUN. If you
are willing to use C you could try the GTS (Gnu Triangulated Surface)
library.

Option 2, generating the distance field and calculating an isosurface:
you'll need to have a volume grid and then in some way solve a poisson
equation. (for the case of a single sphere this equates to solving for
the distance I my maths are correct) in all these grid points. Then an
isosurface algorithm (again in GTS) should be able to construct a
surface from that.

All seems terribly complicated. Anybody any better ideas?

Ranjan.George wrote:
> Hi Mattijs,
>
> Thanx for the prompt reply.
>
> I was wondering if there is a solution to my problem using "Terrain
> Following" concepts!!!
> Seems like the sphere with respect to which I would like to draw my surface
> is nothing but my view point alias avatar and my shape for which I would
> like to draw the surface is the terrain.  So the locus of my view point will
> give me the surface.  Does this observation hold merit???
>
> Please advise!!  Also as I am new to this domain, can you give me some
> pointer,links or code snippets that will help me look into the two
> suggestions given by you???
>
> Regards,
>
> Ranjan George
> ingenovis, A Division of iLabs Ltd.
> Phone  : 91-040-3352900/2 Ext.2006/2016
> Fax    : 91-040-3351522
> Email  : [EMAIL PROTECTED]
> http://www.ingenovis.com
>
> -----Original Message-----
> From: Mattijs Janssens [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 07, 2002 5:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Surfaces: HELP!
>
>
> Hello Ranjan,
>
> I can think of two ways to do this:
> - calculate the spheres around each object and calculate the
> intersections. Maybe there are some Java libraries (e.g. JUN?) which can
> do the intersection for you.
>
> - calculate a field everywhere in space which gives the distance to a
> sphere (or some potential) and construct an isosurface of this field.
>
> Ranjan.George wrote:
>
>>Hi All,
>>
>>Am fairly new to Java 3D concepts.  The following is my requirement:
>>
>>I need to draw a surface over given shapes displayed on my Java 3D canvas.
>>Its like throwing a sheet over the bunch of shapes displayed on my canvas.
>>An added requirement is to draw the surface that can be accessed by a
>
> sphere
>
>>of given radius.  Imagine rolling a sphere of a given radius all over the
>>shape/shapes on my canvas.  I need to draw the locus of all its points of
>>contact.
>>
>>A good visual illustration is given by the two attached images.
>>
>>
>>
>>
>>
>>
>>Regards,
>>
>>Ranjan George
>>ingenovis, A Division of iLabs Ltd.
>>Phone  : 91-040-3352900/2 Ext.2006/2016
>>Fax    : 91-040-3351522
>>Email  : [EMAIL PROTECTED]
>>http://www.ingenovis.com
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>------------------------------------------------------------------------
>>
>
>
>
> --
> /*---------------------------------------------------------*\
> | ===========           Mattijs Janssens                    |
> | \\        /           Development Engineer                |
> |  \\      /                                                |
> |   \\    /             Nabla Ltd.                          |
> |    \\  /              The Mews, Picketts Lodge            |
> |     \\/               Picketts Lane, Salfords,            |
> |     F ield            Surrey RH1 5RG.                     |
> |     O peration        Tel: +44 (0)1293 821272             |
> |     A nd              Email: [EMAIL PROTECTED]       |
> |     M anipulation     URL: http://www.Nabla.co.uk         |
> \*---------------------------------------------------------*/
>
> ===========================================================================
> 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".
>
> .
>


--
/*---------------------------------------------------------*\
| ===========           Mattijs Janssens                    |
| \\        /           Development Engineer                |
|  \\      /                                                |
|   \\    /             Nabla Ltd.                          |
|    \\  /              The Mews, Picketts Lodge            |
|     \\/               Picketts Lane, Salfords,            |
|     F ield            Surrey RH1 5RG.                     |
|     O peration        Tel: +44 (0)1293 821272             |
|     A nd              Email: [EMAIL PROTECTED]       |
|     M anipulation     URL: http://www.Nabla.co.uk         |
\*---------------------------------------------------------*/

===========================================================================
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".

Reply via email to