Is it any way to improve the resolution of KiCAD 3D View?
What do you mean? The 3d view on my system is at âdisplayâ resolution already. Perhaps a screenshot?
I second the OP question. Sometimes the native display resolution is not enough if you plan to use the render in a good looking document. Especially if the user has a 720 display.
AFAIK, there is no way to increase resolution, I hope Iâm wrong though.
I donât understand, the resolution is the same as the display resolutionâŚ??
Perhaps if you export to STEP, then render outside KiCad.
3D viewer usually looks better because it can use povray and material textures. Also is very easy to use.
STEP files dont know about textures, and VRML export requires an external tool like blender with a lot of things to set up.
So yes, it would be nice to have an option to set the resolution when you click on the export 3d view to png, but it requires some manpower like @kammutierspule 's
For rendering, step might be the wrong format. This is the reason wrl will stay. Exporting to wrl and rendering in blender might be an option. I think @maui does it this way.
I started to develop a ârender to imageâ exporter where you can set an arbitrary resolution, but it was not merged on the development branch.
https://code.launchpad.net/~mrluzeiro/kicad/+git/kicad/+ref/master
If any developer here would like to try it and maybe make some improvements so it can be proposed to be merged.
It is full functional but not very âuser friendlyâ, or in other words, it on KiCadâs user-friendliness way
Ok, I think the confusion here is that you donât mean resolution. Resolution means pixels per inch. I think what you are talking about is quality of rendering. That includes things like rendering textures, smooth curves, highlights, shadows etc to produce a photo realistic impression.
That is a whole more complex thing than changing the resolution.
[quote=âbobc, post:8, topic:6825, full:trueâ]
Ok, I think the confusion here is that you donât mean resolution.[/quote]
I meant exactly that. Right now there is no way to improve the resolution of what is rendered in 3DViewer. Photorealistic impression is already implemented thanks to mario.
I didnât know the render to image is already implemented in marioâs branch, lets hope in merged soon in the master tree =)
Ok, so you just want to make the image bigger than is displayed on screen?
Yes, so you can export a 20MB image if you are so inclined.
That would generate very zoomable images of the boards for review and marketing. Is good for posters where you need high res images, or for a dude that shoots 4k video (well, that dude probably has a 4k display anyway).
See this example, this is the best image I could get from my older laptop
this is exactly the road I use:
- have all wrl models with material properties
- export from kicad to VRML
- import in blender conserving wrl attributes
- add light and whatever needed
- make an image rendering or even a movie of the product
that is much more effort than just using @kammutierspule great 3D raytracer, but can give you more flexibility
By the way⌠there is a workarround trick to get arbitrary resolution from 3D Viewer.
This works for me (tested on Linux):
- open the 3d Viewer and âun - maximazeâ it so you can move the window.
- move the window down right, so the left top corner will be around your center screen
- Increase the window size with the mouse from the left top corner of the window on the left top corner direction of your screen.
- Repeat 2. and 3. until you are happy with the size.
- Export normally the render File -> export PNG or JPGâŚ
On other words, you increase (resize) your 3D Viewer window and hide some part so you make the menu visible for you, so you can export the render as an image.
http://paltatech.com/files/VESC-controller.png
it really does work. Sometimes the saved file looks poorly lit when saved at high resolutions.
Thanks for the workaround Mario
Impressive render Marcos! I didnât believe it was made with KiCad at first look
Great work getting all the 3D models for the board!
Btw, as I personal preference, I usually do something similar as you did with the labels for documentation but I make the renders in âorthographic projectionâ mode enabled.
Here is the actual pcb in case you wonder.
I like how accurate are the shadows near the green connectors. The only noticeable difference would be the copper keepout in the right bottom. [OT]The copper in inner layers is usually very close to the pcb surface, around 15um, so you can tell the difference if there is or there isnât copper in those inner layers.
In the 3D models the distance between all copper layers is the same.[/OT]
Do you think it possible to add a feature to the 3D viewer?
Every time I look at the back of a board the light is not âfollowingâ.
Itâs way way darker there.
Couldnât there be some option to flip the lighting rig around once the viewpoint switches the plane described by the pcb and give the same results as the front of the board?
I remember some (precision) issues on rendering the inner refractions of the board. Also I believe I only enabled the top and bottom copper layers when you have the option âShow Board Bodyâ.
Can you try to disable the âShow Board Bodyâ and see if it renders the inner layers? There may be some precision issues so the result will depend on the zoom. (a closer zoom should work better).
Not sure if I understand correctly. Are you talking about the Raytracing render mode?
I think you are describing the case when you render with raytracing and with a floor plane. At this moment it is only possible to add a floor plane (to the back side).
So when you place the camera back it will render the back of the board in the shadow.
It misses an options to add a âfloor planeâ on the top or something.
Also I had in mind before to add a light position editor GUI ⌠but I didnât get a chance to develop itâŚ
That way it will be possible to rotate the light directionsâŚ