BlendLuxCore Development

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

Re: BlendLuxCore Development

Post 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
kintuX
Posts: 809
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Development

Post 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
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 missing error message was a regression, I fixed it yesterday.
As a workaround, you can see the message in the console.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: BlendLuxCore Development

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

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: BlendLuxCore Development

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

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

Re: BlendLuxCore Development

Post 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 222 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
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post 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?
kintuX
Posts: 809
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Development

Post 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 pmSounds 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 pmDo 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
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post 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).
Attachments
scrn_2018-05-26_16-29-58.png
Post Reply