Forums
You are not logged in.
#1 2007-01-31 10:29:47
- TwinSnakes
- New member
- Registered: 2007-01-31
- Posts: 5
Variable Types
When I read the 4.3.1 SubdivisionSurfaces topic in the 3Delight.pdf it lists several variable types that I cant find any description of. I looked them up in the 3.2 RiSpec, but still nothing.
Variable Types: constant, uniform, varying, vertex, facevarying and facevertex
I know what these (constant, uniform, and varying) mean. But, I havent a clue about the last 3.
Offline
#2 2007-01-31 16:25:02
- olivier
- 3Delight Developer
- Registered: 2007-01-09
- Posts: 1930
Re: Variable Types
vertex : The simplest explanation is: just like "P" (uses the surface's subdivision/evaluation rules).
facevarying : One value per vertex, per face (or patch). Interpolation is like the varying class but the values can be different for each face which uses a given vertex. Pretty essential for texture coordinates if you have seams.
facevertex : Just like facevarying but uses the vertex interpolation rules (where possible) on subdivision surfaces. You should probably not use this anymore as it's almost what facevarying now does by default for subdivision surfaces.
Offline
#3 2007-02-01 16:18:10
Re: Variable Types
olivier wrote:
facevertex : Just like facevarying but uses the vertex interpolation rules (where possible) on subdivision surfaces. You should probably not use this anymore as it's almost what facevarying now does by default for subdivision surfaces.
What do you mean by "almost". Isn't "facevarying" still going to use varying interpolation (vs. boundary interpolation on "facevertex") at borders in the uv atlas?
If that's the case, I'd probably say, use facevertex whenever you can, f*ck Frankensteinian Pixar-style "facevarying". ;)
Render faster, get to the party earlier — /*jupiter jazz*/
Offline
#4 2007-02-02 07:17:56
- olivier
- 3Delight Developer
- Registered: 2007-01-09
- Posts: 1930
Re: Variable Types
Well, yes, that's what "almost" meant ;)
Offline

