Author Topic: How to make your own geometry ?  (Read 2029 times)

Offline Baune

  • byte
  • *
  • Posts: 7
    • View Profile
How to make your own geometry ?
« on: June 11, 2010, 01:34:50 pm »
Hello

I can see that you can make standard primitives but how do you setup your own geometry using your own vertices-arrays ?

Thanks alot


Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12297
    • View Profile
    • http://www.jpct.net
Re: How to make your own geometry ?
« Reply #1 on: June 11, 2010, 09:56:01 pm »
Either use one of the Object3D.addTriangle(...)-methods or try Object3D's bulk data constructor if you want it on a lower level.

Edit: I'm unable to set a link directly to the docs of this constructor...the board software somehow can't handle the anchor... ???
« Last Edit: June 11, 2010, 10:01:29 pm by EgonOlsen »

Offline Baune

  • byte
  • *
  • Posts: 7
    • View Profile
Re: How to make your own geometry ?
« Reply #2 on: June 11, 2010, 10:16:41 pm »
Thanks, that should do it.