Hi everyone!
I've modeled a 2-color lamp in Sketchup (yellow-white, for the ends of runway, with yellow part oriented to the north). My algorithm is the next:
- importing .dae into MCX then exporting .mdl with keeping .asm
- editing .asm by adding SEPARATION_PLANE wrongdir, 16384, 0, -28378, 32768 (for 30deg - the true course)
- compiling .mdl (BGLC9 /mdl)
- compiling .bgl (bglcomp with .xml)
After that I get this:
As if the semisphere had rotated by 60deg from desired...
I tried other angles for sep_plane (0, 60, 45 and so on), nothing changes.
Finally, I accidentally found the right angle, but with a combination of model's heading in .xml: sep_plane with -60deg and heading=120 in .xml
Can anyone explain this mystic?
Maybe it occurs because of using SDK2002 (BGLC9) and SDK2004 (bglcomp) together?
Yeah, when I'm compiling the .bgl by BGLC9 only (after asm-editing with some coordinates and heading=30) all is ok. But I would't use this method for some reason..
PS Sorry for my English. Please help.
I've modeled a 2-color lamp in Sketchup (yellow-white, for the ends of runway, with yellow part oriented to the north). My algorithm is the next:
- importing .dae into MCX then exporting .mdl with keeping .asm
- editing .asm by adding SEPARATION_PLANE wrongdir, 16384, 0, -28378, 32768 (for 30deg - the true course)
- compiling .mdl (BGLC9 /mdl)
- compiling .bgl (bglcomp with .xml)
After that I get this:
As if the semisphere had rotated by 60deg from desired...
I tried other angles for sep_plane (0, 60, 45 and so on), nothing changes.
Finally, I accidentally found the right angle, but with a combination of model's heading in .xml: sep_plane with -60deg and heading=120 in .xml
Can anyone explain this mystic?
Maybe it occurs because of using SDK2002 (BGLC9) and SDK2004 (bglcomp) together?
Yeah, when I'm compiling the .bgl by BGLC9 only (after asm-editing with some coordinates and heading=30) all is ok. But I would't use this method for some reason..
PS Sorry for my English. Please help.
Last edited:
