Page 34 of 40

Re: BlendLuxCore Development

Posted: Mon Apr 23, 2018 9:19 am
by kintuX
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

Re: BlendLuxCore Development

Posted: Tue Apr 24, 2018 12:13 am
by kintuX
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

Re: BlendLuxCore Development

Posted: Tue Apr 24, 2018 6:37 am
by B.Y.O.B.
The missing error message was a regression, I fixed it yesterday.
As a workaround, you can see the message in the console.

Re: BlendLuxCore Development

Posted: Thu Apr 26, 2018 9:43 am
by Sharlybg
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

Re: BlendLuxCore Development

Posted: Thu Apr 26, 2018 9:57 am
by Dade
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.

Re: BlendLuxCore Development

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

Re: BlendLuxCore Development

Posted: Thu Apr 26, 2018 11:21 pm
by kintuX
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 29 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?

Re: BlendLuxCore Development

Posted: Mon May 07, 2018 5:31 pm
by B.Y.O.B.
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?

Re: BlendLuxCore Development

Posted: Thu May 10, 2018 3:28 pm
by kintuX
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.

Re: BlendLuxCore Development

Posted: Sat May 26, 2018 2:32 pm
by B.Y.O.B.
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).