realbasic-games
[Top] [All Lists]

Re: Cloning Trimesh

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Cloning Trimesh
From: Lo Saeteurn <realbasic at miensoftware dot com>
Date: Tue, 8 Nov 2005 16:34:22 -0800
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <14e78666b84e09bd1739f7ef5e4a01b6 at pyramiddesign dot us> <a0620070bbf967cab0ba4 at [10 dot 0 dot 1 dot 4]> <ba36e5adaa59b4786c9fd43570d48b38 at pyramiddesign dot us> <a06200715bf96a5d4b160 at [10 dot 0 dot 1 dot 4]>
There's a handle for the trimesh? I searched all over for this and could not find it. I ran into the same problem of trying to clone a trimesh that I built from scratch.

Setting all the points, triangles, UVs, etc. seem to be really slow (or wasteful)--not sure if Object3D does this internally. If only there was a way to get the handle from a trimesh, I could just simply add it to an Object3D.

If so, we may be able to hack something out using Object3D.AddShapeHandle, given the Trimesh handle -- I don't have the code or docs handy at the moment, so I can't be sure this is supported, but it might be. Let me know where you are and we'll keep working on it.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>