PDA

View Full Version : 'w' Coordinates in texture sheets?


avdoot
02-11-2008, 06:09 AM
Hi all
The question is what exactly is the 'w' coordinate in a texture map, i was looking at a character's unwrap and noted that uv coordinates are numbered from 0-1 in uv space but 'w' coordinate value is randomly given. is it this value represents the depth value for textures?
and the bigger question is that can we use this coordinate to program something for use in games..i mean to say what possible uses are there?

softdistortion
02-11-2008, 11:09 AM
From what I've understood it's for volumetrics texture...uvw kinda like the texture version of xyz.

gasmasocet
02-18-2008, 01:30 PM
Of coarse you can us it *) for example if you have 100 objects with the same UVs and want to make their color randomly vary (with single material for al objects) you can use W coordinate to apply gradient, you can usit for PerObject transperancy or any thing else. Tchnic is to use the same UV space, but diferent W value, representing anything you want. Use imagination.

CGTalk Moderation
02-18-2008, 01:30 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.