ARToolKit | Mailing List Archive |
![]() |
From: | Mark Billinghurst <grof@h ..................> | Received: | Feb 12, 2005 |
To | artoolkit@h .................. | ||
Subject: | Textures | ||
Hello folks, Ive been developing (or more preciselly, trying) AR aplication. Nothing fancy, Cube for beging. And here comes trouble. :( I cannot force my program to use textures. Ive been trying various ways and nothing :( Can anyone could send me a short desc. what and where I should put to have textures ??? My prog. is based on example from ARToolKit 2.68.2 release, so i have init and draw fuctions (and few more). Thanks for your time in advance, Arek ---------------------------------------------------------------------- TANI hosting, DUUUUUUUZO transferu... > http://link.interia.pl/f1846 |
From: | Peter Oost <h.b.oost@s .................> | Received: | Feb 14, 2005 |
To | Mark Billinghurst <grof@h ..................> | ||
Subject: | Re: Textures | ||
On Sat, 2005-02-12 at 16:32 -0800, Mark Billinghurst wrote: > Ive been developing (or more preciselly, trying) AR aplication. Nothing > fancy, Cube for beging. And here comes trouble. :( I cannot force my > program to use textures. Ive been trying various ways and nothing :( > > Can anyone could send me a short desc. what and where I should put to > have textures ??? > My prog. is based on example from ARToolKit 2.68.2 release, so i have init > and draw fuctions (and few more). What you should use to load textures depends on what other libraries (glut, SDL) you'd want to use or on your OS. If you create your own draw functions you can use textures the same way as in any other OpenGL program. You can find many examples on how this works with google (sorry for such an answer, but those examples describe it better than I can). If you have specific problems with an implementation it would help if you can describe the problem. -Peter |
From: | christoph ganser <ganser@e ...............> | Received: | Feb 15, 2005 |
To | Peter Oost <h.b.oost@s .................> | ||
Subject: | Re: Textures | ||
Peter Oost wrote: > What you should use to load textures depends on what other libraries > (glut, SDL) you'd want to use or on your OS. If you create your own draw > functions you can use textures the same way as in any other OpenGL > program. You can find many examples on how this works with google (sorry > for such an answer, but those examples describe it better than I can). look at http://nehe.gamedev.net/ lesson 6 talk about textures. there are examples for many os'es, libraries (SDL, glut, GLX, ...) and programming languages regards christoph -- Swiss Federal Institute of Technology - INSPIRE Tannenstrasse 3 - CLA G 19.1 8092 Zurich - Switzerland F7ED 1A46 585A 471A C730 1B5E 194A 7EB0 970B F4AE |