BlendLuxCore Development

Discussion related to the LuxCore functionality, implementations and API.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

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
Attachments
2019-06-08_20-36-22.png
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

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.
Attachments
a mesh with vertex colors
a mesh with vertex colors
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: BlendLuxCore Development

Post by lacilaci »

Beautyful progress :!:
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: BlendLuxCore Development

Post by Sharlybg »

Wow this is a sooo good news. Nice progress. :)
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
provisory
Posts: 235
Joined: Wed Aug 01, 2018 4:26 pm

Re: BlendLuxCore Development

Post by provisory »

👍
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

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.
User avatar
Piita
Supporting Users
Posts: 64
Joined: Tue Dec 05, 2017 4:54 pm

Re: BlendLuxCore Development

Post by Piita »

What?! Does Blender 2.8 have such a big internal change compared to 2.79 that you have to redo the entire blendluxcore?
Piitas.blog
Librem 5 - The privacy focused smart phone
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: BlendLuxCore Development

Post by lacilaci »

Oh I see, so there's no master anymore, until 2.8 becomes master?
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

Piita wrote: Tue Jun 11, 2019 11:38 am What?! Does Blender 2.8 have such a big internal change compared to 2.79 that you have to redo the entire blendluxcore?
Pretty much, yeah.
That's why I hesitated so long to start this massive project.
lacilaci wrote: Tue Jun 11, 2019 11:56 am Oh I see, so there's no master anymore, until 2.8 becomes master?
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.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

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
Attachments
2019-06-12_19-49-55.png
Post Reply