Dont have time to examine lots of source code in detail right now
(much code seems superfluous to the issue at hand; eg EventHandlers,
lights, callbacks,  sphere, non-trivial shaders, etc)

>From a quick review, seems the scene could be written to a .osg file.
If so, when loaded into osgviewer, does the problem persist (ie, does
it travel with the data)?

-- mew


On Fri, Jun 13, 2008 at 8:34 AM, Christian Heine
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> in the last few day's i posted in the Issue on sharing shaders between
> objects thread, that i've trouble in sharing shaders and unfiorms. If i
> create two shaders (dot3) and two objects i got the same shader result on
> each object.
>
> Now i figured out, that the failure occurs if i use the same code for the
> geometry generation of the objects and transform them with
> osg::PositionAttitudeTransform on differend positions. It seems too me, that
> this transformations are ignored on shader execution. If i create (simple
> plane) the transformed object with transformation values on geometry
> generation all seems to handled correct ...
>
> Is this a possible bug? Or is this intend and i have to consider something
> else?
>
> Best regards,
> Chrisitan
>
> P.S.: I've added the manipulated shadertest source where the 2nd quad has a
> generated geometry regarding the transformation...
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



-- 
Mike Weiblen -- Austin Texas USA -- http://mew.cx/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to