Search found 13 matches

by igall2
Thu May 17, 2018 8:20 am
Forum: User Support
Topic: Setting Image for Spot Projector
Replies: 13
Views: 11068

Re: Setting Image for Spot Projector

Thanks B.Y.O.B,

I ran your script on Windows computers.
- On Win7 with OpenCL I had no problems.
- On Win10, without OpenCL, 33% of the images were without the pattern.
- On Win10, with OpenCL, 50% of the images were without the pattern.
Is it likely that the problem occurs specifically on Win10 ...
by igall2
Mon May 14, 2018 7:00 am
Forum: User Support
Topic: Object texture from an image
Replies: 2
Views: 3821

Object texture from an image

Hi,

I'm trying to create an object texture from an image.
For LuxRender, I found the following instructions to do so:

Follow these steps:
Create a new material for your object
Go to textures tab and create a new texture
choose "image texture" in the "Luxrender texture type" section
add in ...
by igall2
Sun May 13, 2018 12:38 pm
Forum: User Support
Topic: Setting Image for Spot Projector
Replies: 13
Views: 11068

Re: Setting Image for Spot Projector


Please test your script with Cycles as render engine.
If it works ok there but not in BlendLuxCore, I will investigate.


Thanks B.Y.O.B,

I did as you suggested.
In cycles, the pattern always appears in the render results, on both computers.
(A link to the scene with cycles for JIC: https ...
by igall2
Thu May 10, 2018 10:57 am
Forum: User Support
Topic: Setting Image for Spot Projector
Replies: 13
Views: 11068

Re: Setting Image for Spot Projector

Thanks B.Y.O.B,

I did the corrections that you have suggested.


Then please do further tests.
If you can show that the problem is a bug in BlendLuxCore, I can help you again.


I have done more tests. Now I have the same behavior on both computers.
One or both of the cameras are now rendered ...
by igall2
Wed May 09, 2018 8:43 am
Forum: User Support
Topic: Setting Image for Spot Projector
Replies: 13
Views: 11068

Re: Setting Image for Spot Projector

Thanks B.Y.O.B,

I have replaced the code as you suggested, but still sometimes on a faster computer one of the cameras is rendered without the pattern.


Your script also makes some other wonky assumptions, e.g. that one of the cameras is selected. I would change this.


It seems that this is an ...
by igall2
Tue May 08, 2018 2:23 pm
Forum: User Support
Topic: Setting Image for Spot Projector
Replies: 13
Views: 11068

Re: Setting Image for Spot Projector


Can you upload an example scene showing the problem?


Done.
Here is the link:
https://drive.google.com/file/d/1COTFuzF4P-Z4-7FQZwg8Zc0PoRFWD88c/view?usp=sharing

Important note:
The problem appeared on a Win10 x64 PC with GTX 1070 GPU and i7-8700K CPU
The problem didn't appear on a Win7 x64 PC ...
by igall2
Tue May 08, 2018 7:52 am
Forum: User Support
Topic: Setting Image for Spot Projector
Replies: 13
Views: 11068

Re: Setting Image for Spot Projector

Thanks B.Y.O.B!


I fixed the exception being thrown and another issue.


I took your fix and updated to the latest version.


Is your image a generated image? If yes, try to save it to disk.


I'm loading my image from the disk with the following lines of code:
image_name = os.path.basename ...
by igall2
Mon May 07, 2018 3:11 pm
Forum: User Support
Topic: Setting Image for Spot Projector
Replies: 13
Views: 11068

Setting Image for Spot Projector

Hi,

I'm trying to set the Image of Spot Projector from the Python Console of Blender, with the following line of code:
bpy.data.lamps['Spot'].luxcore.image = bpy.data.images['AAA.png']

As a result, I get an error:
Traceback (most recent call last):
File "C:\Users\igall\AppData\Roaming\Blender ...
by igall2
Mon May 07, 2018 1:56 pm
Forum: User Support
Topic: Saving AOVs
Replies: 2
Views: 3058

Re: Saving AOVs

Thanks a lot B.Y.O.B!
by igall2
Tue May 01, 2018 12:58 pm
Forum: User Support
Topic: Saving AOVs
Replies: 2
Views: 3058

Saving AOVs

Hi,

I can't make LuxCore2 to save the position AOV and the RGB AOV.
Can anyone help?

Many thanks,
Igal