Has anyone else had problems with creating scenegraphs with lots of objects.
I'm trying to create a scenegraph with approx. 25,000 Shape3D objects
(controlled with a Switch node). The objects themselves are very simple,
just a single point in a PointArray, but I've seen that creating up to 1,000
objects is fine, but after that point creating each object takes longer and
longer (exponentially so).
I'm interested to know if anyone else is using scengraphs with comparable
numbers of objects, or if I'm on a hiding to nowhere here and should try
something different (like immediate mode). Anyone have any suggestions for
me, to get reasonable performance?
A fuller description of my woes with Shape3D creation (as posted a couple of
days ago), is available here:
http://www.tornadolabs.com/java/java3ddocs.html
Any help is appreciated, and I'd love to hear from the Sun engineers who
have access to the Shape3D constructor source code, and might be able to
tell me what code is being called that appears to be N squared in the number
of Shape3D objects that have been created with non-default materials.
Regards to all,
Daniel Selman
Tornado Labs Ltd.
Email: [EMAIL PROTECTED]
Web: www.tornadolabs.com
Phone: +44 (0131) 343 2513
Fax: +44 07070 800 483
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/