Skip to content

Commit 3510694

Browse files
unhyperbolicpixar-oss
authored andcommitted
testUsdImagingGLCurves: assigning a width to each curve.
(Internal change: 2360275)
1 parent f3f4406 commit 3510694

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed
222 Bytes
Loading
13 Bytes
Loading
13 Bytes
Loading
-24 Bytes
Loading

pxr/usdImaging/usdImagingGL/testenv/testUsdImagingGLCurves/moreCurves.usda

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def Xform "World"{
2929
point3f[] points = [(0, 1, 0), (0, 4, 0), (0, 7, 0)]
3030
int[] curveVertexCounts = [3]
3131
int ri:attributes:dice:roundcurve = 1
32+
float[] widths = [1] (interpolation = "constant")
3233
}
3334

3435
def BasisCurves "Lines_Wire"(){
@@ -38,6 +39,7 @@ def Xform "World"{
3839
point3f[] points = [(0, 1, 0), (0, 4, 1), (0, 7, 0)]
3940
int[] curveVertexCounts = [3]
4041
int ri:attributes:dice:roundcurve = 1
42+
float[] widths = [1] (interpolation = "constant")
4143
}
4244

4345
def BasisCurves "Lines_Tube"(){
@@ -72,6 +74,7 @@ def Xform "World"{
7274
point3f[] points = [(0, 1, 0), (0, 2, 1), (0, 3, 1), (0, 4, 0), (0, 5, 1), (0, 6, 1), (0, 7, 0)]
7375
int[] curveVertexCounts = [7]
7476
int ri:attributes:dice:roundcurve = 1
77+
float[] widths = [1] (interpolation = "constant")
7578
}
7679

7780
def BasisCurves "Bezier_Tube_varying"(){
@@ -130,6 +133,7 @@ def Xform "World"{
130133
point3f[] points = [(0, 1, 0), (0, 1, 0), (0, 4, 1), (0, 7, 0), (0, 7, 0)]
131134
int[] curveVertexCounts = [5]
132135
int ri:attributes:dice:roundcurve = 1
136+
float[] widths = [1] (interpolation = "constant")
133137
}
134138

135139
def BasisCurves "Bspline_Tube_varying"(){
@@ -187,6 +191,7 @@ def Xform "World"{
187191
point3f[] points = [(0, 0, 0), (0, 1, 0), (0, 4, 1), (0, 7, 0), (0, 8, 0)]
188192
int[] curveVertexCounts = [5]
189193
int ri:attributes:dice:roundcurve = 1
194+
float[] widths = [1] (interpolation = "constant")
190195
}
191196

192197
def BasisCurves "CatmullRom_Tube_varying"(){

0 commit comments

Comments
 (0)