Carsten Neumann schrieb:
>       Hello Bastian,
>
> Bastian Sdorra wrote:
>   
>> Carsten Neumann schrieb:
>>     
>
> first I'd like to correct what I said in my last post about volume 
> invalidation and recomputation (sorry about the confusion):
>
>   
>>> please insert a commitChanges() call here. The bounding volume is 
>>> updated lazily when modifying the scenegraph (they are invalidated 
>>> immediately, but the recomputation is lazy).
>>>       
>
> volume invalidation happens on comitChanges(), the volume is 
> recalculated when Node::updateVolume() or Node::editVolume(true) is called.
>
>   
>>> Since this has come up before we should probably insert the call at the 
>>> end of loading, I'll take care of that.
>>>       
>> sorry, I forgot that line in the example. I have it in my 
>> application...but I get the same behavior :/
>>     
>
> hm, do you also call updateVolume() or editVolume(true) ?
>
>   

Yes, I tried both. None of them worked.

>> The strange thing is that other file formats work properly.
>>     
>
> they may have an updateVolume() call in the format specific code of the 
> loader. I'll double check it and move it to the generic part so they all 
> behave the same way.
> Just in case calling updateVolume() does not fix your problem, do you 
> have an example model that you can share, so I can debug what is going on?
>
>   
Sure,
 http://www.eng.nus.edu.sg/LCEL/RP/u21/download/STLFiles/knot.zip
this is one of a few random files from the web I tried to load, beside 
my scandata.

>       Cheers,
>               Carsten
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>   

Regards,
Bastian


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to