Re: Loader with my texture

New Message Reply Date view Thread view Subject view Author view

Gordon Tomlinson (gordon++at++paradigmsim.com)
Wed, 21 Oct 1998 13:54:09 -0500


Hi Scott

The easest method would simply to replace
the texture file the model is looking for
with the new one keeping the apect ratios
the same

eg.
        model/myModel.flt
        model/myModelTex.rgb

        cp -f newTexture.rgb model/myModelTex.rgb

then just replace the myModelTex.rgb with the new
one, you could auto mate this in a script or progam
to take a command line texture name, save the original
and copy the passed texture to model/myModelTex.rgb

Other than that you will have to get your hands a bit
more dirty...

Gordon

Scott Herod wrote:
>
> Do any of the distributed model loaders allow me to
> specify the texture to apply to a model. (This will also be
> very model depend.) Basically I want to allow people to
> specify some simple model and map their choice of texture
> onto it; for example, their company logo on a pyramid or
> satellite dish.
>
> Scott Herod
> scott++at++evt.com
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
Gordon Tomlinson              | Multigen - Paradigm  Inc
Vega Software Engineer        | Suite 400, 14900 Landmark Blvd
Email: gordon++at++paradigmsim.com | Dallas, Texas 75240, USA
Tel:    972 960 2301          | Fax:    972 960 2303  
===============================================================
'Smoke me a kipper skipper, I'll be back for breakfast'

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Oct 21 1998 - 12:00:55 PDT

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