Quesa stores the values as singles (which is the same size of a Long
integer). Could this be the problem? Do singles work?
On Mar 25, 2006, at 8:32 AM, Jeff Quan wrote:
On Mar 25, 2006, at 1:04 AM, Frank Condello wrote:
It should be much faster to use the bulk multiply/add methods of
the VectorList class in combination with RB's Trimesh class. A big
bottleneck with manipulating memoryblocks in RB code is the
accessor methods themselves. There were a few discussions in the
past here on the Games NUG about making a "Vector Plugin" to speed
up these types of memoryblock manipulations. Joe went ahead and
added some of what was discussed to Rb3D but I'd still like to see
an implementation that works on memoryblocks - or nice fast
pointer math in RB itself!
Actually, there may be a problem with the VectorList bulk mult/add
methods -- in my tests they seem to treat Doubles as Integers. I
showed the problem to both Joe and Dave Grogano at REALworld.
What I did to get around it was to loop through each vertex to do
the math.
==
Jeff Quan
jquan at mindspring dot com
http://www.geocities.com/jeffqportfolio/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|