Spotlights not working

Forums: Spotlights not working
Unreal® Engine Integrated Plugin

Moderator: ChrisHekman

Re: Spotlights not working

Postby ChrisHekman » Tue Apr 13, 2021 5:51 pm

ChrisHekman Tue Apr 13, 2021 5:51 pm
I think that I have fixed this issue. It will be part of the next build.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 968
Joined: Wed Jan 18, 2017 3:09 pm

Re: Spotlights not working

Postby TGeldard » Fri Apr 16, 2021 1:49 am

TGeldard Fri Apr 16, 2021 1:49 am
What was the issue? Is there anything I can do about it now?
TGeldard
 
Posts: 18
Joined: Mon Sep 28, 2020 5:25 am

Re: Spotlights not working

Postby ChrisHekman » Fri Apr 16, 2021 9:55 am

ChrisHekman Fri Apr 16, 2021 9:55 am
TGeldard wrote:What was the issue? Is there anything I can do about it now?


Spotlights are implemented as IES lights. Basically, the plugin generates an ies file that has the same spotlight "shape" as the unreal spotlight.
This ies file is then saved by the plugin to a temp folder, and then loaded by octane as a ies light distribution.
In the upcomming build I changed it so that plugin will directly create a light distribution, skipping the ies file saving/loading.
I always wanted to remove this IES file loading/saving sillyness, because it is bad engineering, but it was never a priority until now.

I suspect there is something going on where the saving and loading of the IES file is not working on your machine. Most likely due to write access rights to the temp folder.
You can check if the files are being created trying to locate the tempfolder.

On windows the tempfolder is:
%USERPROFILE%/Appdata/Local/Temp/UE4IESFiles"
Which is "C:/Users/user/Appdata/Local/Temp/UE4IESFiles" on my machine.
You can check yours by typing in %userprofile% in windows file explorer and look into the appdata/local for the temp folder.

On mac it is:
TMPDIR
(echo $TMPDIR to find out where this is)
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 968
Joined: Wed Jan 18, 2017 3:09 pm

Re: Spotlights not working

Postby TGeldard » Mon Apr 19, 2021 2:15 am

TGeldard Mon Apr 19, 2021 2:15 am
Hi Chris,

I had a look into the folder and it would appear you were right. I haven't tested to see if this resolves the issue in UE4, but my system was denying write access as you suggested. I have changed it, and will be testing it today. I will update with the results.

Thanks,

Tim
TGeldard
 
Posts: 18
Joined: Mon Sep 28, 2020 5:25 am

Re: Spotlights not working

Postby ChrisHekman » Wed Apr 28, 2021 3:19 pm

ChrisHekman Wed Apr 28, 2021 3:19 pm
TGeldard wrote:Hi Chris,

I had a look into the folder and it would appear you were right. I haven't tested to see if this resolves the issue in UE4, but my system was denying write access as you suggested. I have changed it, and will be testing it today. I will update with the results.

Thanks,

Tim


Should now be fixed in the new build.
viewtopic.php?f=132&p=399956#p399956
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 968
Joined: Wed Jan 18, 2017 3:09 pm

Re: Spotlights not working

Postby TGeldard » Thu Apr 29, 2021 12:01 am

TGeldard Thu Apr 29, 2021 12:01 am
Thanks Chris. Have to say, I’m impressed by the bug resolution from you guys with these kinds of issues.

Have a great day!

Tim
TGeldard
 
Posts: 18
Joined: Mon Sep 28, 2020 5:25 am

Re: Spotlights not working

Postby TGeldard » Mon May 17, 2021 5:04 am

TGeldard Mon May 17, 2021 5:04 am
Hi Chris,

Spotlights are now working inside UE4, however when I export to ORBX and open in standalone (2020.2.3) the spotlights have not converted, and do not work. Any suggestions for how to fix this?

Tim
TGeldard
 
Posts: 18
Joined: Mon Sep 28, 2020 5:25 am

Re: Spotlights not working

Postby ChrisHekman » Thu May 20, 2021 10:46 am

ChrisHekman Thu May 20, 2021 10:46 am
TGeldard wrote:Hi Chris,

Spotlights are now working inside UE4, however when I export to ORBX and open in standalone (2020.2.3) the spotlights have not converted, and do not work. Any suggestions for how to fix this?

Tim


Ill check it out.
Are you usuing the sequencer ORBX exporter? or the static ORBX exporter (the option next to the import orbx in the main toolbar?)
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 968
Joined: Wed Jan 18, 2017 3:09 pm

Re: Spotlights not working

Postby TGeldard » Mon May 24, 2021 12:28 am

TGeldard Mon May 24, 2021 12:28 am
Hey Chris,

I'm using the static exporter. The graph editor is identical in UE4 and Standalone, but it only works in UE4. All lights are there, same as in UE4, but they emit no light. I've expanded the node, and connected both black body and texture emission, and there is no reult.

Tim
TGeldard
 
Posts: 18
Joined: Mon Sep 28, 2020 5:25 am

Re: Spotlights not working

Postby TGeldard » Wed Jun 02, 2021 11:21 pm

TGeldard Wed Jun 02, 2021 11:21 pm
Hi Chris,

Just following up on this. This issue is happening with my whole team, and we are unable to resolve it. Is there something I can send you to make it easier?

Tim
TGeldard
 
Posts: 18
Joined: Mon Sep 28, 2020 5:25 am
PreviousNext

Return to Unreal® Engine


Who is online

Users browsing this forum: No registered users and 8 guests

Thu Mar 28, 2024 3:38 pm [ UTC ]