PDA

View Full Version : Lol - my plugin go BOOM!



sami
02-07-2013, 04:56 AM
Needed to take a break from my project and rigging, and decided to unwind by quickly coding a free plugin for the community (yes I know that is weird :yoda:).
For some reason I thought generating waveforms out of audio files as envelopes and models would be cool. So I wrote a quick waveform drawing plugin for Modeler.

Gotta put a sample resolution slider on the plugin interface there, because I just exploded my video card:

111245 :lol:

Note to self: Don't automatically lathe a waveform curve and turn on subpatches. :bangwall:

Sensei
02-07-2013, 05:13 AM
Maybe division by 0.. ?
Try making sub-patch that has all vertexes in the same location.
Make quad then use Set Value 0 for all axes.

sami
02-07-2013, 05:18 AM
Maybe division by 0.. ?
Try making sub-patch that has all vertexes in the same location.
Make quad then use Set Value 0 for all axes.

good guess - but I just tried what you said and no crash. I think it's because I accidentally created an object with > 42 million polys ;D

OnlineRender
02-07-2013, 07:49 AM
42 million polys ;D

that might be the issue :P