Hi Chris,

We are dealing with proteins here which is much complex and compact shape
than DNA. It is very much possible that a user zooms out to a level where he
can view the whole molecule on the screen. I agree to you that some of the
sphere will be at such a scale where they are equivalent to a particle
system. the thing is, how much ever small a sphere is, it has a different
look then a 2D particle. There are tools in the market(ofcourse not in
Java3D) which are capable of rendering such a large number of spheres, so I
think we should be able to do it in Java3D as well.

cheers,
Nitin

> -----Original Message-----
> From: Chris Forrester [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 18, 2002 11:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Spheres
> 
> 
> Yeah, i'm a bit confused here - why do people need so many 
> spheres? I'm
> sorry, but it just seems like inefficient program design to 
> need 10,000
> seperate spheres drawing in a scene at once. At this scale, 
> it seems like a
> particle system, and i'm pretty sure you could get huge 
> speedups by not
> having to go through a full transformgroup stack each frame 
> for each of your
> 10,000 spheres.
> 
> I mean, if it's for dna analysis or something just build a 
> trianglestrip of
> all the spheres in the chain, and attach all of these into a single
> transform.
> Java3d will technically do this already, but you need to 
> compile to get this
> working, and that means no more modifications to the group 
> afterwards unless
> you detach/reattach, etc.
> 
> It's just one of the maxims of efficient coding -
> "If it takes too much time, you're doing it wrong"
> 
> 
> >From: "Nitin.Jain" <[EMAIL PROTECTED]>
> >Reply-To: Discussion list for Java 3D API 
> <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: [JAVA3D] Spheres
> >Date: Wed, 17 Apr 2002 14:10:13 +0530
> >
> >Hi,
> >
> >By default the Spheres share the geometry. You can do it 
> your self as well
> >by taking the geometry out of first sphere and create new 
> Shape3D objects
> >using this geometry and the appearance you like.
> >Sphere sp1 = new Sphere(radius, ap);
> >Geometry geom = sp1.getShape().getGeometry();
> >Shape3D sp2 = new Shape3D(geom,ap);
> >Shape3D sp3 = new Shape3D(geom,anotherAp);
> >
> >the crux of the problem, "lot of Sphere", lies in the 
> number...can you
> >specify how many spheres u need to draw?
> >
> >
> >nitin
> > > -----Original Message-----
> > > From: Raśl [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, April 17, 2002 3:19 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [JAVA3D] Spheres
> > >
> > >
> > > Hello to everybody!
> > >
> > >
> > > I have to create a lot of spheres with the
> > > com.sun.j3d.utils.geometry.Sphere class.
> > >
> > > I want to the spheres share their geometry but not the appearance.
> > >
> > >
> > > if I use that ...
> > >
> > >
> > > Sphere sp1 = new Sphere(radius, ap);
> > > Sphere sp2 = new Sphere(radius, ap);
> > > Sphere sp3 = new Sphere(radius, anotherAp);
> > >
> > > which spheres are sharing geometry??
> > >
> > > Thanks a lot.
> > >
> > > ==============================================================
> > > =============
> > > 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".
> 
> 
> 
> 
> ------------------------
> 
> Chris Forrester
> 
> http://www.geocities.com/Psionic81
> 
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.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".

Reply via email to