Author Topic: Too much Triangle in an object?  (Read 1930 times)

Offline manumoi

  • long
  • ***
  • Posts: 121
    • View Profile
    • http://www.iro.umontreal.ca/~blanchae
Too much Triangle in an object?
« on: November 29, 2006, 10:17:07 pm »
Hello Folks

I dont remember. Is there a way to expand the number of Triangle per object? something in Config???


java.lang.ArrayIndexOutOfBoundsException: 20800
        at com.threed.jpct.Object3D.addTriangle(Unknown Source)
        at com.threed.jpct.Object3D.addTriangle(Unknown Source)
        at com.threed.jpct.Object3D.addTriangle(Unknown Source)
        at com.threed.jpct.Object3D.addTriangle(Unknown Source)
        at multi.map.WorldMap.addPlane(WorldMap.java:559)

Thanks

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Too much Triangle in an object?
« Reply #1 on: November 29, 2006, 10:58:39 pm »
You can specify the maximum number of triangles when creating the Object3D.