Hi everyone ..<div><br></div><div>I have been trying to learn basics of qt graphics programing so that i can be in good position to work on my Google summer of code proposal.</div><div><br></div><div>I have successfully modified the draw() in cometscomponent.cpp to display a good picture in place of a comet.. experimented with various colors but with red and gray color scale, it looks good.. ideally colors should be different depending on the comet but, for now i am using only one image to represent comets.</div>
<div><br></div><div>Have attached two snapshots , one shows a few comets and other shows close look at a comet.</div><div><br></div><div>But i am facing some problems regarding..</div><div><br></div><div>i) int width= f (tailsize);</div>
<div><br></div><div> I am unable to convert that tailsize to a value that can be used as a width to display comet with tail at current zoom level.</div><div><br></div><div><br></div><div>ii) an angle through which image should be rotated so that the tail appears to point away from sun..</div>
<div><br></div><div>Thank you,</div><div>Vipul Kumar Singh</div>