BlendLuxCore Development

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

Re: BlendLuxCore Development

Post by B.Y.O.B. » Sat Jun 08, 2019 6:42 pm

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
Support LuxCoreRender project with salts and bounties

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

Re: BlendLuxCore Development

Post by B.Y.O.B. » Sat Jun 08, 2019 8:20 pm

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
Capture.PNG
a mesh with vertex colors
Support LuxCoreRender project with salts and bounties

User avatar
lacilaci
Donor
Donor
Posts: 1142
Joined: Fri May 04, 2018 5:16 am

Re: BlendLuxCore Development

Post by lacilaci » Sat Jun 08, 2019 8:42 pm

Beautyful progress :!:

User avatar
Sharlybg
Donor
Donor
Posts: 1361
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: BlendLuxCore Development

Post by Sharlybg » Sat Jun 08, 2019 10:21 pm

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

Portfolio : https://www.behance.net/DRAVIA

provisory
Posts: 133
Joined: Wed Aug 01, 2018 4:26 pm

Re: BlendLuxCore Development

Post by provisory » Sun Jun 09, 2019 9:10 am

👍

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

Re: BlendLuxCore Development

Post by B.Y.O.B. » Mon Jun 10, 2019 6:09 pm

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.
Support LuxCoreRender project with salts and bounties

User avatar
Piita
Supporting Users
Posts: 63
Joined: Tue Dec 05, 2017 4:54 pm

Re: BlendLuxCore Development

Post by Piita » 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?
Piitas.blog
Librem 5 - The privacy focused smart phone. It does not run Android or iOS that track you and send data about you to Google.

User avatar
lacilaci
Donor
Donor
Posts: 1142
Joined: Fri May 04, 2018 5:16 am

Re: BlendLuxCore Development

Post by lacilaci » Tue Jun 11, 2019 11:56 am

Oh I see, so there's no master anymore, until 2.8 becomes master?

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

Re: BlendLuxCore Development

Post by B.Y.O.B. » Tue Jun 11, 2019 12:17 pm

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.
Support LuxCoreRender project with salts and bounties

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

Re: BlendLuxCore Development

Post by B.Y.O.B. » Wed Jun 12, 2019 5:53 pm

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
Support LuxCoreRender project with salts and bounties

Post Reply