All pastes #408527 Raw Edit

stripped pyr

public text v1 · immutable
#408527 ·published 2007-03-24 22:08 UTC
rendered paste body
#pyr2.obj: a triangle strip representation created by STRIPE.
#This is a .objf file
#by Francine Evertexans


material
  name po
  alphathresh 0.9
  #noradar
  noshadow
  noculling
  nosorting
 texture boxwall.png
 addtexture http://cbg.bzflag.org/images/Pants/planetmofologo.png
end

define box
  group quadspo
    #scale 15 15 -30
    #shift 0 0 30
    matref po
  end
enddef


define quadspo
mesh
  name cube1

vertex 25.000000 0.000000 -0.000000
vertex 0.000000 -25.000000 0.000000
vertex -25.000000 -0.000000 0.000000
vertex 0.000000 25.000000 -0.000000
vertex 0.000000 0.000000 15.000000

normal 0.867371 0.000000 0.497663
normal 0.000000 -0.867371 0.497663
normal -0.867371 0.000000 0.497663
normal -0.000000 0.867371 0.497663
normal 0.000000 0.000000 1.000000

texcoord 0.001469 0.002450 0.000000
texcoord 0.002927 0.996503 0.000000
texcoord 0.167564 0.851543 0.000000
texcoord 0.177459 0.143798 0.000000
texcoord 0.531782 0.423244 0.000000
texcoord 0.875309 0.861438 0.000000
texcoord 0.885204 0.153693 0.000000
texcoord 0.995522 0.000993 0.000000
texcoord 0.996979 0.995045 0.000000


 face
    vertices 0 4 1
    normals 0 4 1
    texcoords 2 4 5
  endface
  face
    vertices 1 2 3 0
    normals 1 2 3 0
    texcoords 8 1 0 7
  endface
  face
    vertices 1 4 2
    normals 1 4 2
    texcoords 5 4 6
  endface
  face
    vertices 2 4 3
    normals 2 4 3
    texcoords 6 4 3
  endface
  face
    vertices 3 4 0
    normals 3 4 0
    texcoords 3 4 2
  endface

drawInfo
   dlist
   #  extents -1 -1 0 1 1 1
    #  sphere 0 0 0.5 2.25
      angvel 50
     corner 0 0 0
      corner 1 1 1
      corner 2 2 2
      corner 3 3 3
      corner 4 4 4
     
      lod  # 0
        lengthPerPixel 0
        matref -1
          dlist
          tristrip 0 1 4 2 4 3 0 2 1 
          
          #tristrip 2 3 4 0 1 3 2 4
          #tristrip 0 1 3 2 4 1
          end  # material -1
      end  # lod 0
      
    end  # drawInfo


end
enddef 

group box
  matref po
  #spin 0 0 0 0
  scale 10 10 10
  #shift 220 260 25
  shift  0 0 1
end


box 
size 1 4 2
position 0 0 0
drivethrough
shootthrough
end
#local

#t 1 4 5
#q 3 5
#q 2
#q 1
#q 3 4