Points and edges selecting correctly after latest changes, but faces still backwards

View: New views
14 Messages — Rating Filter:   Alert me  

Points and edges selecting correctly after latest changes, but faces still backwards

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for those fixes Tim, is face selection a different issue? With
a mesh sphere, clicking on a forward facing face selects the backward
facing face that is behind it, on the other side of the sphere.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Scott Matthews wrote:
> Thanks for those fixes Tim, is face selection a different issue? With
> a mesh sphere, clicking on a forward facing face selects the backward
> facing face that is behind it, on the other side of the sphere.

Yes, it's different code.  This is going to sound excessive, but could
you put together a screencast to demonstrate?  I just want to be extra
certain that I'm not missing some obvious step to reproduce the problem ...

Cheers,
Tim

[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Parent Message unknown Re: Points and edges selecting correctly after latest changes, but faces still backwards

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Scott Matthews wrote:

> On Thu, Aug 27, 2009 at 12:45 PM, Timothy M. Shead<tshead@...> wrote:
>> Daniel Scott Matthews wrote:
>>> Thanks for those fixes Tim, is face selection a different issue? With
>>> a mesh sphere, clicking on a forward facing face selects the backward
>>> facing face that is behind it, on the other side of the sphere.
>> Yes, it's different code.  This is going to sound excessive, but could you
>> put together a screencast to demonstrate?  I just want to be extra certain
>> that I'm not missing some obvious step to reproduce the problem ...
>>
>
> See attached, click behavior is not the same as drag to select.
No surprises here, I'm still not able to reproduce it.  What is
CMAKE_BUILD_TYPE set to for your build?

Cheers,
Tim



[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Aug 27, 2009 at 3:47 PM, Timothy M. Shead<tshead@...> wrote:

> Daniel Scott Matthews wrote:
>>
>> On Thu, Aug 27, 2009 at 12:45 PM, Timothy M. Shead<tshead@...> wrote:
>>>
>>> Daniel Scott Matthews wrote:
>>>>
>>>> Thanks for those fixes Tim, is face selection a different issue? With
>>>> a mesh sphere, clicking on a forward facing face selects the backward
>>>> facing face that is behind it, on the other side of the sphere.
>>>
>>> Yes, it's different code.  This is going to sound excessive, but could
>>> you
>>> put together a screencast to demonstrate?  I just want to be extra
>>> certain
>>> that I'm not missing some obvious step to reproduce the problem ...
>>>
>>
>> See attached, click behavior is not the same as drag to select.
>
> No surprises here, I'm still not able to reproduce it.  What is
> CMAKE_BUILD_TYPE set to for your build?

The full history of the problem can be found on
https://bugs.freedesktop.org/show_bug.cgi?id=16866
I'm pretty sure mesa is to blame here, and I have proposed a patch,
which will hopefully be accepted and backported into distributions
such as Ubuntu.

In the meantime, we may need to work around this in K-3D. The solution
I have in mind is to flip the culling in GL_SELECT mode to GL_FRONT
instead of GL_BACK only on affected platforms.

In order to properly define the list of affected platforms, I need
everyone who experiences this bug to post the output of the following
shell command:
glxinfo | grep OpenGL

Cheers,

--
Bart

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Aug 28, 2009 at 8:22 AM, Bart Janssens<bart.janssens@...> wrote:

> On Thu, Aug 27, 2009 at 3:47 PM, Timothy M. Shead<tshead@...> wrote:
>> Daniel Scott Matthews wrote:
>>>
>>> On Thu, Aug 27, 2009 at 12:45 PM, Timothy M. Shead<tshead@...> wrote:
>>>>
>>>> Daniel Scott Matthews wrote:
>>>>>
>>>>> Thanks for those fixes Tim, is face selection a different issue? With
>>>>> a mesh sphere, clicking on a forward facing face selects the backward
>>>>> facing face that is behind it, on the other side of the sphere.
>>>>
>>>> Yes, it's different code.  This is going to sound excessive, but could
>>>> you
>>>> put together a screencast to demonstrate?  I just want to be extra
>>>> certain
>>>> that I'm not missing some obvious step to reproduce the problem ...
>>>>
>>>
>>> See attached, click behavior is not the same as drag to select.
>>
>> No surprises here, I'm still not able to reproduce it.  What is
>> CMAKE_BUILD_TYPE set to for your build?
>
> The full history of the problem can be found on
> https://bugs.freedesktop.org/show_bug.cgi?id=16866
> I'm pretty sure mesa is to blame here, and I have proposed a patch,
> which will hopefully be accepted and backported into distributions
> such as Ubuntu.
>
> In the meantime, we may need to work around this in K-3D. The solution
> I have in mind is to flip the culling in GL_SELECT mode to GL_FRONT
> instead of GL_BACK only on affected platforms.
>
> In order to properly define the list of affected platforms, I need
> everyone who experiences this bug to post the output of the following
> shell command:
> glxinfo | grep OpenGL
>

here is mine,

OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) G33 GEM 20090326 2009Q1 RC2
OpenGL version string: 1.4 Mesa 7.4
OpenGL extensions:

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bart Janssens wrote:

> The full history of the problem can be found on
> https://bugs.freedesktop.org/show_bug.cgi?id=16866
> I'm pretty sure mesa is to blame here, and I have proposed a patch,
> which will hopefully be accepted and backported into distributions
> such as Ubuntu.

Impressive catch, congratulations!

Cheers,
Tim

[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Parent Message unknown Re: Points and edges selecting correctly after latest changes, but faces still backwards

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Scott Matthews wrote:

> On Thu, Aug 27, 2009 at 11:46 PM, Timothy M. Shead<tshead@...> wrote:
>> Daniel Scott Matthews wrote:
>>> On Thu, Aug 27, 2009 at 12:45 PM, Timothy M. Shead<tshead@...> wrote:
>>>> Daniel Scott Matthews wrote:
>>>>> Thanks for those fixes Tim, is face selection a different issue? With
>>>>> a mesh sphere, clicking on a forward facing face selects the backward
>>>>> facing face that is behind it, on the other side of the sphere.
>>>> Yes, it's different code.  This is going to sound excessive, but could
>>>> you
>>>> put together a screencast to demonstrate?  I just want to be extra
>>>> certain
>>>> that I'm not missing some obvious step to reproduce the problem ...
>>>>
>>> See attached, click behavior is not the same as drag to select.
>> No surprises here, I'm still not able to reproduce it.  What is
>> CMAKE_BUILD_TYPE set to for your build?
>>
> Not set, what should it show on 64bit x86 Ubuntu?
Empty is fine, CMAKE_BUILD_TYPE is how you specify Debug or Release
builds.  As you would expect, I normally do Debug builds, and that
struck me as a possible explanation for the differences in our results.
  Bart's explanation seems pretty compelling though - you might try
setting CMAKE_BUILD_TYPE to "Debug" (which will trigger a full rebuild),
just to be sure.

Cheers,
Tim


[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Aug 28, 2009 at 1:05 AM, Daniel Scott
Matthews<dsmatthews@...> wrote:

> On Fri, Aug 28, 2009 at 8:22 AM, Bart Janssens<bart.janssens@...> wrote:
>> In order to properly define the list of affected platforms, I need
>> everyone who experiences this bug to post the output of the following
>> shell command:
>> glxinfo | grep OpenGL
>>
>
> here is mine,
>
> OpenGL vendor string: Tungsten Graphics, Inc
> OpenGL renderer string: Mesa DRI Intel(R) G33 GEM 20090326 2009Q1 RC2
> OpenGL version string: 1.4 Mesa 7.4
> OpenGL extensions:

Well, the patch got accepted almost immediately, so I think it might
be best to forget about the workaround, as it could potentially break
things for more people. Mesa 7.5.1 and better should no longer be
affected. I think you can get packages if you use karmic. I've also
asked on the Ubuntu bugtracker to patch the Jaunty packages, see
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/424281
This report also includes the links to the related Mesa git commits,
so you could use those to patch manually as well (my original patch
had an error in it causing a regression elsewhere, so don't use that).

Cheers,

--
Bart

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bart Janssens wrote:

> On Fri, Aug 28, 2009 at 1:05 AM, Daniel Scott
> Matthews<dsmatthews@...> wrote:
>> On Fri, Aug 28, 2009 at 8:22 AM, Bart Janssens<bart.janssens@...> wrote:
>>> In order to properly define the list of affected platforms, I need
>>> everyone who experiences this bug to post the output of the following
>>> shell command:
>>> glxinfo | grep OpenGL
>>>
>> here is mine,
>>
>> OpenGL vendor string: Tungsten Graphics, Inc
>> OpenGL renderer string: Mesa DRI Intel(R) G33 GEM 20090326 2009Q1 RC2
>> OpenGL version string: 1.4 Mesa 7.4
>> OpenGL extensions:
>
> Well, the patch got accepted almost immediately, so I think it might
> be best to forget about the workaround, as it could potentially break
> things for more people. Mesa 7.5.1 and better should no longer be
> affected. I think you can get packages if you use karmic. I've also
> asked on the Ubuntu bugtracker to patch the Jaunty packages, see
> https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/424281
> This report also includes the links to the related Mesa git commits,
> so you could use those to patch manually as well (my original patch
> had an error in it causing a regression elsewhere, so don't use that).
Could be a good use for an auto-start plugin that warns people who have
the wrong version ...

Cheers,
Tim

[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Sep 5, 2009 at 3:07 AM, Timothy M. Shead <tshead@...> wrote:
> Could be a good use for an auto-start plugin that warns people who have the
> wrong version ...

OK, done. Pull revision e86732d0c7bcce8c6470bd4b0218aa49694a92f5 from
https://k3d-bart.googlecode.com/hg/ to get it. This also includes some
build fixes for gcc 4.4.1 and the boost detection, which seems to have
broken somewhere with the workaround for the system lib. It is likely
that this will break boost detection when all of the following
conditions are true:
- Boost version < 1.35
- CMake version < 2.6.4
- Collada-IO plugin is built

Reason for those changes is that I did an upgrade to Ubuntu Karmic, to
see if the fix for the selection problem was in yet, but it isn't.

Cheers,

--
Bart

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bart Janssens wrote:

> On Sat, Sep 5, 2009 at 3:07 AM, Timothy M. Shead <tshead@...> wrote:
>> Could be a good use for an auto-start plugin that warns people who have the
>> wrong version ...
>
> OK, done. Pull revision e86732d0c7bcce8c6470bd4b0218aa49694a92f5 from
> https://k3d-bart.googlecode.com/hg/ to get it. This also includes some
> build fixes for gcc 4.4.1 and the boost detection, which seems to have
> broken somewhere with the workaround for the system lib. It is likely
> that this will break boost detection when all of the following
> conditions are true:
> - Boost version < 1.35
> - CMake version < 2.6.4
> - Collada-IO plugin is built
>
> Reason for those changes is that I did an upgrade to Ubuntu Karmic, to
> see if the fix for the selection problem was in yet, but it isn't.
Getting caught-up here ... I have a problem with "libio.h" on OSX -
where does it come from?  What does it do?  Seems like it's introducing
a dependency on a new library that I've never heard of ...

Cheers,
Tim

[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Sep 18, 2009 at 7:54 AM, Timothy M. Shead <tshead@...> wrote:
> Getting caught-up here ... I have a problem with "libio.h" on OSX - where
> does it come from?  What does it do?  Seems like it's introducing a
> dependency on a new library that I've never heard of ...

Ah, sorry. GCC 4.4 was complaining about EOF not being defined, and
hitting F3 in eclipse on EOF opened libio.h on Linux. I've included
cstdio instead now, so it should be ok. Pull revision 5182f57784 from
https://k3d-bart.googlecode.com/hg/ for the fix.

Cheers,

--
Bart

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bart Janssens wrote:

> On Fri, Sep 18, 2009 at 7:54 AM, Timothy M. Shead <tshead@...> wrote:
>> Getting caught-up here ... I have a problem with "libio.h" on OSX - where
>> does it come from?  What does it do?  Seems like it's introducing a
>> dependency on a new library that I've never heard of ...
>
> Ah, sorry. GCC 4.4 was complaining about EOF not being defined, and
> hitting F3 in eclipse on EOF opened libio.h on Linux. I've included
> cstdio instead now, so it should be ok. Pull revision 5182f57784 from
> https://k3d-bart.googlecode.com/hg/ for the fix.
>
> Cheers,
>
Merged, thanks!
Tim


[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Points and edges selecting correctly after latest changes, but faces still backwards

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Aug 26, 2009 at 11:56 AM, Daniel Scott Matthews
<dsmatthews@...> wrote:
> Thanks for those fixes Tim, is face selection a different issue? With
> a mesh sphere, clicking on a forward facing face selects the backward
> facing face that is behind it, on the other side of the sphere.

The fix for this bug is now included in the latest Karmic mesa
packages on Ubuntu.

Cheers,

--
Bart

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development