RE: [info-performer] Models with no tex coords.

Date view Thread view Subject view Author view

From: Dorosky, Christopher G (christopher.g.dorosky++at++lmco.com)
Date: 10/25/2005 06:21:55


Sorry, I should have put that.
The original file is .flt and it uses GeoSets.
Performer version is 3.2 on either platform (L || W)
 

-----Original Message-----
From: stacep++at++bluepoles.engr.sgi.com
[mailto:stacep++at++bluepoles.engr.sgi.com] On Behalf Of Stace Peterson
Sent: Monday, October 24, 2005 6:49 PM
To: Dorosky, Christopher G
Cc: info-performer++at++sgi.com
Subject: Re: [info-performer] Models with no tex coords.

Chris,

Haven't run into this myself, but maybe we can figure it out with a
little more information. What type of file are you loading (flt, pfb,
obj, etc.)? What type of geometry is the skydome (pfGeoSet or
pfGeoArray)?

Thanks,
Stace

"Dorosky, Christopher G" wrote:
>
> I have a model of a skydome that a vendor sold me.
> It is essentially a scalable half dome, with a nice sky and cloud
> texture.
>
> Under Linux, my application loads it just fine, with Performer.
> Under Linux, Perfly loads it just fine.
> Under Windows, Perfly loads it just fine.
> Under Windows, my application loads it without texture.
>
> The texture file is rgba.
> I thought this was a problem, but discovered after printing the
> geosets on all configurations that in my app, under windows only,
> there are no texcoords.
> Perfly somehow manages to generate some. (but it says no texgen
either).
>
> In windows, I can run perfly, and write out a pfb, and pfa.
> Either have texcoords, according to perfly, when run again.
> The pfa is easy to read. It has texcoords.
>
> By cutting and pasting, I can create a pfVec2 array, and manually
> assign the texcoords in my application, and I get texture, but it's
> wrong (streched, disjointed, etc...). I get the texcoords from a cut
> and paste of the pfa.
>
> My application dies when trying to load the pfb. It says there are no
> gsets.
>
> What is going on here? Why can perfly do this when another app cannot?
> The pfb loader is initted, so it's not that.
>
> Thanks,
>
> Chris
>
>
-----------------------------------------------------------------------
> 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
> ----------------------------------------------------------------------
> -

--
------------------------------------------------------------------
Stace Peterson                                      stacep++at++sgi.com
Silicon Graphics, Inc.                              (650) 933-2323


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Oct 25 2005 - 06:22:52 PDT