Re: Changing iEngine::CreatePortalContainer signature

Matthieu Kraus <[email protected]> Thu, 09 Jan 2014 17:07:12 +0100
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <[email protected]>
Well, it would be an edge case if we had an empty (but valid) bbox for  
such meshes located at their position - or well, at least from a  
culling point of view, as we could actually test it for visibility  
then. However as it stands now it pretty much is invalid, so I'm not  
sure what to make out of it.

If there's obligations against starting to forbid using such meshes  
the second best I can think of is making the bbox getter return an  
empty bbox located at the current position (i.e. origin in object  
space) instead of an invalid one, but I'm not sure that's such a good  
idea, either.

-RlyDontKnow

Zitat von res <[email protected]>:

> Hi,
> On 09.01.2014 14:10, Matthieu Kraus wrote:
>> after researching Ralph's issue with CreatePortal a bit I recognized
>> that csEngine::CreatePortal sets the sector of the mesh (and
>> accordingly prepares it for rendering and by extension for culling)
>> prior to adding any vertices, i.e. it prepares a mesh without any
>> vertices for rendering. As this doesn't seem valid to me at all,
>
> A mesh without any vertices is an edge case, but it shouldn't really be
> an invalid case.
>
> -f.r.




------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk