|
Hm that would mean there's no chance with the current SDK to write an op that changes topology (a la split edge/inset/extrude polys). At least unless there's something like a transient freeze for ops that affects only the current evaluation. Then geo could be read, stored, stored geo be changed, old geo temporarily frozen and then overwritten.
2007/5/16, Kim Aldis <XSI(at)kim-aldis.co.uk>:
Generator ops the docs state pretty clearly that the seed mesh
needs to be frozen if the op is generating geometry and this works only if the
mesh is frozen prior to applying the op, otherwise it crashes. Same has been
true of other ops of this type I've created. It kind of makes sense; your op is
creating geometry from scratch then there's no point in any of the construction
stack prior to that op.
Incorrectly connected? Not sure I understand.
kim
You dont need to freeze the geometry if youare using a scop, only if you
are creating your geometry on script
I have seen polymesh generators die on me if the poly index array is
incorrectly connected.
On 5/16/07, Kim Aldis <XSI(at)kim-aldis.co.uk> wrote:
Got it. Freeze the seed object first.
> -----Original Message-----
> From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM ]
On
> Behalf Of Kim Aldis
> Sent: 15 May 2007 17:02
> To: XSI(at)Softimage.COM
> Subject: generator ops, self installing plugins
>
> Messing around with a generator op, compiled, one that creates a
> polymesh.
> Last time I did this was in the days prior to self installing plugins
> and
> I've got it into my head that all I did was hand the op a dummy mesh
> onto
> which I then just picked up from the output port and did a geom.Set()
> using
> a vector and long array. Using the same principle in a self installing
> plugin it dies spectacularly enough that I have to be getting it more
> than a
> little wrong and as usual, looking for an example hasn't particularly
> worked
> and the wiki remains in the stone age as far as this is concerned
>
> . Would someone mind pointing me in the right direction. Thanks.
>
> www.kim-aldis.co.uk
> kim(at)kim-aldis.co.uk
> Gallery of Work
>
>
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM
with the following text in
> body:
> unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM
with the following text in body:
unsubscribe xsi
|