Page 1 of 1

Noob needs help (diff editor vs visualizer) ...

Posted: Mon Feb 27, 2017 8:33 pm
by AndersO
Hello, new guy here ...

I'm dipping my toes in the water and it's a bit cold (there's a learning curve). :)

I'm trying to create a circle of cubes and have run into a mystery; the model looks fine in the editor but when I use it in the Visualizer I get another behavior. Are there some differences in terms of coordinates or trigonometry I need to know about?

Any pointers are welcome!

Model in the editor:
visualizer.jpg
visualizer.jpg (5.27 KiB) Viewed 7330 times
Model in the Visualizer:
editor.jpg
editor.jpg (6.71 KiB) Viewed 7330 times

Re: Noob needs help (diff editor vs visualizer) ...

Posted: Tue Feb 28, 2017 10:00 am
by VilleK
Hi and welcome Anders (Swede?),

I can see no reason to why this would happen so it could be a bug that needs fixing. What components/script do you use to create the circle? You could upload your project here if you want.

Regards,

Ville

Re: Noob needs help (diff editor vs visualizer) ...

Posted: Tue Feb 28, 2017 10:20 am
by AndersO
Hej Ville! (Yes, I'm Swedish)

Here is my project, with logging using trace().

When I run it in the editor the coordinates are correct, in the visualizer the debug log shows something else.

Thanks for helping,
Anders

Re: Noob needs help (diff editor vs visualizer) ...

Posted: Tue Feb 28, 2017 12:04 pm
by VilleK
The problem is that SpecBandArray is 32 in the designer but the default size in the Visualizer is 256 (settings - spectrogram band count). So your script only paints the first part of the circle when run in the visualizer. You should prepare your script to be able to work with a SpecBandArray of 256 (the size of that array is set by the visualizer when the effect is loaded). Let us know if you need more help!

Re: Noob needs help (diff editor vs visualizer) ...

Posted: Tue Feb 28, 2017 12:24 pm
by AndersO
Thank you! :D