Ah, sorry.
Use an OrientedShape3D.
One caveat: I seem to remember mentions of problems w/ OrientedShape3D
objects somewhere in the list archives. You might want to check that out. If
it does turn out to be a problem, you can also look at the Billboard
behavior class, which I think I've used successfully (don't have my code in
front of me right now).

For the transparency, make sure your texture includes an alpha component and
that you set the TextureAttributes (and maybe the TransparencyAttributes)
correctly. Again, there was a good post a while back on how to do that, so
you should probably search the archives.

good luck,
-jrl

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Christian Bartel
Sent: Thursday, June 21, 2001 1:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Solar coronas (was: [JAVA3D] Background Geometry)


Hi Jean!

I had this idea (see my posting before). My Problem was: How to make it
always face the camera (remember, I am a NEWBY :-)))

Thanks

Christian

> -----Original Message-----
> From: Jean Laleuf [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 6:55 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Solar coronas (was: [JAVA3D] Background Geometry)
>
>
> You might be able to hack this effect:
> Make a quad that's always oriented towards the camera. Give
> it a texture
> that looks like the corona effect you're after (make sure
> it's transparency
> around the edges of the corona). Scale the quad so the corona
> matches up
> well with the geometry of the star/sun. Make sure the center
> of the quad (ie
> the rotation point) is lined up w/ the center of the star/sun
> sphere. That
> way, it should always look like the corona surrounds the sphere.
> Let me know if this works.
>
> -Jean Laleuf
> [EMAIL PROTECTED]
>
> ps. you could maybe even do some cooler effects with this
> method such as
> solar flares, etc. Could be a lot of fun.
>
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Corysia Taware
> Sent: Thursday, June 21, 2001 12:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Background Geometry
>
>
> ----- Original Message -----
> From: "Christian Bartel" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 21, 2001 10:00 AM
> Subject: Re: [JAVA3D] Background Geometry
>
>
> > But, if I travel to a star in Celestia, this star is
> glooming a little
> bit.
> > If I were able to make my sun look somehow like that, I had the
> possibility
> > to make my little scene look rather perfect. Do you know a
> way (in Java3D)
> > to make this? *please* :-)))
> >
>
> I'm sorry, no I don't.  I haven't tried to figure that out
> yet.  It looks
> like the corona is done with some sort of lens flare
> algorithm, but I don't
> have any experience with simulating that yet.
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.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".
>
> ==============================================================
> =============
> 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".

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