Re: Loading textures other than .rgb

New Message Reply Date view Thread view Subject view Author view

From: Kevin Meinert (kevn++at++vrac.iastate.edu)
Date: 12/07/2001 10:23:02


regarding my previous mail (see below)...

this probably wont help you if you're using the built in model loaders in
performer... :( Although I've used it when constructing pfGeoSets from
my own loaders, and it does work to set the pfTexture image attribute...

There is probably a better way if you're looking to use the built in
loaders in performer....

good luck,
kevin

On Fri, 7 Dec 2001, Kevin Meinert wrote:

>
> Frédéric,
>
> I wrote a TGA loader once...
> http://www.vrac.iastate.edu/~kevn/pub/Image-0.9.2.src.tar.gz
>
> TgaImporter.h and TgaImporter.cxx
> Just drop into your own makefile (I don't build a lib in this version)...
>
> It's LGPL, have fun. (there is probably something on the SGI you could
> use, but is it available on all platforms? not sure, but mine is...)
>
> Kevin
>
> ps. let me know if you have any problems, I've got a slightly more up to
> date one available if you need it.
>
> pss. There is also RGB, RGBA, BMP, PCX in addition to the TGA one. 24
> and 32 bit color with or without compression is supported.
>
> On Fri, 7 Dec 2001, Frédéric Marmond wrote:
>
> >
> > Hi all,
> >
> > Does anybody know how to load texture in other format than .rgb?
> >
> > I would like to load meshes (in dxf, 3ds,... format) which contain textures
> > in jpeg, tga,.. formats.
> >
> > any idea?
> >
> > Fred
> > -----------------------------------------------------------------------
> > List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> > Open Development Project: http://oss.sgi.com/projects/performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
> > -----------------------------------------------------------------------
> >
>
>

-- 
++at++--++at++---++at++---++at++----++at++-----++at++------++at++------++at++-----++at++----++at++---++at++---++at++--++at++
Kevin Meinert                                  __  _   __  
http://www.vrac.iastate.edu/~kevn         \  ||  \| \ /  ` 
Virtual Reality Applications Center        \ ||.-'|--\\    
Howe Hall, Iowa State University, Ames Iowa \||  \|   \`__,
-----------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 10:23:25 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.