Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-08-01 Thread Mário Luzeiro
What do the models look like in another 3D viewer which correctly renders normals? It's hard to tell with 3DViewer because it looks to me like every facet is rendered on both sides (but that may be correct - the surface may have the 'solid' attribute). If a facet were rendered only on 1

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-31 Thread Mário Luzeiro
Any suggestions on how this can be unified will be welcome. One option is to add a selection item to the VRML dialog to specify if the offset is mm or inch. With that option I can also implement a good IDF solution. - Cirilo I don't know how KiCad deals with unities. As a KiCad user I feel

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-31 Thread Cirilo Bernardo
-developers] 3D-Viewer new rendering and contributions. Any suggestions on how this can be unified will be welcome. One option is to add a selection item to the VRML dialog to specify if the offset is mm or inch. With that option I can also implement a good IDF solution. - Cirilo I don't know

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-31 Thread Cirilo Bernardo
- Original Message - From: Nick Østergaard oe.n...@gmail.com To: Mário Luzeiro mrluze...@ua.pt Cc: KiCad Developers kicad-developers@lists.launchpad.net Sent: Friday, August 1, 2014 12:36 AM Subject: Re: [Kicad-developers] 3D-Viewer new rendering and contributions. Hi Mario I

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-31 Thread Nick Østergaard
-developers] 3D-Viewer new rendering and contributions. Hi Mario I did not manage to test your patch before it got committed in rev 5040, fine. But I have now tested it and the offsets and the rotations are good now. I do note that the big connectors I have are strange looking, I guess

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread jp charras
Le 28/07/2014 22:45, Mário Luzeiro a écrit : Hello all, Attached you will find my contribution to 3d-viewer. I hope that it can be incorporated in the trunk of KiCad development. This (not so simple) additions will give to KiCad a more “pro” look that was missing in the 3d-viewer. Have

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
From: jp charras [jp.char...@wanadoo.fr] Sent: 30 July 2014 11:43 To: Mário Luzeiro; kicad-developers@lists.launchpad.net Subject: Re: [Kicad-developers] 3D-Viewer new rendering and contributions. Le 28/07/2014 22:45, Mário Luzeiro a écrit : Hello all, Attached you will find

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Tomasz Wlostowski
On 30.07.2014 12:03, Mário Luzeiro wrote: Thank you for add it Jean-Pierre ! I will now be able to do some more improvements and take it from your revision. I hope now more people can test it, special, openGL compatibility with older systems and model files correctness parsing and rendering.

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Nick Østergaard
Hi Mário I just tried your patch, and building newest head at the moment, but I wonder why the board is transparent. Why is that, see http://www.pasteall.org/pic/show.php?id=74745. I also would like to be able to control the background color better. I want to be able to choose both gradient

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
Subject: Re: [Kicad-developers] 3D-Viewer new rendering and contributions. Hi Mário I just tried your patch, and building newest head at the moment, but I wonder why the board is transparent. Why is that, see http://www.pasteall.org/pic/show.php?id=74745. I also would like to be able to control

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Adam Wolf
give it a look. Cheers, Mario Luzeiro From: Nick Østergaard [oe.n...@gmail.com] Sent: 30 July 2014 18:55 To: Tomasz Wlostowski Cc: Mário Luzeiro; kicad-developers@lists.launchpad.net Subject: Re: [Kicad-developers] 3D-Viewer new rendering

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread jp charras
Le 30/07/2014 20:00, Adam Wolf a écrit : I was able to compile Kicad r5034 on OSX 10.9 fine, but I was not able to compile r5037 on Mac OSX 10.9. This is a frequent issue. just delete pcbnewPYTHON_wrap.cxx. -- Jean-Pierre CHARRAS ___ Mailing

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
...@lists.launchpad.net] on behalf of Adam Wolf [adamw...@feelslikeburning.com] Sent: 30 July 2014 20:00 Cc: kicad-developers@lists.launchpad.net Subject: Re: [Kicad-developers] 3D-Viewer new rendering and contributions. I was able to compile Kicad r5034 on OSX 10.9 fine, but I was not able

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread jp charras
Le 30/07/2014 19:48, Mário Luzeiro a écrit : Hi Nick, ... I have problems with an older design, where the models are offset way too much. Some unit problem? I notice in some models that I got in the web (ex: Walter) (you can see in my first screenshots, in the SMD resistors) that they

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Adam Wolf
I can confirm, there are no GLEW issues during compilation on r5037 on OSX 10.9. On Wed, Jul 30, 2014 at 1:29 PM, jp charras jp.char...@wanadoo.fr wrote: Le 30/07/2014 19:48, Mário Luzeiro a écrit : Hi Nick, ... I have problems with an older design, where the models are offset way

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Nick Østergaard
0.2000298023224, bla bla bla... Cheers, Mario Luzeiro From: Nick Østergaard [oe.n...@gmail.com] Sent: 30 July 2014 18:55 To: Tomasz Wlostowski Cc: Mário Luzeiro; kicad-developers@lists.launchpad.net Subject: Re: [Kicad-developers] 3D-Viewer new rendering

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Nick Østergaard
2014-07-30 20:29 GMT+02:00 jp charras jp.char...@wanadoo.fr: Le 30/07/2014 19:48, Mário Luzeiro a écrit : Hi Nick, ... I have problems with an older design, where the models are offset way too much. Some unit problem? I notice in some models that I got in the web (ex: Walter) (you can

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
To see this issue, just edit a 3d shape parameters of any footprint on a board. If you want an offset = 0.1 inch (easy to test with a DIP package), you need to enter 0.1/25.4 -- Jean-Pierre CHARRAS It looks like an issue, I will have a look on that. That was something I didn't test

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Nick Østergaard
Den 30/07/2014 20.29 skrev jp charras jp.char...@wanadoo.fr: Le 30/07/2014 19:48, Mário Luzeiro a écrit : Hi Nick, ... I have problems with an older design, where the models are offset way too much. Some unit problem? I notice in some models that I got in the web (ex: Walter)

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Cirilo Bernardo
- Original Message - From: Mário Luzeiro mrluze...@ua.pt To: Nick Østergaard oe.n...@gmail.com Cc: kicad-developers@lists.launchpad.net kicad-developers@lists.launchpad.net Sent: Thursday, July 31, 2014 3:48 AM Subject: Re: [Kicad-developers] 3D-Viewer new rendering

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Cirilo Bernardo
- Original Message - From: jp charras jp.char...@wanadoo.fr To: Mário Luzeiro mrluze...@ua.pt; kicad-developers@lists.launchpad.net kicad-developers@lists.launchpad.net Cc: Sent: Thursday, July 31, 2014 4:29 AM Subject: Re: [Kicad-developers] 3D-Viewer new rendering

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
Hi Nick, would you mind to test it now with your (and another..) board? Special, If you have models with different rotations applied. I am still not sure if it is correctly implemented (or as same as the older viewer). Changes: Fix translation and rotation issues in 3d viewer render. (kicad

[Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-29 Thread Mário Luzeiro
Hello all, Attached you will find my contribution to 3d-viewer. I hope that it can be incorporated in the trunk of KiCad development. This (not so simple) additions will give to KiCad a more “pro” look that was missing in the 3d-viewer. Have a look in the screen-shots attached to get an idea

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-29 Thread jp charras
Le 28/07/2014 22:45, Mário Luzeiro a écrit : Hello all, Attached you will find my contribution to 3d-viewer. I hope that it can be incorporated in the trunk of KiCad development. This (not so simple) additions will give to KiCad a more “pro” look that was missing in the 3d-viewer. Have a

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-29 Thread Martijn Kuipers
VIva Mário, They look awesome. Thanks! One thing I just noticed immediately, and perhaps it was already so in the previous 3d viewer, is that the silkscreen extends beyond the board. In your “Gruvin Co v1.2” board, the silkscreen of the RP-SMA and slide-switch extends beyond the board

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-29 Thread Mário Luzeiro
...@gmail.com] Sent: 29 July 2014 09:38 To: Mário Luzeiro Cc: kicad-developers@lists.launchpad.net Subject: Re: [Kicad-developers] 3D-Viewer new rendering and contributions. VIva Mário, They look awesome. Thanks! One thing I just noticed immediately, and perhaps it was already so in the previous 3d viewer

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-29 Thread Cirilo Bernardo
- Original Message - From: Mário Luzeiro mrluze...@ua.pt To: jp charras jp.char...@wanadoo.fr; kicad-developers@lists.launchpad.net kicad-developers@lists.launchpad.net Cc: Sent: Tuesday, July 29, 2014 4:46 PM Subject: Re: [Kicad-developers] 3D-Viewer new rendering

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-29 Thread Mário Luzeiro
Hi Cirilo, As for disabling emission, specular reflection, and diffuse reflection, I would not do that. If the model looks ugly then people should fix the model. Breaking software to make ugly models look prettier is not a good thing. Maybe you can add an option so that you can disable