← Back to team overview

kicad-developers team mailing list archive

Re: Some new sweet features on the new 3D-Viewer

 

2016-03-04 22:13 GMT+01:00 easyw <easyw@xxxxxxxxxxxx>:
> Hi Nick,
>>
>> I have a desing in similar complexity as that board and maybe a bit
>> less, but it takes 17 seconds to load the board in the 3d view,
>> whereas in the 3d viewer in 4.0.2 it takes 3 seconds for it to render
>> in the 3d viewer.
>
> are you talking about Raytracing or OpenGL?

Initial open of the 3d viewer which seems to alsways revert to opengl, so far.

>
> If you are talking about Raytracing, it is normal that rendering will take
> long... it is a feature for realistic screenshots, not for normal
> inspection, or at least that is what I would have expected...
> i.e. if you do realistic rendering in Blender you have to wait quite long
> time to get the result to obtain a real 'realistic' view...
>
> I compared Mario OpenGL viewer (with cache) and the recent 6558 revision of
> 3d-viewer and I get almost 1/10 rendering time in favor of Mario version...
> (these results on a mobile win8-64b with a modest graphic card)
>
> Maurice
>
>
> On 04/03/2016 19.23, Nick Østergaard wrote:
>>
>> Hi Mario
>>
>> I just tried your branch the other day, but there the raytracing did
>> not seem work properly at all. It was not rendering anything sometimes
>> and when it did it was one of the very low res views. I don't remeber
>> the revno, have you see this before? (I have not tried the latest of
>> today yet, in case you already fixed it).
>>
>> I have a desing in similar complexity as that board and maybe a bit
>> less, but it takes 17 seconds to load the board in the 3d view,
>> whereas in the 3d viewer in 4.0.2 it takes 3 seconds for it to render
>> in the 3d viewer.
>>
>> I have also noticed that there are not holes rendered in the solder
>> paste in the opengl view.
>>
>> 2016-03-04 18:27 GMT+01:00 Mário Luzeiro <mrluzeiro@xxxxx>:
>>>
>>> Hello all,
>>> implemented a new eye candy feature on Raytracing: a floor plane (shadows
>>> + reflections).
>>>
>>> Screenshoot (attached) render of this project:
>>>
>>> https://hackaday.com/2016/01/19/developed-on-hackaday-hadge-update-its-a-hack/
>>>
>>> (thanks to Maurice to send me the project with all the files and 3d
>>> models included)
>>>
>>> Enjoy!
>>> Mario Luzeiro
>>> ________________________________________
>>> From: easyw [easyw@xxxxxxxxxxxx]
>>> Sent: 03 March 2016 17:24
>>> To: Mário Luzeiro; kicad-developers@xxxxxxxxxxxxxxxxxxx; Wayne Stambaugh
>>> Subject: Re: Some new sweet features on the new 3D-Viewer
>>>
>>> Hi Mario,
>>>
>>> I just say GREAT!
>>>
>>> the *3D cache* is a great improvement and it is blazing fast!
>>>
>>> *Virtual Attributes* are a plus for mechanical integration and enclosure
>>> design
>>> The new *Pivot center of rotation* is a gem for inspecting in 3D viewer
>>> big boards in all electrical and mechanical aspects...
>>>
>>> Also the ability to show/hide material properties is very useful to be
>>> able to concentrate on designing aspects!
>>> Nice option also CAD style view!
>>>
>>> *Raytracing* also adds an option to get nice screenshots of the board
>>> and parts and *animated camera* is a nice aesthetic feature for product
>>> presentation aspects.
>>>
>>> Looking forward to see it in the main branch! :D
>>>
>>> Thank you again for your work!
>>>
>>> Maurice
>>>>
>>>> p.s.: Now Maurice, Could you take some nice render screenshots and show
>>>> here
>>>
>>> screenshots will arrive soon ;)
>>>
>>> again thanks a lot for these improvements!
>>> M
>>>
>>> On 03/03/2016 17.10, Mário Luzeiro wrote:
>>>>
>>>> Hello all,
>>>>
>>>> Due to numerous user requests (i.e.: from Maurice, he counts as a dozen
>>>> of users ...), I implemented some new features and candies on my branch:
>>>> lp:~mrluzeiro/kicad/kicad_new3d-viewer
>>>>
>>>> If you want to have fun with your 3D boards, the new features are:
>>>>
>>>> :: Show/Hide Footprint 3d modules based on Attributes (implemented as
>>>> menu checkbox and keyboard shortcuts)
>>>>     Normal, shortcut: T (as in THT)
>>>>     Normal+Insert, shortcut: S (as in SMD)
>>>>     Virtual, shortcut: V (as in .. Virtual)
>>>> Remind that this attributes are already present in Footprint->Attributes
>>>> dialog configuration.
>>>>
>>>> :: (re) implemented use materials model properties
>>>> There are 3 options now: Use all properties, use diffuse only, CAD style
>>>> (it show as a soft gray color so you can concentrate more in the mechanical
>>>> aspects)
>>>>
>>>> :: Pivot rotation and center
>>>> If you click with *middle button* or press *spacebar*, it will center
>>>> the board at the mouse cursor and that will become the center of rotation
>>>> (useful for rotate around a are of interest)
>>>> As a candy, I implemented an animated arrow that will show you where you
>>>> clicked and what the center is (similar when you play MMORPGs or you select
>>>> a unity in a video game )
>>>>
>>>> :: Animated camera
>>>> When you press view keys, the camera will be smooth animated, just to
>>>> remember, these are the already (in stable) shortcuts:
>>>> z/Z, x/X, y/Y, r(reset), F1(zoom in), F2(zoom out), cursor(pan)
>>>>
>>>>
>>>> Hope you enjoy.
>>>> Let me know if you try it.
>>>>
>>>> Mario Luzeiro
>>>>
>>>> p.s.: Now Maurice, Could you take some nice render screenshots and show
>>>> here to these Sirs? :) Thanks!
>>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>


Follow ups

References