Thanks for this information. I must have skipped over it when I read
through the docs earlier. I will investigate this more and see if a
solution lies here.
Nick
|---------+------------------------------>
| | Florin Herinean |
| | <[EMAIL PROTECTED]|
| | DE> |
| | Sent by: Discussion|
| | list for Java 3D |
| | API |
| | <[EMAIL PROTECTED]|
| | VA.SUN.COM> |
| | |
| | |
| | 03/07/2003 07:47 AM|
| | Please respond to |
| | Discussion list for|
| | Java 3D API |
| | |
|---------+------------------------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: [JAVA3D] AW: [JAVA3D] Instantiating GeometryArrays without
knowing their s ize |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
You are at a dead end with that aproach. You cannot bypass the constructor.
There may be a solution using replacement objects. Except from
Externalizable API docs:
"An Externalizable instance can designate a substitution object via the
writeReplace and readResolve methods documented in the Serializable
interface"
This substitution objects should be used to store and recreate your
geometry
array. However, I don't know if and how it works, never tryed by myself.
Cheers,
Florin
-----Urspr�ngliche Nachricht-----
Von: Nick Stark [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. M�rz 2003 14:37
An: [EMAIL PROTECTED]
Betreff: Re: [JAVA3D] Instantiating GeometryArrays without knowing their
size
Thanks for the response. However, to construct a geometry array, one of
the parameters that must be passed is the vertex count, which is simply an
integer. If you pass 0 as the vertex count, then I have not been able to
later increase this vertex count which has been the problem here. Any
ideas to address that would be great...
Thanks,
Nick
==========================================================================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".