Hi Carsten,

I tested intensively this afternoon and found some interesting stuff.

1) & 3) produces the same exacts results when I applied Material Merge Graph
Operator.

They both have the same issue when I applied optimizations. Seems like some
of the geometries getting some other material (possibly from collada) and
not the one I have applied.

All materials applied are on the geometry. I dumped the scene with or
without optimizations here

/store/home/aashish/public/opensg/

as the files are big (20-30 MB). I hope you can access it.


Thanks for your help.

~Regards,
Aashish


On Mon, Jun 15, 2009 at 6:38 PM, Carsten Neumann <[email protected]>wrote:

>        Hello Aashish,
>
> Aashish Chaudhary wrote:
> > 1. Original OSGSHLChunk.cpp at rev 1943
> > 2. Your old path
> > 3. Youe new patch.
> >
> > I get the same results with 1 & 3. 2 Was broke as I mentioned in the
> > email. I believe in that case that the problem was somewhere else but it
> > was related to OSG update shader variables.
>
> the .osb you sent has different (SHL) chunks on each material, so for 1)
> when calling SHLChunk::changeFrom the if(this == old) return; does not
> early out and the variables are updated, because it does a full shader
> program change.
> 2) was broken, because it only compiled shader code in the
> SHLChunk::activate path, but not when activating a shader via
> SHLChunk::changeFrom.
> I'm happy to hear 3) works, but the interesting case would be to see if
> it also gives the correct result when some materials have the same
> SHLChunk - the case were it was previously broken ;)
>
>        Cheers,
>                Carsten
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to