Hi Louis,<div><br></div><div>With some more opengl experience under the hood, I think this could be a problem:</div><div>(I have not tried it though):</div><div><br></div><div>This was my array definition:</div><div><br></div>
<div><div>;for textures </div><div>(gl:define-gl-array-format mesh-tvertex</div><div> (gl:vertex :type :float :components (x y z))</div><div> (gl:tex-coord :type :float :components (u v)))</div></div><div><br>
</div><div>I think I should keep a separate array for vertices and textures. Then things</div><div>should work out fine. Is this correct? This is what I currently do when using</div><div>Lispworks with its opengl ffi library.</div>
<div><br></div><div>I will try keep a separate textures array and let you know how it goes.</div><div>Thanks,</div><div>Deepak</div><div><br><div class="gmail_quote">On Wed, May 16, 2012 at 5:13 AM, Luís Oliveira <span dir="ltr"><<a href="mailto:luismbo@gmail.com" target="_blank">luismbo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Deepak,<br>
<div class="im"><br>
On Fri, Mar 30, 2012 at 9:51 AM, Deepak Surti <<a href="mailto:dmsurti@gmail.com">dmsurti@gmail.com</a>> wrote:<br>
> However it leads to a memory segment address error.<br>
<br>
</div>Did you manage to figure out a solution to your problem?<br>
<br>
Cheers,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Luís Oliveira<br>
<a href="http://r42.eu/~luis/" target="_blank">http://r42.eu/~luis/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://deepaksurti.com" target="_blank">http://deepaksurti.com</a><br>To see a miracle, be the miracle.<br>
</div>