<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>I just committed code to the gsoc2015-constellationsart branch. The code doesn't compile yet, it is meant for review. Here is a quick summary of the changes I have made.<br><br></div>1. ConstellationsArt is a SkyObject. ConstArtComponent is a SkyComponent.<br></div>2. ConstArtComponent has a QList that maintains all required data for drawing images on the skymap.<br></div>3. I have modified TextureManager::findTexture() to include the path skycultures/western when it searches for image files.<br></div>4. Added ConstArtComponent via addComponent() in SkyMapComposite.<br></div>5. The virtual function draw() is called from SkyMapComposite as ConstArtComponent *m_ConstArt; m_ConstArt->draw(skyp);<br></div>6. The ConstArtComponent::draw(SkyPainter *skyp) function has a loop that runs to draw 85 western constellation images. It calls the drawConstArtImage function to do the drawing. <br></div>7. ConstArtComponent::drawConstArtImage(SkyPainter *skyp, ConstellationsArt *obj, bool drawImage) draws the constellation image using the QImage::drawImage() function. <br><br></div>Questions that I have:<br></div>1. I am using the QImage::translate() function to translate to position corresponding to a star in a constellation.There are 3 reference stars for each constellation, so how should I define the position to translate to?<br><br></div>2. In each constellation image, a particular pixel is supposed to correspond to a particular star. How do I make that particular pixel draw ON the corresponding star?<br><br></div><div>Thanks and regards<br></div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div><div>M.S.Adityan</div><div dir="ltr">Website: <a href="http://www.msadityan.com" target="_blank">www.msadityan.com</a><div><a href="https://www.linkedin.com/in/msadityan" target="_blank">https://www.linkedin.com/in/msadityan</a><br></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>