From luismbo at gmail.com Tue May 15 23:43:10 2012 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Wed, 16 May 2012 00:43:10 +0100 Subject: [cl-opengl-devel] Texture coordinates using vertex array In-Reply-To: References: Message-ID: Hello Deepak, On Fri, Mar 30, 2012 at 9:51 AM, Deepak Surti wrote: > However it leads to a memory segment address error. Did you manage to figure out a solution to your problem? Cheers, -- Lu?s Oliveira http://r42.eu/~luis/ From dmsurti at gmail.com Wed May 16 09:18:42 2012 From: dmsurti at gmail.com (Deepak Surti) Date: Wed, 16 May 2012 14:48:42 +0530 Subject: [cl-opengl-devel] Texture coordinates using vertex array In-Reply-To: References: Message-ID: Hi Louis, With some more opengl experience under the hood, I think this could be a problem: (I have not tried it though): This was my array definition: ;for textures (gl:define-gl-array-format mesh-tvertex (gl:vertex :type :float :components (x y z)) (gl:tex-coord :type :float :components (u v))) I think I should keep a separate array for vertices and textures. Then things should work out fine. Is this correct? This is what I currently do when using Lispworks with its opengl ffi library. I will try keep a separate textures array and let you know how it goes. Thanks, Deepak On Wed, May 16, 2012 at 5:13 AM, Lu?s Oliveira wrote: > Hello Deepak, > > On Fri, Mar 30, 2012 at 9:51 AM, Deepak Surti wrote: > > However it leads to a memory segment address error. > > Did you manage to figure out a solution to your problem? > > Cheers, > > -- > Lu?s Oliveira > http://r42.eu/~luis/ > -- http://deepaksurti.com To see a miracle, be the miracle. -------------- next part -------------- An HTML attachment was scrubbed... URL: