Lighting feature request

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
nohspamjose
Posts: 16
Joined: Wed May 02, 2018 12:58 pm

Lighting feature request

Post by nohspamjose »

I'm just going to come out with it...
It is perverse that I have access to create my CAD model in FreeCAD, but cannot use it to place lights. Manually text editing a template file to specify the lights seems just the most bizarre twist of poor usability I could think of, and exporting to Blender to set up lights seems excessive and a major cognitive diversion. There may be a power user somewhere who may think it's a more productive style, and the developers of FreeCAD may prefer it, but as I say to my mainframe developers 'you are not your users!'.

Surely, even a basic light placement that uses the model view to position and direct a light and specify its type would be a simple minimum, which would allow
a) creation/modification of a template and
early b) manual naming and more detailed light specification via editing the template. It's the positioning and aiming that's the killer in a text file!
Later b) more sophisticated property editing of lights in FreeCAD, (colour, brightness, etc)

Cheers,

Greg (UXer for 25 years)
chrisb
Veteran
Posts: 54217
Joined: Tue Mar 17, 2015 9:14 am

Re: Lighting feature request

Post by chrisb »

FreeCAD doesn't do the rendering itself. Did you have a look at the Raytracing Workbench?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Lighting feature request

Post by Kunda1 »

chrisb wrote: Wed Jul 10, 2019 1:06 am FreeCAD doesn't do the rendering itself. Did you have a look at the Raytracing Workbench?
Also https://github.com/FreeCAD/FreeCAD-render
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Lighting feature request

Post by openBrain »

nohspamjose wrote: Tue Jul 09, 2019 11:20 pm It is perverse that I have access to create my CAD model in FreeCAD, but cannot use it to place lights. Manually text editing a template file to specify the lights seems just the most bizarre twist of poor usability I could think of, and exporting to Blender to set up lights seems excessive and a major cognitive diversion. There may be a power user somewhere who may think it's a more productive style, and the developers of FreeCAD may prefer it, but as I say to my mainframe developers 'you are not your users!'.
Hi Greg.
IMO, the render/raytracing part of FC should be considered as unfinished ATM. But there is something, and that's a good point.

Now let's try another approach to the problem. How much time would it take for you & your mainframe developers to code a user-friendly solution to place lights ? Maybe not so much. Perhaps you could afford to offer to FreeCAD community a nice pull request about that :?:
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Lighting feature request

Post by Kunda1 »

openBrain wrote: Wed Jul 10, 2019 12:07 pm How much time would it take for you & your mainframe developers to code a user-friendly solution to place lights ?
:+1:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
nohspamjose
Posts: 16
Joined: Wed May 02, 2018 12:58 pm

Re: Lighting feature request

Post by nohspamjose »

Thank you all for your responses. Taking them in no particular order:
  • I am aware that the rendering is done externally, I use POVray (without much success because of difficulty setting up the lighting) _ I used to use Kpovmodeler (a KDE modeller), which was tied to POV but which allowed cameras and lights of various types to be easily placed in the model view. (Also did basic materials, as I recall)
  • My Mainframe developer team don't use CAD software and are stretched doing what they do, so I can't rally them to the cause but I would be willing to work with any FreeCAD development volunteers to design better experiences, perhaps starting with the lighting. I'd be happy to also run user validation on any designs, work out a hill (https://www.ibm.com/cloud/garage/practi ... ice_hills/) and delivery priorities (https://www.ibm.com/design/thinking/pag ... ritization)
  • Thanks for the links; I'll take a look.
User avatar
furti
Posts: 344
Joined: Mon Nov 27, 2017 5:27 pm

Re: Lighting feature request

Post by furti »

As I needed some lights myself (not for rendering right now, but directly in FreeCAD) I added a few commands to the ArchTexturing Workbench.

See here for more details: https://forum.freecadweb.org/viewtopic.php?f=9&t=39031
yorik wrote: ping
@yorik what do you think? It shouldn't be that hard to add the light information to your render workbench.
I might give it a try when I have some time. But at the moment I have a lot of other stuff to do.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Lighting feature request

Post by DeepSOIC »

furti wrote: Mon Sep 02, 2019 5:13 pm As I needed some lights myself (not for rendering right now, but directly in FreeCAD) I added a few commands to the ArchTexturing Workbench.
Nice, I've been wanting to do it for a long time.
User avatar
yorik
Founder
Posts: 13664
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Lighting feature request

Post by yorik »

Excellent! Yes those could be supported easily by the render WB I think. It's mostly a matter of figuring out how lights must be written for each render engine...
Post Reply