lo, i can send you all those... additonal calls.
frank, the 0 is actually offset into the mb...
mike
On Apr 4, 2006, at 2:57 AM, Frank Condello wrote:
You can still use vDSP on the Mac but most of the nice combo
functions require 10.4, so you'll have to use soft declares to
determine if vintb is available, and use older APIs if it's not.
So you've already got this on 10.4:
vDSP.vintb(Points1, 0, Points2, 0, percent, points)
Which on previous Mac OSes can be done like so:
vDSP.vsub(Points2, 0, Points1, 0, points)
vDSP.vsmul(points, 0, percent, 0, points)
vDSP.vadd(Points1, 0, points, 0, points)
I don't have Mike's declares so I'm just guessing at the syntax -
I'm guessing a stride of "0" means "every element".
There may be some equivalent APIs for Win32 but I'm really not sure
- your best bet is to use that mythical plugin we sometimes talk
about on this list.
Frank.
–––––––––––––––––––––––––––––––––
Open Source RB Goodies and Shareware
<http://developer.chaoticbox.com/>
<http://www.chaoticbox.com/>
–––––––––––––––––––––––––––––––––
On 4-Apr-06, at 1:35 AM, Lo Saeteurn wrote:
That's sort of what I thought--thanks for the research Frank. Are
there ways to do these math for systems that doesn't support DSP
(prior to 10.4 and on Windows) without using RB's slow memoryblocks?
On Apr 3, 2006, at 10:23 PM, Frank Condello wrote:
vDSP_vintb requires 10.4 or later: <http://developer.apple.com/
documentation/Performance/Conceptual/vDSP/vDSP_Library.pdf>
On 4-Apr-06, at 12:19 AM, Lo Saeteurn wrote:
I copied and paste only the DSP part of the code. Why does it
work on everyone's system except his?
On Apr 3, 2006, at 8:58 PM, Mike Woodworth wrote:
lo, how did you re-add your old code... there was a problem
with the way you branched on the existance of normals. if you
kept the new logic I had, then i have no idea why... if i
remember you were not testing the all possible normal
memoryblocks for nil.
_______________________________________________
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>
--
Mike Woodworth
mike at divergentmedia dot com
_______________________________________________
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>
|