2004-04-24, 03:20
hey guys,
after working on starburst, i decided i wanted to make a pluginwrapper for annother mp3 players plugins. i have the api for the other plugins and it looks doable. basically thier visual interface sends over a spectrum and waveform array, a width and a height of the space to draw. then it returns an array of pixel colors. if i can figure out how to use directx to color in each pixel as defined in the array i can make the wrapper. since i am not a directx guru i have no idea how to use directx to just change the color of each pixel. if you guys have any ideas how to do this let me know.
the other problems i am having are with direct3d. in my starburst code i can't seem to get it to render anything 3d. here is a link to my starburst code hopefully you guys can see something i don't.
the lines that should be rotating the camera around my 3d vis are as follows:
thanks so much
dylan
[email protected]
after working on starburst, i decided i wanted to make a pluginwrapper for annother mp3 players plugins. i have the api for the other plugins and it looks doable. basically thier visual interface sends over a spectrum and waveform array, a width and a height of the space to draw. then it returns an array of pixel colors. if i can figure out how to use directx to color in each pixel as defined in the array i can make the wrapper. since i am not a directx guru i have no idea how to use directx to just change the color of each pixel. if you guys have any ideas how to do this let me know.
the other problems i am having are with direct3d. in my starburst code i can't seem to get it to render anything 3d. here is a link to my starburst code hopefully you guys can see something i don't.
the lines that should be rotating the camera around my 3d vis are as follows:
Quote:setupcamera();you will need to take a look at the rest of the code to see what happens in my methods.
setuprotation(m_frotation+=5.0f, m_frotation+=5.0f, m_frotation+=5.0f);
setupperspective();
thanks so much
dylan
[email protected]