P[w]

   5247   7   1
User Avatar
Member
606 posts
Joined: May 2007
Offline
To put it short, what is one supposed to be able to do with P?
I guess something like that would be used internally for projections, but there must be a reason for exposing and load/saving it?

eetu.
User Avatar
Member
4261 posts
Joined: July 2005
Offline
NURBs.
if(coffees<2,round(float),float)
User Avatar
Member
606 posts
Joined: May 2007
Offline
Ah, thanks, good to know

eetu.
User Avatar
Member
606 posts
Joined: May 2007
Offline
As an added question, is there a way to access P in a shader?

The reason I'm asking - I'm rendering very heavy point clouds, and the P
values take up 25% of the .bgeo (and I have a feeling they take up memory as well).

I'd like to use that data for something useful, like age, as it has to be there.

eetu.
User Avatar
Member
696 posts
Joined: March 2006
Offline
can you access it through uv's u,v,w are the vector values, no?
Stephen Tucker
VFXTD
User Avatar
Staff
2591 posts
Joined: July 2005
Offline
eetu
As an added question, is there a way to access P in a shader?

The reason I'm asking - I'm rendering very heavy point clouds, and the P
values take up 25% of the .bgeo (and I have a feeling they take up memory as well).

I'd like to use that data for something useful, like age, as it has to be there.

eetu.

That's probably a bad idea. Though it may be possible to overload the Pw, it may have unexpected side-effects in some areas of code (i.e. projections). The Pw is closely intertwined with the P variable.
User Avatar
Member
606 posts
Joined: May 2007
Offline
can you access it through uv's u,v,w are the vector values, no?

Ah, gotta check that. Although I've been under the impression that the w in position x,y,z,w is different from the w in texture u,v,w..

eetu.
User Avatar
Member
696 posts
Joined: March 2006
Offline
my bad, I somehow missed the P and was just reading the w
Stephen Tucker
VFXTD
  • Quick Links