wfowler1 / jbn-bsp-lump-tools

Just a goofy tool for messing with Nightfire BSPs. For all intents and purposes this is a dead project preserved here after Google Code shut down. The origins of the BSP decompiler project and LibBSP can be traced back here.
5 stars 2 forks source link

Decompiler: texture shifts wrong on rotating objects #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Decompile a map which contains rotating objects (like func_door_rotating, 
etc.)
2. Look at the door/rotator in the editor.

What is the expected output? What do you see instead?
I expect the textures on the door to be like the compiled map. Instead, texture 
scaling is correct but it's shifted.

Please use labels and text to provide additional information.
Pretty simple fix really. The texture shift taken from the compiled map would 
work if the object were at (0, 0, 0). We just need to add the object's origin 
to the texture shifting. Unfortunately this requires some minor (but 
complicated) vector math.

Original issue reported on code.google.com by wfowl...@mscd.edu on 30 Jun 2011 at 6:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This issue was closed by r12.

Original comment by wfowl...@mscd.edu on 1 Jul 2011 at 5:11