Hello~
I am having a trouble with draw view control. The things I draw keep showing bigger than I expect or located in wrong position of the screen.
I set the Syphon output size to 1024*768 -since I want to output the screen in this size later- and set preview panel to 4/3 ratio.
I dragged the draw view control to workspace and named it ‘draw0’. It seemed the actual size or the location of draw view control in the workspace matters, so dragged the control into 1024*768 size. It was bothersome because I had to make the workspace size bigger than 1024*768 to see the control size figure and than shrink the workspace down so that it doesn’t cover the other interface. (this sounds stupid but I don’t know other ways…)
I wasn’t sure it will work but I also wrote
module.setAttribute('draw0', ' FRAME', 0,0, 1024, 768)
in init() script panel.
When I draw a circle which suppose to be located on (0, 0), it shows in wrong location.
module.paintOval('draw0', 0, 0, 100, 100, 1,1,1,1)
module.finishDrawings('draw0')
module.sendContentToLayer('draw0', ' drawlayer', 1)
If I tick normalise in TRANSFORM panel, the circle moves to the right position, but I feel this is not right. I feel I am totally misunderstanding the size concept in Modul8.
I have been struggling for this issue for long hours but I really don’t know what to do…
Please help me out.
Thank you.