I get a strange segmentation fault when using object instancing. I've carved down the input file to the following: ################# ObjectBegin 1 PointsPolygons [ 3 ] [ 0 1 2 ] "P" [-1 -1 0 1 -1 0 1 1 0 ] ObjectEnd FrameBegin 0 Option "trace" "int maxdepth" [2] Format 256 256 1
PixelSamples 2 2 ShadingInterpolation "smooth"
Display "foobar.tiff" "framebuffer" "rgba"
Projection "perspective" "fov" 55 Scale 1 1 -1 Translate -1.43773 -0.422992 -31.0313 Rotate 163.164 -0.118377 0.621475 0.774439 Scale 1 1 1
WorldBegin Attribute "visibility" "specular" [1] Attribute "visibility" "diffuse" [1] Attribute "visibility" "transmission" [1] Attribute "trace" "bias" 0.005 Attribute "shade" "transmissionhitmode" ["primitive"]
AttributeBegin Color [1 0.2 0.2] Surface "constant" ConcatTransform [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] ObjectInstance 1 AttributeEnd
WorldEnd FrameEnd #################
Oddly, if you change all of those "1"s in the point list, e.g., to "100", the segfault disappears.
Seems to be a regression. The problem doesn't occur in 2.2.5.
Log in to post a comment.
I get a strange segmentation fault when using object instancing. I've carved down the input file to the following:
#################
ObjectBegin 1
PointsPolygons [ 3 ]
[ 0 1 2 ]
"P" [-1 -1 0 1 -1 0 1 1 0 ]
ObjectEnd
FrameBegin 0
Option "trace" "int maxdepth" [2]
Format 256 256 1
PixelSamples 2 2
ShadingInterpolation "smooth"
Display "foobar.tiff" "framebuffer" "rgba"
Projection "perspective" "fov" 55
Scale 1 1 -1
Translate -1.43773 -0.422992 -31.0313
Rotate 163.164 -0.118377 0.621475 0.774439
Scale 1 1 1
WorldBegin
Attribute "visibility" "specular" [1]
Attribute "visibility" "diffuse" [1]
Attribute "visibility" "transmission" [1]
Attribute "trace" "bias" 0.005
Attribute "shade" "transmissionhitmode" ["primitive"]
AttributeBegin
Color [1 0.2 0.2]
Surface "constant"
ConcatTransform [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ]
ObjectInstance 1
AttributeEnd
WorldEnd
FrameEnd
#################
Oddly, if you change all of those "1"s in the point list, e.g., to "100", the segfault disappears.
Seems to be a regression. The problem doesn't occur in 2.2.5.