BlendLuxCore Development

Discussion related to the Engine functionality, implementations and API.
kintuX
Posts: 196
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Development

Post by kintuX » Mon Apr 23, 2018 9:19 am

B.Y.O.B. wrote:
Mon Apr 23, 2018 9:03 am
kintuX wrote:
Mon Apr 23, 2018 8:51 am
Within the scene file here there's a model (bottle > circle) where the node that needs UV (ie. Glossy Coating Material) states: "No UV map" (That's specifically what i was wondering about.)
Is the mapping working correctly in the rendered image?
The check only looks for a UV map in a mesh datablock, it probably does not even work for curves. If the mapping is working correctly and only the warning is shown, then I will have to correct the code for the warning.
Looks like it's working fine (to be 100% sure, will compare to Cycles later). Thanks.
eg
UV_test-on-curve-object.jpg

kintuX
Posts: 196
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Development

Post by kintuX » Tue Apr 24, 2018 12:13 am

Fresnel File with Metal Material bug?

IIRC there was an Error notification, if wrong file was selected and used for Metal Fresnel File (Lux Pop / Sopra) :?
Now all it does does is nothing (render halts, material preview goes black, render preview transparent as alpha) so user is left to wonder... what? why?

eg
blank.jpg

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

Re: BlendLuxCore Development

Post by B.Y.O.B. » Tue Apr 24, 2018 6:37 am

The missing error message was a regression, I fixed it yesterday.
As a workaround, you can see the message in the console.
Support LuxCoreRender project with salts and bounties

User avatar
Sharlybg
Supporting Users
Posts: 688
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: BlendLuxCore Development

Post by Sharlybg » Thu Apr 26, 2018 9:43 am

I don't know if we already have tis feature but i think if not it could help for better responsivness in realtime preview : this one is for cycles.
Start reso.jpg
Support LuxCoreRender project with salts and bounties

User avatar
Dade
Developer
Posts: 1237
Joined: Mon Dec 04, 2017 8:36 pm

Re: BlendLuxCore Development

Post by Dade » Thu Apr 26, 2018 9:57 am

Sharlybg wrote:
Thu Apr 26, 2018 9:43 am
I don't know if we already have tis feature but i think if not it could help for better responsivness in realtime preview : this one is for cycles.
There are specific RTPATHCPU properties to set the initial resolution, etc. so yes, it is possible to add this feature to BlendLuxCore.
Support LuxCoreRender project with salts and bounties

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

Re: BlendLuxCore Development

Post by B.Y.O.B. » Thu Apr 26, 2018 3:31 pm

Support LuxCoreRender project with salts and bounties

kintuX
Posts: 196
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Development

Post by kintuX » Thu Apr 26, 2018 11:21 pm

B.Y.O.B. wrote:
Tue Apr 24, 2018 6:37 am
The missing error message was a regression, I fixed it yesterday.
As a workaround, you can see the message in the console.
Yes, got a file file "Cr2.nk"
Cr2.zip
(1016 Bytes) Downloaded 30 times
used as:
1. Lux Pop
"Error: | Unparseable luxpop data in: X:\...\Cr2.nk"


and another from (nk sopra source)
2. Sopra
"Error: | Bad sopra header in X:\...\Cr.nk"

switching back and forth (with Preview Render running)

Code: Select all

Exception ignored in: <bound method LuxCoreRenderEngine.__del__ of <bpy_struct, LuxCoreRenderEngine invalid>>
Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 23, in __del__
    if hasattr(self, "_session") and self.session:
ReferenceError: StructRNA of type LuxCoreRenderEngine has been removed
Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\viewport.py", line 19, in view_update
    engine.session = engine.exporter.create_session(context)
ReferenceError: StructRNA of type LuxCoreRenderEngine has been removed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 62, in view_update
    viewport.view_update(self, context)
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\viewport.py", line 23, in view_update
    del engine.session
ReferenceError: StructRNA of type LuxCoreRenderEngine has been removed

location: <unknown location>:-1

Exception ignored in: <bound method LuxCoreRenderEngine.__del__ of <bpy_struct, LuxCoreRenderEngine invalid>>
Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 23, in __del__
    if hasattr(self, "_session") and self.session:
ReferenceError: StructRNA of type LuxCoreRenderEngine has been removed
Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\viewport.py", line 19, in view_update
    engine.session = engine.exporter.create_session(context)
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\export\__init__.py", line 121, in create_session
    luxcore_scene.Parse(scene_props)
RuntimeError: Bad sopra header in: D:\_Studies\LuxR\_LuxCoreTests\..\..\..\Nk_data\Cr2.nk

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 62, in view_update
    viewport.view_update(self, context)
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\viewport.py", line 23, in view_update
    del engine.session
ReferenceError: StructRNA of type LuxCoreRenderEngine has been removed

location: <unknown location>:-1

and then, when i switch to Preset (Aluminium) also this:

Code: Select all

Exception ignored in: <bound method LuxCoreRenderEngine.__del__ of <bpy_struct, LuxCoreRenderEngine invalid>>
Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 23, in __del__
    if hasattr(self, "_session") and self.session:
ReferenceError: StructRNA of type LuxCoreRenderEngine has been removed
Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\viewport.py", line 19, in view_update
    engine.session = engine.exporter.create_session(context)
ReferenceError: StructRNA of type LuxCoreRenderEngine has been removed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 62, in view_update
    viewport.view_update(self, context)
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\engine\viewport.py", line 23, in view_update
    del engine.session
ReferenceError: StructRNA of type LuxCoreRenderEngine has been removed

location: <unknown location>:-1

What, How?
Can i fix this?

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

Re: BlendLuxCore Development

Post by B.Y.O.B. » Mon May 07, 2018 5:31 pm

Commits for the bugfix release v2.0.1 are pushed to the bugfix/v2.0.1 branch: https://github.com/LuxCoreRender/BlendL ... fix/v2.0.1
I also created two milestones for the coming releases, they provide an overview of the associated issues:
https://github.com/LuxCoreRender/BlendL ... ilestone/3
https://github.com/LuxCoreRender/BlendL ... ilestone/2

I'm testing if the milestones are enough for project management, they are easier to manage than github projects.

@kintuX: I somehow forgot your post, it happens when it is not a github issue.
Sounds like the files are not correct.
Do they work in other programs?
Support LuxCoreRender project with salts and bounties

kintuX
Posts: 196
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Development

Post by kintuX » Thu May 10, 2018 3:28 pm

B.Y.O.B. wrote:
Mon May 07, 2018 5:31 pm
@kintuX: I somehow forgot your post, it happens when it is not a github issue.
Yeah, i forgot about it too. ;)

B.Y.O.B. wrote:
Mon May 07, 2018 5:31 pm
Sounds like the files are not correct.
They are scientifically correct but it looks like they use different standard. Gonna look into specifics on Luxpop and Sopra standards.

B.Y.O.B. wrote:
Mon May 07, 2018 5:31 pm
Do they work in other programs?
Tested with Indigo just now and they don't work - error report:
"Only spectral units of eV supported right now..."

All fine :) and thanks again.

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

Re: BlendLuxCore Development

Post by B.Y.O.B. » Sat May 26, 2018 2:32 pm

In v2.1, there will once again be an option to import multiple image textures at once into the node editor.
I have also added support for reroute nodes (shift + left mouse button to add them).
Attachments
scrn_2018-05-26_16-29-58.png
Support LuxCoreRender project with salts and bounties

Post Reply