"Don't forget J3D un-indexes indexed geometry structures before passing
them to the card"
So is it better and faster to use directly non indexed geometry arrays ? The cost of memory in non indexed geometry is less than using indexed geometry ?
_______________________________________________________________
Justin Couch <[EMAIL PROTECTED]> wrote:
Joerg 'Herkules' Plewe wrote:
> I'm playing around with a primitive heigthfield renderer on a regular grid
> loaded from an image file.
Are you constructing your own, or using the one in the j3d.org
repository. The one I have there generates from 512 square images and
renders them quite fine with no memory problems.
> I setup the IndexedTriangleArray to use my own arrays with the flag
> combination:
Don't forget J3D un-indexes indexed geometry structures before passing
them to the card. Maybe try using J3d 1.3 and the USE_COORD_INDEX_ONLY
so that it only needs one copy of the index array.
--
Justin Couch http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler http://www.yumetech.com/
Author, Java 3D FAQ Maintainer http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
- Greg Bear, Slant
-------------------------------------------------------------------
===========================================================================
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".
Do You Yahoo!?
Yahoo! Greetings - send greetings for Easter, Passover