2D Textures

New Message Reply Date view Thread view Subject view Author view

Darin C. Partridge (darin++at++paradox.idec.sdl.usu.edu)
Fri, 20 Jan 1995 21:08:04 -0700


HELLLLLPPPPPPP!!!

I've been tring to convert geometry into Performer with a modified LoadObj
loader. The problem is that the software that generates the geometry
does not specify any texture coords (per vertex) and so I've ended up
making assumptions and trying to generate the per vertex texture coords myself.
 But now the assumptions I have to make are toooooooooo restrictive. All I
want to be able to do is not supply performer any texture coords and just let
performer figure out how to apply it. I know something like that can be
done since in LoadObj they use the function
pfNodeTravFuncs(geodeRefl, PFTRAV_DRAW, pfuPreDrawReflMap, pfuPostDrawReflMap);
which applies my textures to the mesh or whatever without me having to
specify coords. The problem is that the textures don't stay put, they
move around. I just want the textures to be applied to the object without
having to specify coords.

I tried to read the man pages on texgen but I'm not sure how to apply it
in my case.

I'm sure it's something simple and I hope someone can give me a pointer
in the right direction.

Thanks a lot for any help,
Darin
(darin++at++chaos.idec.sdl.usu.edu)


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:52 PDT

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