|
OK, I have a question which I'm sure is answered in the French forum but unfortunatly I dont speak french!!
Basically...
I want to create custom shapes. I tried deleting the aPoints array and
replaces it with my own points using addPoint function. I then
refreshed it but no luck!?
I cant seem to create a custom shape. I tried altering boxes, 3d faces but no luck...
Please can someone point me to the right direction??
Nick.
Hi,
Indeed this question has been answered in the other forum
As you noticed, you have to play with addPoint method and you must extend the Object3D class.
Otherwise another good solution is to use the ASE and WRL files parsers. It is much easier to do the model in 3DS or Blender.
If
you really need to use a custom primitive, I can't say more that
looking at the existing models is the best way to understand how it
works.
I'll try to add a tutorial explaining the whole process. Meanwhile you can attach the code you tried here!
++
OK
i tried to take your advice using 3DS MAX and tried importing a ASE
file to see how it was built and use the ASE Parser. BUT i won't import
for some reason... Used the demo examples given.
Also tried exporting an object I made and then using the Parser that I got from the french forum but again... no luck.
Im I doing something completely wrong???
Ill post the code in a second
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)