All pastes #386954 Raw Edit

tristrip attempt

public text v1 · immutable
·published 2007-03-09 00:15 UTC
rendered paste body
world
 size 100
end




material
 name defaulta
 texture http://cbg.bzflag.org/images/A-Delusion/bruceleebadmofo.png
end

meshbox 
size 10 10 10
position 50 50 0
matref defaulta
end a

define tetra
 mesh
 name tris
  drawinfo

   vertex 0 1.24878049 -7.6463226e-17
  vertex 0 1.24878049 2.00000000
  vertex 0 -1.24878049 2.00000000
  vertex 0 -1.24878049 7.6463226e-17
  normal 0 0 0
  normal 0 0 0
  normal 0 0 0
  normal 0 0 0
  texcoord 0 0
  texcoord 0 0.80078125
  texcoord 1.00000000 0
  texcoord 1.00000000 0.80078125
   #corner 0 0 0
   corner 1 1 1
   corner 2 2 2
   corner 3 3 3
   corner 4 4 4
    lod
     lengthPerPixel 0
     matref defaulta
     dlist

     tristrip 4 3 2 1
     #tristrip 1 2 3
     #tristrip 2 3

       end  # material default
      end  # lod 0
    end  # drawInfo
  end
enddef

group tetra
  shift 0 0 1
  matref defaulta
end