Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#25289] X3D export generates incorrect direction for SpotLight
Date:
2010-12-18 22:15
Priority:
3
State:
Closed
Submitted by:
John Coady (
jdc
)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Import/Export
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
X3D export generates incorrect direction for SpotLight
Detailed description
I performed an Export to X3D on the attached blend file. The Lamp objects produced incorrect direction values for the SpotLight in the Exported X3D scene. For instance the Lamp004 object at location -59.651 -1.888 1.884 with rotation X = 0 Y = -90 Z = 0 produced a direction of "0.0 0.0 1.0" instead of "1.0 0.0 0.0"
Export from X3D produced this result
<SpotLight DEF="Lamp_004" radius="67.161" ambientIntensity="0.0" intensity="0.029" color="1.0 1.0 1.0" beamWidth="0.077" cutOffAngle="0.1" direction="0.0 0.0 1.0" location="-59.651 1.884 1.888" />
and should have produced this result
<SpotLight DEF="Lamp_004" radius="67.161" ambientIntensity="0.0" intensity="0.029" color="1.0 1.0 1.0" beamWidth="0.077" cutOffAngle="0.1" direction="1.0 0.0 0.0" location="-59.651 1.884 1.888" />
which is a spotlight located far down the -X axis with a direction pointing along the +X axis.
Similar errors where seen on all the other SpotLight objects in the scene. There are other problems with lighting in this scene which I will report in a separate bug report.
I am using the latest nightly build of Blender 2.55.1 on a windows XP machine.
Followup
Message
Date
: 2010-12-19 08:43
Sender
:
Campbell Barton
fixed r33779.
Attached Files:
No Files Currently Attached
Changes:
Field
Old Value
Date
By
status_id
Open
2010-12-19 08:43
campbellbarton
close_date
None
2010-12-19 08:43
campbellbarton
assigned_to
none
2010-12-19 08:43
campbellbarton
Status
New
2010-12-19 08:43
campbellbarton