As z is constant, it is not really a 3D problem, you could solve it probably
drawing in a raster and updating the lot:
another way is to maintain an array of Point3f data and use this to draw a
3d line=>
Shape3D lines = new Shape3D();
file://create one strip only
int[] temp = new int[] {nb};
file://Logging.trace(4, "create LineStripArray with nb points "
+ nb);
LineStripArray platform = null;
try {
platform = new LineStripArray( nb,
LineStripArray.COORDINATES,
temp);
} catch (Exception e){
return;
}
platform.setCoordinates(0, points);
file://testoli
lines.setGeometry(platform);
// Wireframe:
LineAttributes wireframeLatt = new LineAttributes( );
wireframeLatt.setCapability(LineAttributes.ALLOW_WIDTH_READ);
wireframeLatt.setCapability(LineAttributes.ALLOW_WIDTH_WRITE);
// line width
wireframeLatt.setLineWidth( getConf().getLineWidth());
appearance.setLineAttributes( my appearance);
and refresh it with each change
regards
Olivier Fillon Minestar Project
[EMAIL PROTECTED] Mincom Limited
Ph.+61-7-3303-3344 61 Wyandra Street
Fax+61-7-3303-3232 Teneriffe Qld. 4005.
Australia
Company home page: http://www.mincom.com/
Personal home page: http://www.powerup.com.au/~fillon
--- A word from our sponsor ---
This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please delete
it and notify the sender. The contents of this E-mail are the opinion of the
writer only and are not endorsed by Mincom Limited unless expressly stated
otherwise.
--
-----Original Message-----
From: Muhammad Farhat Kaleem <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, January 12, 2000 10:31 AM
Subject: Re: [JAVA3D] Question
>Since there have been ads for computers and jobs on this list, I am
encouraged
>to re-send my question, which I consider is more close to Java3D :-)
>if I have not been able to write it clearly, pls let me know, since I would
>like to have some ideas........
>
>regards,
>farhat......
>
>Muhammad Farhat Kaleem wrote:
>
>> Hello All,
>> I would like pointers/suggestions/advice to the following:
>>
>> - information is to be represented in the form of a graph, so that the
>> x-axis represents the time, y-axis represents a varying value, and the
>> z-axis a constant value........this would be like a strip, whose width
>> along the z-axis is constant (for a certain time period)........
>> - also, the values (along the y and z-axes) can change according to
>> time, so that the graph should be "refreshed" as a result of user
>> demand......
>>
>> what would be the best way to go about doing this??
>>
>> TIA,
>> farhat........
>>
>>
===========================================================================
>> 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".