[Plib-users] Re: Loading AC Models and Textures (Wolfram Kuss)
Brought to you by:
sjbaker
From: Kevin G. <av...@cu...> - 2000-10-30 21:15:29
|
> > Today's Topics: > > 1. Re: Loading AC Models and Textures (Wolfram Kuss) > > --__--__-- > > Message: 1 > From: Wolfram Kuss <w_...@rz...> > To: pli...@li... > Subject: Re: [Plib-users] Loading AC Models and Textures > Date: Sun, 29 Oct 2000 20:12:54 +0000 > Organization: Hammes SW > Reply-To: pli...@li... > > Kevin wrote: > > >Sometimes I get warnings when loading the models saying that the > >textures can not be found. However, this does not happen consistantly. > >When I do get these messages, the directories being used are not the > >directory I set with model and texture path. > > Strange. Which directories do the error messages name and which do you > use? The error messages (when they do show up) pertain to the current directory, or rather, where I run it from. Its as though the texture path is just ignored. > > > >I'm using VC6.0 on Win98. The code is threaded using the pthread > >library, could this be the problem? Has anyone seen this before? > > I am using VC6.0 under Win NT and Win2K with no problems. > I don't think Win98 is to blame. > I didn't really mean Win98 was to blame, I'm pretty sure this is working fine. I'm more woried about the pthread stuff. > I don't think I use the pthread library, does that come with MSVC? > Have you tried compiling the example which works with pthread? > pthread is a library that gives windows users 'real' threads like those found on every other operating system, UNIX/LINUX, solaris and the like. I've tried some more stuff since mailing and found that if I load my models before I call glutMainLoop() they load fine. However, if I load model in a seperate thread it fails to load the textures. So, is PLIB thread safe? I've even tried running glutMainLoop in a seperate thread, and using the 'process' thread for loading models. This is also fails. > > >Kevin > > Bye bye, > Wolfram. > Cheers for the prompt responce, Kev > > --__--__-- > |