Camera texture projection uvs are not visible in thetexture editor view
Article needs peer review
Symptom
A camera texture projection is applied to an object. You wish to edit the object's UVs in the Texture Editor, but they are not visible for editing.
Cause
The object's camera texture projection-UVW Transformation-Scaling values do not scale around the origin of the world, but scales around the center of the Bounding Box of the object. So you will end up with W values smaller than 0, which is behind the camera used for displaying the UVs in the texture editor.
Solution
You can circumvent this limitation by translating the Transformation-W Scaling parameter by a value of -5000, to place the mesh of UVs in front of the camera used in the texture editor. This operation is more easily done by running the following script example:
ScaleUVW "your_object.sample[*]", "your_object.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection", 1.00, 1.00, 0.000, siRelative
TranslateUVW "your_object.sample[*]", "your_object.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection", 0,0, -5000, siRelative
Note: Substitute your_object by your scene object's name. Also, you might have to experiment with various Transformation-W Scaling values, as objects' properties may differ from scene to scene.
References
Texturing:
SOFTIMAGE|XSI What's new in 1.5, page 41.
Camera Projection
SOFTIMAGE|XSI, Shaders, Lights & Cameras, page 91.
Applies To: XSI 1.5 on NT,Win2K,Irix
Posted: 7/25/2001

