Just have one transform group to change the location of the view
platform....
What direction the transform moves the view platform in can be calculated by

which point you want to move toward.

Bob Gray

-----Original Message-----
From: Decker, Scott D [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 06, 1999 1:49 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] thounsands of points, scaling, and text


So, I have a fun problem I thought I would get some ideas for

We have a parallel view that shows, currently, 6000 points
this could easily get up to 20000, or even one million points

for each of these points, we also have a text string that is associated with
it

to zoom into a point, we affect the scale of the transform for the points
the points come in closer, but do not change in size.. exactly like the user
wants it

to get the text to not change size though, we need to keep a transformgroup
for
each of
the text strings for each point. so, when we scale, we change all of the
transforms of the text to match where the point is, and make sure the text
does
not get really huge either.

So, in effect, we have about 6000 transform groups, possibly even 1 million
transform groups
by the way that we are currently doing it

Does anyone have an idea on how we could still zoom in on these points, but
not
have to keep all of the transforms for the text items?

current implementations
points - Single PointArray

text - All done with Line Arrays then set inside of Shape3Ds

we do a parallel view right now, so that we can scale into the view

if we did perspective, we could translate along the z axis, but how do you
move
the text in as
well to be aligned with the point and not have it be really huge(because of
perspective)
likewise, if doing the perspective, we would also have to have a transform
group
for each text shape

we tried going down the path of creating a primitive shape
with all of the text shapes contained within it
and then having that primitive controlled by one transform group

did not really know where to go with that though

So, any fun ideas out there?
Thanks
Scott Decker
[EMAIL PROTECTED]

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