|
Author
|
Topic: Help! Artificial horizon is driving me nuts...
|
JT Pilot
|
posted 03-15- 06:11 PM
I've been looking at the way the horizon gauge is set up in the Spitpit and I can't seem to figure it out. The rotating ring of numbers is just a disk with a texture on it (solid, no alpha).... and yet the horizon line (the one that moves) that's inside it seems to go behind the rotating ring of numbers... but that's just it, the rotating ring of numbers is not a ring.... it's just a texture on a flat disk. It's not modeled as a ring nor is it a ring by texture... how can this be????[This message has been edited by JT (edited 03-15-2000).] IP: Logged |
mposis Pilot
|
posted 03-18- 07:17 PM
JT,It looks like a ring because the horizon line is a texture on a circular polygon on top of the circular polygon that has the textures with numbers. IP: Logged |
JT Pilot
|
posted 03-18- 07:29 PM
Hmmm... that would only work if the horizon line only needed to rotate in place... but it doesn't.... it also needs to indicate pitch.... therefore, how is it that the line looks like it goes behind the "ring" of numbers when you pull up or down in the extreme? If the line is just a texture on on a circular polygon, wouldn't the horizon line and the polygon it's on eventually eclipse the "ring" of numbers as it moves laterally? [This message has been edited by JT (edited 03-18-2000).] IP: Logged |
mposis Pilot
|
posted 03-18- 09:07 PM
JT,My mistake. [This message has been edited by mposis (edited 03-18-2000).] IP: Logged |
JT Pilot
|
posted 03-18- 09:20 PM
Marc,That's what I thought too, but upon checking out the .asc of the Spit, I noticed that the flag for the "number ring" texture is set to 802223.... which, as you know, means the polygon doesn't use any alpha... thus how can there be a hole there? Pretty baffling, ain't it! :-) Mighty can you help us out here? IP: Logged |
Bryan Russell Pilot
|
posted 03-19- 06:04 AM
I believe what is happening is that the disk with the line (Horizon) on it has its texture map adjusted dynamically to move the line up and down. i.e. there is no holeIP: Logged |
JT Pilot
|
posted 03-19- 09:24 AM
Interesting... I didn't think moving textures were possible... does this open up the posiblity of moving canopy reflections like in Jane's WWII? IP: Logged |
Bryan Russell Pilot
|
posted 03-19- 03:51 PM
Moving texture maps is pretty easy, just adjust the U/V before it gets submitted to the renderer. I guess the tough part about the cockpit reflections would be to get the movement tooking convincing.IP: Logged |