pictctrl object dials driving me cwwwwwaaaaaaaaazzzzzzy!S.O.S
Hi,
Being pretty much a noob when it comes to Max,I've just beginning dipping my toes into it's somewhat icey waters.Although I have to say that MAX 7 certainly goes a long way to warming these icey waters upto a more welcoming temperature for a noobie like myself!
Basically,I've made a considerable amount of process,untill it came to making my own custom dial controls using the pictctrl object.I have followed the help and reference documentation closely but to not much avail.
I have basically made a PNG image of 127 knobs laid out horizontally but no matter what I do,the pictctrl object displays either 2 knobs or 'slides' between the images in the PNG as the knob is rotated.I have attempted fiddling with every single parameter in the inspector but seem to be getting nowhere...if anyone could shed any light on this that would be greatly appreciated.
Thanks in advance
attach your png too.
This is ultimatly what I find so confusing,as in the documentation it seems that there is frustratingly no specific dimensions,gap between images etc that the image sequence needs to conform too,thus making it very difficult to comprehend the exact criteria required to make it function properly.
I will give your image a go now.
I just tried your image,with image count set to 100.
Your image seems to appear very strangely,as if the whole thing has been severely horizontally stretched.
in inspector:
snap size to picture: on
control type: dial
number of images 100
dial vertical tracking : on
works here
Ooooooops just figured this one out with your image at least.
When I downloaded the image intially,it was only downloading the thumbnail rather than the whole file!
My bad.
put original picture that i sent, dont alter it
Yes,your image works correctly and exactly as expected.I have no idea why my one doesn't though.It 'slides' through the images rather than moving sequentially through them.
I am currently making a new .PNG of my file with a 1px border and am going to try that.
I now seem to have it working perfectly!
It seems that the 1px border is critical for MAX to interpret the seperate images.This didn't seem too clear to me.
Thanks sooooo much for the help,it's very much appreciated.
Although I have now tried it with another knob image I made and the same thing is happening again,although there is a 1px border inbetween the images.I don't understand what variable is causing this.
how are you making those images?
In photoshop.Using this to the line them up:
Worked perfectly,and then tried it with a different image and the same problem is occuring even though there is a 1px border.
I presume though that the 1px border doesn't actually have any effect however and that MAX just works out the width of your .PNG and divides it by the number of images you enter to create the column 'width' it uses to effectively 'chop up' the .PNG.
seems that your tool is making some mistakes then, because if you have equal size pictures repeated 100 or whatever times, it should read perfectly in Max.
however, i highly recommend this tool for making knobs : http://www.g200kg.com/en/software/knobman.html
Yer,I think I've figure out the problem.When the image is made it doesn't add a 1px border to the very left border and the very right border of the final png which is throwing it off.When I add this it seems to work fine.
Yes I've already looked into knobman,and it looks great,I've actually been waiting years for it to come out on MAC...finally.
The only thing is that I make the knobs in 3D software so the lighting etc is correct and I have no idea how to load 127 individual png's into knobman,without individually making layers one-by-one which is pretty tiresome.
I was just wondering is your name 'ACHZO' a play on the german for 'I see'?
great you figured this out. stick to 3d software if you need correct lighting etc. knobman is great for minimalistic and fast stuff for me.
I see!
Import your separate photoshop layers into knobman, not the separate frames. That way the lighting can simply be a light-colored blob that you put over the basic structure in knobman, and then you can adjust the opacity (alpha) and make it more like a reflection.
Making designs in photoshop, then importing the layers into knobman is an incredibly useful method in general. A great way to make high quality designs. Highly reccomended