You can also have a DOT3 BumpMapping.
The grayscale images is actually a heigh map field,
and is converted to a normal map.

NomalMap DOT3 LightMap = per pixel BumpMap

But to have it you must have a 3D hardware with
Combine DOT3 capabilities (GForce, Radeon, etc)

see a running demo here (source code available):

http://geocities.yahoo.com.br/alessandroborges/bump/

http://geocities.yahoo.com.br/alessandroborges/bump/bump.html
http://geocities.yahoo.com.br/alessandroborges/bump/bump2.html

Alessandro Borges


 --- Sven Luhn <[EMAIL PROTECTED]> escreveu: > I think
you want to display the grayscale image in
> 3D. Then you have to
> create the 3D geometry for the 2D-image. You can
> interpret the gray
> values of the 2D-image as z-Values in the third
> dimension.
>
> To rotate the scene you have to add a
> MouseRotateBehavior to your scene.
>
> Fei Li wrote:
>
> >Hi,
> >
> >My first question for this group.
> >
> >I have a grayscale image and I woulk like to see a
> 3d picture and use mouse
> >to spin around. What should I do?
> >
> >Thanks
> >
>
>===========================================================================
> >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".

_______________________________________________________________________
Desafio AntiZona: participe do jogo de perguntas e respostas que vai
dar um Renault Clio, computadores, cāmeras digitais, videogames e muito
mais! www.cade.com.br/antizona

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