You can put two project in a same document, one povray and one luxrender. But you still need two separate ones. I thought about doing some intelligent object that would decide what kind of data to output depending on the template type, but this seemed complicated to me, separated objects seemed a more solid basis...triplus wrote: I imagine only one at a time is possible and it's not possible to use both at the same time?
I had a quick look at it and the code looks very clear and clean. There is only a little change to make for rescaleMatrix. Change its interface fromAlso if some of you C++ gurus could give a quick look to check that I didn't commit any big sin, I'd appreciate: https://github.com/yorikvanhavre/FreeCA ... x?expand=1
Code: Select all
rescaleMatrix(std::string mat, float factor)
Code: Select all
rescaleMatrix(const std::string& mat, float factor)
Yes that would be cool and now when we have exporter it will be fun to try out LuxRender in combination with FreeCAD.Great! Thanks a lot for reviewing Werner. I'll merge into master so more people can test.
I have checked again and the file definitely isn't copied. When I e.g. remove the file ProjectStd.pov and rerun make I get a messageStrange, for me the LuxClassic.lxs template was correctly copied to the install dir... I'll check again.
But for LuxClassic.lxs there is no such message.make wrote: Generating ../../../../data/Mod/Raytracing/Templates/ProjectStd.pov
Ah, that's probably the problem. I created the standard box which already has the dimensions of 10x10x10 and thus covers the complete volume.It defines a 10x10x10 cube around the origin, to act as a "shell" (the big advantage of luxrender is that it calculates light bouncing, so it is always better to place objects inside a container, light gets much better), but the lights are much too close to the origin