Hi Jan,
On Thu, 2005-09-15 at 19:15 +0200, Jan Wurster wrote:
>
> mhm. When I display used texture memory size (using the stats), it
> only states about 40 MB - but which size do stats show? The size of
> unique files used? If materials are not shared I think we indeed have
> the solution ;)
Hm, that's a little weird. It should count the actually used tex mem,
but that seems to be not working right.
> Was this an optimization that in earlier OpenSG revisions (as in 1.2
> and 1.3 dailybuilds) occured automatically?
I don't think we ever did this automatically, but I might be wrong.
> This would explain the
> change in speed with unchanged datasets I did experience. It's true that
> the data I load has a lot of textures assigned - not too many different
> ones and the wrl original format is quite - let's say - a bit
> suboptimal, structurewise.
Yeah, like too many of them are. We might need to be much more
aggressive in optimizing loaded models, and let people explicitly
deactivate the optimizations if they don't want them.
> About the pot / npot issue - materials indeed don't seem to be scaled
> automatically to pot - at least OSG::Image::scaleNextPower2() doesn't
> seem to be called by the loaders. So I'll do that manually, right - good
> point on that. Might explain why one of the driver revisions runs fast
> while others don't - maybe nvidia once did special handling for npot
> textures ...
No, the scaling is not done on the image but using gluScaleImage before
the texture definition. They are still scaled, though. ;) Doing it
offline just reduces load time, the texture memory is unchanged.
> Anyway, I now get about 20 fps on the fx1300, fx 3400 runs at 50 -
> which is what I expected :) One thing I still find strange is that the
> machine with the old driver revision runs at full speed regardless of
> texture usage optimizations ..
Hm, that is weird.
Yours
Dirk
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users