I am using MatrixTransform to move models in the scene. And I had camera
attached to render the backview for a mirror for the model. With this setup,
it renders the geometry backfaced for the mirror view. Now it works when I
attached the camera to the root node. It is ok, but will need more code to
handle now all of it. I thought it will be just that easy

Nick

http://www.linkedin.com/in/tnikolov
Sent from Gümüşsuyu, İstanbul, Turkey

On Tue, Dec 8, 2009 at 5:31 PM, J.P. Delport <[email protected]> wrote:

> Did you create the matrix manually? If you use the makeTranslate,
> makeRotate etc. functions then you should end up with a matrix that does not
> mirror stuff.
>
> jp
>
> Trajce Nikolov wrote:
>
>> that was the problem .... the camera parent is MatrixTransform .... when I
>> detached and attached to the top level root it is ok. Huh. I should have
>> listen more carefully at the math classes at school :)
>>
>> Nick
>>
>> http://www.linkedin.com/in/tnikolov
>> Sent from Gümüşsuyu, İstanbul, Turkey
>>
>> On Tue, Dec 8, 2009 at 5:11 PM, Trajce Nikolov 
>> <[email protected]<mailto:
>> [email protected]>> wrote:
>>
>>    No.
>>
>>    The setup of the camera is exactly the same as in the
>>    osgprerendercubemap. No mirroring done. It is child of a
>>    MatrixTransform though ...
>>    Nick
>>
>>    http://www.linkedin.com/in/tnikolov
>>    Sent from Gümüşsuyu, İstanbul, Turkey
>>
>>    On Tue, Dec 8, 2009 at 5:08 PM, J.P. Delport <[email protected]
>>    <mailto:[email protected]>> wrote:
>>
>>        Have you mirrored something in the projections of the camera?
>>
>>        Trajce Nikolov wrote:
>>
>>            Hi Community,
>>
>>            I am having a Camera as a part of the scenegraph and it
>>            renders the geometry backfaced ... Am I missing something?
>>            The camera setup is pretty much the same as in the examples.
>>            Thanks.
>>            Nick
>>
>>            http://www.linkedin.com/in/tnikolov
>>            Sent from Gümüşsuyu, İstanbul, Turkey
>>
>>
>>
>>  ------------------------------------------------------------------------
>>
>>
>>            _______________________________________________
>>            osg-users mailing list
>>            [email protected]
>>            <mailto:[email protected]>
>>
>>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>>        --        This message is subject to the CSIR's copyright terms and
>>        conditions, e-mail legal notice, and implemented Open Document
>>        Format (ODF) standard. The full disclaimer details can be found
>>        at http://www.csir.co.za/disclaimer.html.
>>
>>        This message has been scanned for viruses and dangerous content
>>        by MailScanner, and is believed to be clean.  MailScanner thanks
>>        Transtec Computers for their support.
>>
>>
>>        _______________________________________________
>>        osg-users mailing list
>>        [email protected]
>>        <mailto:[email protected]>
>>
>>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
> --
> This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
>
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.  MailScanner thanks Transtec
> Computers for their support.
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to