View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006251 | DarkRadiant | Map Editing | public | 02.02.2023 12:49 | 02.02.2023 12:49 |
Reporter | angua | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0006251: light_center should not be transformed when the light is rotated | ||||
Description | When a light is rotated, the light_center gets rotated as well in DarkRadiant. In the game however the light_center stays at the same position relative to the light origin. Also, it would probably be better to have the light rotate around its origin and not the light_center. | ||||
Steps To Reproduce | Create a light, set the light_center somewhere away from its origin. Rotate the light create some object for making a shadow See where the shadow falls | ||||
Tags | No tags attached. | ||||
Attached Files | light_center_test.map (10,110 bytes)
Version 2 // entity 0 { "classname" "worldspawn" // primitive 0 { brushDef3 { ( 0 0 1 -416 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0.5 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 1 0 -416 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 -320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 -512 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 -320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 384 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0.5 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 1 { brushDef3 { ( 0 0 1 -384 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0.5 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 1 0 -448 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 -320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 -160 ) ( ( 0.01953125 0 -0.5 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 -320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 416 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 2 { brushDef3 { ( 0 0 1 -384 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0.5 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 1 0 -416 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 -352 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 -160 ) ( ( 0.01953125 0 -0.5 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 -512 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 3 { brushDef3 { ( 0 1 0 -416 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 -320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 -192 ) ( ( 0.01953125 0 -0.5 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 -512 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 -320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 1 160 ) ( ( 0.01953125 0 -0.5 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 4 { brushDef3 { ( 0 0 1 -384 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0.5 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 -320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 -160 ) ( ( 0.01953125 0 -0.5 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 -544 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 -320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 1 0 512 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 5 { brushDef3 { ( 0 0 1 -384 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0.5 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 1 0 -416 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 -160 ) ( ( 0.01953125 0 -0.5 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 -512 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 -352 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 320 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 6 { brushDef3 { ( 0 0 1 -32 ) ( ( 0.01953125 0 -0.46875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 1 0 128 ) ( ( 0.01953125 0 3.552713678800501e-15 ) ( 0 0.01953125 -1.77635683940025e-15 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 120 ) ( ( 0.01953125 0 -0.46875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 -168 ) ( ( 0.01953125 0 -0.46875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 -144 ) ( ( 0.01953125 0 -3.774758283725532e-15 ) ( 0 0.01953125 -1.332267629550188e-15 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 -136 ) ( ( 0.01953125 0 0.46875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 7 { brushDef3 { ( 0 0 1 -32 ) ( ( 0.01953125 0 -0.46875 ) ( 0 0.01953125 -5.625 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 1 0 128 ) ( ( 0.01953125 0 5.625 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 -168 ) ( ( 0.01953125 0 -0.46875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 -168 ) ( ( 0.01953125 0 -0.46875 ) ( 0 0.01953125 5.625 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 -144 ) ( ( 0.01953125 0 -5.625 ) ( 0 0.01953125 -6.661338147750939e-16 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 152 ) ( ( 0.01953125 0 0.46875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 8 { brushDef3 { ( 0 0 1 -32 ) ( ( 0.01953125 0 -6.71875 ) ( 0 0.01953125 -5.625 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 1 0 -192 ) ( ( 0.01953125 0 5.625 ) ( 0 0.01953125 -8.881784197001252e-16 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 -168 ) ( ( 0.01953125 0 -6.71875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 -168 ) ( ( 0.01953125 0 -6.71875 ) ( 0 0.01953125 5.625 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 176 ) ( ( 0.01953125 0 -5.625 ) ( 0 0.01953125 -5.551115123125783e-16 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 152 ) ( ( 0.01953125 0 6.71875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 9 { brushDef3 { ( 0 0 1 -32 ) ( ( 0.01953125 0 -6.71875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 1 0 -192 ) ( ( 0.01953125 0 0 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 120 ) ( ( 0.01953125 0 -6.71875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 -168 ) ( ( 0.01953125 0 -6.71875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 176 ) ( ( 0.01953125 0 1.199040866595169e-14 ) ( 0 0.01953125 1.332267629550188e-15 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 -136 ) ( ( 0.01953125 0 6.71875 ) ( 0 0.01953125 0 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } // primitive 10 { brushDef3 { ( 0 1 0 -420 ) ( ( 0 0.01953125 0.859375 ) ( 0.01953125 0 -3.28125 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 -1 196 ) ( ( 0 -0.01953125 3.28125 ) ( -0.01953125 0 7.578125 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( -1 0 0 -48 ) ( ( 0 0.01953125 0.859375 ) ( 0.01953125 0 7.578125 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 -1 0 220 ) ( ( 0 0.01953125 0.859375 ) ( 0.01953125 0 3.28125 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 0 0 1 -212 ) ( ( 0 -0.01953125 -3.28125 ) ( -0.01953125 0 7.578125 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 ( 1 0 0 32 ) ( ( 0 -0.01953125 -0.859375 ) ( -0.01953125 0 7.578125 ) ) "textures/darkmod/stone/brick/blocks_large_sandstone" 0 0 0 } } } // entity 1 { "classname" "atdm:ambient_world" "name" "ambient_world" "_color" "0.08 0.08 0.08" "light_center" "0 0 0" "light_radius" "496 528 336" "origin" "-16 -48 112" } // entity 2 { "classname" "info_player_start" "name" "info_player_start_1" "angle" "90.000000" "origin" "-32 -352 -128" } // entity 3 { "classname" "light" "name" "light_1" "light_center" "40 -30 70" "light_radius" "128 128 160" "origin" "-128 -160 -64" "parallel" "1" "texture" "lights/biground1" } // entity 4 { "classname" "light" "name" "light_2" "light_center" "40 -30 70" "light_radius" "128 128 160" "origin" "160 -160 -64" "parallel" "1" "rotation" "0 -1 0 1 0 0 0 0 1" "texture" "lights/biground1" } // entity 5 { "classname" "light" "name" "light_3" "light_center" "40 -30 70" "light_radius" "128 128 160" "origin" "160 160 -64" "parallel" "1" "rotation" "-1 0 0 0 -1 0 0 0 1" "texture" "lights/biground1" } // entity 6 { "classname" "light" "name" "light_4" "light_center" "40 -30 70" "light_radius" "128 128 160" "origin" "-128 160 -64" "parallel" "1" "rotation" "0 1 0 -1 0 0 0 0 1" "texture" "lights/biground1" } // entity 7 { "classname" "light" "name" "light_5" "light_center" "40 -30 70" "light_radius" "128 128 160" "origin" "-40 288 220" "parallel" "1" "rotation" "1 0 0 0 0 1 0 -1 0" "texture" "lights/biground1" } | ||||