The last days a had some time to take a deeper look again on my problem and I
could figure out what caused problem.
We are using very complex shaders which are put together depending on specific
attributes for materials.
In our case it happened that there was an unused uniform sampler2D in the
shader code. On windows this had no effect on the rendering but on OSX all
geometry with that material totally disappeared. So I corrected the shader
building so that there are no unused uniforms in my shader code. Finally
everything works fine, but I do not have an explanation for that...
Regards,
Marcus
On Apr 8, 2011, at 9:59 AM, Marcus Fritzen wrote:
> First of all, thanks for your support.
>
> On 07.04.2011 14:36, Gerrit Voß wrote:
>>
>> Hi,
>>
>> On Wed, 2011-04-06 at 13:38 +0200, Marcus Fritzen wrote:
>>> Hello Gerrit,
>>>
>>> On 06.04.2011 01:34, Gerrit Voß wrote:
>>>> Hi,
>>>>
>>>> On Tue, 2011-04-05 at 16:16 -0500, Aron Bierbaum wrote:
>>>> yes, there is a problem with the aliasing on ATI Hardware / OSX,
>>>> as said in the thread Josef referenced.
>>>> For OSX the workaround was easier as the problem is independent of
>>>> the hardware. For the ATI part I'm looking into a workaround as the
>>>> full solution will take longer.
>>> I also have a strange Problem with OSX where geometry disappears. On
>>> Win7 everything works fine.
>>> Can you give me a hint what your workaround is about? Perhaps it can
>>> help me with my problem.
>> I can try, could you give me a few more hints, e.g. what kind of model,
>> what kind of Chunks are active, especially vertex, fragment or geometry
>> shader. Which OpenSG revision are you using on OS X, best reference for
>> 2.x is the git sha id ?
>>
>> If you would have a small osg sample file that illustrates the problem
>> it would be a great help if you could send if (off list is fine)
>>
>> kind regards
>> gerrit
> Sry for the missing information in my last post. We are basically using
> OpenSG 1.8. The rest is a bit more complex but I will try to give you an
> short overview.
> We have implemented our own Materials and we are using of course vertex and
> fragment shaders. Now the problem. It raises when we use textures e.g. color
> texture or bump texture in our materials. If we do not use such textures the
> material works fine again. Once again, on windows 7 and linux there is no
> such problem. So I debugged our program with the gDebugger and got the
> following errors on OSX: glDisableClientState(GL_VERTEX_ARRAY) Invalid
> Operation in Function osg::GeoVBO::draw (located in OSGGeoPumpFactory.cpp).
> If I turn off the bump texture the error does not occur. I am using a quite
> new Macbook Pro with ATI graphics but I also checked it an my old Macbook Pro
> with NVidia. No difference on the NVidia notebook. So I guess it is a OSX
> specific problem.
>
> On the weekend I will try to set up a small scene with a vertex and fragment
> shader to reproduce the problem.
>
> Best regards,
> Marcus
>>
>>
>> ------------------------------------------------------------------------------
>> Xperia(TM) PLAY
>> It's a major breakthrough. An authentic gaming
>> smartphone on the nation's most reliable network.
>> And it wants your games.
>> http://p.sf.net/sfu/verizon-sfdev
>> _______________________________________________
>> Opensg-users mailing list
>> Opensg-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>
> --
> Dipl. Inf. Marcus Fritzen
> Software Developer
>
> Phone: +49 6151 492 10 36
> Fax: +49 6151 492 10 40
> Email: marcus.frit...@pi-vr.de
>
>
> PI-VR GmbH
> Robert-Bosch-Str. 7
> 64293 Darmstadt
>
> Web: http://www.pi-vr.de
> Youtube: http://www.youtube.com/user/VREDPRO
>
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail ist nicht gestattet.
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev_______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
Dipl. Inf. Marcus Fritzen
Software Developer
Phone: +49 6151 492 10 36
Fax: +49 6151 492 10 40
Email: marcus.frit...@pi-vr.de
PI-VR GmbH
Robert-Bosch-Str. 7
64293 Darmstadt
Web: http://www.pi-vr.de
Youtube: http://www.youtube.com/user/VREDPRO
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users