FreeCAD / FreeCAD/FreeCAD-render

[Cycles] PointLight can’t be moved, always rendered at (0, 0, 0)

Open
#486 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
235
Forks
44
PR merge metrics
No merged PRs in 30d

Description

FreeCAD 1.0.2
Windows 11 Pro
Engine Cycles

I set up a scene with a point light. [RENDER.zip](https://github.com/user-attachments/files/23189901/RENDER.zip)
When I move the light in FreeCAD, I can see in the preview that its position and color both change correctly.
However, after running the render process, the light only reacts to color changes — its position does not update.

Image
Image
Image
Image

I tried editing the Project.xml file to figure out what the correct XML structure should look like, but I couldn’t get it to work.
I also experimented with the Project.xml file and the Cycles XML interpreter .cpp [code](https://projects.blender.org/blender/cycles/src/branch/main/src/app/cycles_xml.cpp), but it’s a bit too complex for me.

I suspect the issue might be caused by incorrect XML file generation.
Could you please give me some hints on where the problem might be located? I’d be happy to try fixing it, but right now I’m completely lost.

Image
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.