<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi All,<div><br></div><div><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; "><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">Im using </span><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><b>vesKiwiViewerApp</b></span><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "> in my iOS application.</span></span></div><div><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; "><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><br></span></span></div><div><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; "><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">I would like a add </span><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><b>Texture</b></span><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "> to my 3D model which is rendered through "</span><span style="font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; "><b> </b></span></span><span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; "><b>bool loadDataset(const std::string& filename);"</b></span></div><div><span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; "><b><br></b></span></div><div><font class="Apple-style-span" face="Arial" style="font-size: 13px;">I have found one method as " </font><span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; "><b>void setTexture(vesSharedPtr<vesTexture> texture);" </b>in </span><span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; "><b>vesKiwiPolyDataRepresentation </b>class.</span></div><div><span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; "><br></span></div><div><font class="Apple-style-span" face="Arial"><font class="Apple-style-span">However Im unable to create </font><b>vesImage </b>from my<b> </b><b>.jpg </b>texture image<b> </b>file<b>. </b></font></div><div><font class="Apple-style-span" face="Arial"><b><br></b></font></div><div><font class="Apple-style-span" face="Arial">Im looking some thing like<b> vtkPNGReader </b>in<b> VES.</b></font></div><div><font class="Apple-style-span" face="Arial"><b><br></b></font></div><div><font class="Apple-style-span" face="Arial">Any help on this is appreciated.</font></div><div><font class="Apple-style-span" face="Arial"><b><br></b></font></div><div><font class="Apple-style-span" face="Arial"><b>my code is</b></font></div><div><font class="Apple-style-span" face="Arial"><b><br></b></font></div><div><font class="Apple-style-span" face="Arial"><b><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <font class="Apple-style-span" color="#1b0e51"> vesKiwiPolyDataRepresentation* polyDataRepresentation = self->renderer.app->getKiwiPolyDataRepresentation(0);</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" color="#1b0e51"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><font class="Apple-style-span" color="#1b0e51"> vesSharedPtr<vesTexture> texture = polyDataRepresentation->texture();</font></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px"><font class="Apple-style-span" color="#1b0e51"> <br class="webkit-block-placeholder"></font></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><font class="Apple-style-span" color="#1b0e51"> vesSharedPtr<vesImage> textureImage = </font><b><font class="Apple-style-span" color="#1b0e51"> </font>//here i would like create vesImage pointer from my texture-color.jpg file</b></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px"><font class="Apple-style-span" color="#1b0e51"> <br class="webkit-block-placeholder"></font></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><font class="Apple-style-span" color="#1b0e51"> texture->setImage(textureImage);</font></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px"><font class="Apple-style-span" color="#1b0e51"> <br class="webkit-block-placeholder"></font></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><font class="Apple-style-span" color="#1b0e51"> polyDataRepresentation ->setTexture(texture);</font></div></b></font></div><div><font class="Apple-style-span" face="Arial"><b><br></b></font></div><div><font class="Apple-style-span" face="Arial"><b><br></b></font></div><div><font class="Apple-style-span" face="Arial" style="font-size: 13px;"><br></font></div><div><font class="Apple-style-span" face="Arial" style="font-size: 13px;"><br></font></div><div><font class="Apple-style-span" face="Arial" style="font-size: 13px;"><br></font></div><div><font class="Apple-style-span" face="Arial" style="font-size: 13px;"><br></font></div></body></html>