Re: [Fresco-devel] Fresco::Mesh

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
Nick Lewycky wrote:

> I'd like to add another element to this struct which specifies whether 
> the model is solid or just a shell.

why should that be an attribute of the scene graph node and not the
DrawingKit ? I'm just wondering, because right now most of these are
pushed onto the DK state stack.

> At the moment we don't use Fresco::Mesh for any sort of intersection, 
> picking, or hit detection so there's no need to change any code to 
> handle the shell/solid distinction. If were are to ever do intersection 
> testing with Meshes, a figure entirely contained within a "shell" Mesh 
> should be considered non-intersecting, while it would be intersecting a 
>  "solid" Mesh with the same vertices.

ah, that answers the above question. There is more than rendering
that is affected by this...

> Can I have an opinion from the powers-that-be about making this change 
> to the core API? (Further, should we have a formalized process for 
> changing the public API bits? I like the idea just so that in the future 
> we have the mailing list thread to refer to.)

well, there aren't many people right now making educated suggestions
about interface changes, it's not a coordinator's nightmare just yet :)

so yes, that sounds like a sensible change. I'm fine with it.
By the way, we should add a new task about implementing a 3D capable
PickTraversal (i.e. with more than just 2D bounding box intersection).

Regards,
		Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.