Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
How to make your own geometry ?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to make your own geometry ? (Read 2029 times)
Baune
byte
Posts: 7
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
Logged
EgonOlsen
Administrator
quad
Posts: 12297
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
»
Logged
Baune
byte
Posts: 7
Re: How to make your own geometry ?
«
Reply #2 on:
June 11, 2010, 10:16:41 pm »
Thanks, that should do it.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
How to make your own geometry ?