- Joined
- Mar 23, 2008
- Messages
- 1,073
- Reaction score
- 885
- Points
- 128
- Website
- francisdrakex.deviantart.com
MFD in virtual cockpit: Solved!
Antonio, DaveS, C3PO: Thanks!
I had already suspected it had to do with rendering the rectangle surfaces, so I defined UV-mapping on them. But this was not sufficient.
Only when I applied a texture to it, as you proposed, the MFDs showed up.
I used the docking port material with its texture, and it worked.
The texture is overwritten by the MFDs, but remains visible in the HUD. Will make a simple black texture for this.
That would be worth mentioning in the API_reference handbook!
There is said "The addressed mesh group should define a simple square (4 vertices, 2 triangles). The group materials and textures can be set to 0."
Obviously rendering a texture is required, at least for some graphic cards.
Antonio, DaveS, C3PO: Thanks!
I had already suspected it had to do with rendering the rectangle surfaces, so I defined UV-mapping on them. But this was not sufficient.
Only when I applied a texture to it, as you proposed, the MFDs showed up.
I used the docking port material with its texture, and it worked.
The texture is overwritten by the MFDs, but remains visible in the HUD. Will make a simple black texture for this.
That would be worth mentioning in the API_reference handbook!
There is said "The addressed mesh group should define a simple square (4 vertices, 2 triangles). The group materials and textures can be set to 0."
Obviously rendering a texture is required, at least for some graphic cards.