HugTower has implemented a new math texture: rounding.
You can specify the increment to round to.
For example, if the increment is 1, you get no decimal places after rounding: 34.567 -> 35
If the increment is 0.1, you get one decimal place: 34.567 -> 34.6
The increment can be textured.
I have added the support in BlendLuxCore on the 2.79_maintenance branch: https://github.com/LuxCoreRender/BlendL ... aintenance
BlendLuxCore Development
Re: BlendLuxCore Development
The 2.8 port is coming along, I'm laying the foundations step by step.
What's working so far:
- the addon registers without errors (I had to edit 150 files to reach this point, a lot of search/replace of course)
- I have ported the viewport draw code to modern OpenGL
- I can start a small, hard-coded testscene that is rendered in the viewport, and I can move the camera around
- I have ported our C++-accelerated mesh conversion code, so I can load meshes from Blender into Lux (at the moment only one object can be used)
What's not working yet:
- Everything else
- Final render, viewport render, material previews are not usable yet
- The whole UI is disabled, meaning that the property window is very empty
- The viewport camera is slightly off for some reason
I'm mostly done with the groundwork though.
What's working so far:
- the addon registers without errors (I had to edit 150 files to reach this point, a lot of search/replace of course)
- I have ported the viewport draw code to modern OpenGL
- I can start a small, hard-coded testscene that is rendered in the viewport, and I can move the camera around
- I have ported our C++-accelerated mesh conversion code, so I can load meshes from Blender into Lux (at the moment only one object can be used)
What's not working yet:
- Everything else
- Final render, viewport render, material previews are not usable yet
- The whole UI is disabled, meaning that the property window is very empty
- The viewport camera is slightly off for some reason
I'm mostly done with the groundwork though.
Re: BlendLuxCore Development
Wow this is a sooo good news. Nice progress.
Re: BlendLuxCore Development
I have renamed the branch "2.79_maintenance" to "2_79_maintenance" because Blender doesn't list the addon if the name contains a dot.
https://github.com/LuxCoreRender/BlendL ... aintenance
This is the branch where 2.79 fixes will be commited. If you want to use the latest daily builds, download from there.
https://github.com/LuxCoreRender/BlendL ... aintenance
This is the branch where 2.79 fixes will be commited. If you want to use the latest daily builds, download from there.
Re: BlendLuxCore Development
What?! Does Blender 2.8 have such a big internal change compared to 2.79 that you have to redo the entire blendluxcore?
Re: BlendLuxCore Development
Oh I see, so there's no master anymore, until 2.8 becomes master?
Re: BlendLuxCore Development
Pretty much, yeah.
That's why I hesitated so long to start this massive project.
Yes, master will not be used, instead there's one branch for 2.79 and one for 2.8, and eventually the latter will be merged into master.
Re: BlendLuxCore Development
HugTower has implemented a new math texture: modulo.
It exposes the "fmod" operation: https://en.cppreference.com/w/cpp/numeric/math/fmod
Meaning that it returns the remainder of the floating point division of value 1 divided by value 2.
I have added the support in BlendLuxCore on the 2.79_maintenance branch: https://github.com/LuxCoreRender/BlendL ... aintenance
It exposes the "fmod" operation: https://en.cppreference.com/w/cpp/numeric/math/fmod
Meaning that it returns the remainder of the floating point division of value 1 divided by value 2.
I have added the support in BlendLuxCore on the 2.79_maintenance branch: https://github.com/LuxCoreRender/BlendL ... aintenance