Quoting Dirk Reiners <[EMAIL PROTECTED]>:

> 
>       Hi Marcus,
> 
> On Thu, 2006-04-13 at 12:28 +0200, Marcus Lindblom wrote:
> > Hi Andreas,
> > 
> > Hm. Yes, that is sort of what I do. I'll give it a try.
> 
> In which cases doesn't it work for you?

I'll have to look into it a bit more. I think there's more than one stupid bug 
my current code. It could also be related to the fact that I'm trying to modify 
all viewports on a window (I use two, one for 3d and one for 2d).

My intial algorithm tries to use full-screen renders when possible, and partial 
screen renders for those small parts in the end. So, I change both viewport and 
TileCamDec-size for each part. The full-viewport-renders do not work (I get a 
single color) and the smaller parts which modify height do not work properly 
either.

In addition, Image::setSubData doesn't seem to work at all (saving partial 
screens work, the combined screenshot is just black, but the code certainly 
looks ok), and either when grabbing or saving, there is some strange color 
transformation giving everything a reddish tint. (It looks correct at the 
moment of rendering).

When I get back to work on tuesday I'll have another look at it and maybe post 
the code. (I've been mixing this with other work, so I haven't been able to 
fully concentrate on it yet. I'd like to do so first before taking anymore of 
you guys' time. :)

Best regards
/Marcus



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to