![]() |
|
|||||||
| Screensaver/Visualization Developement Create beautiful presets for XBMC's exclusive Vortex 3D Visualizer |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2008
Posts: 2
![]() |
show a background in Vortex.
Is it possible to set any picture as background? |
|
|
|
|
|
#2 |
|
Team-XBMC Developer
Join Date: Jan 2004
Location: England
Posts: 55
![]() |
Hi
The following should do what you want. Note that any pictures you want to load must be in Vortex's texture folder. MrC Code:
Texture texture;
void Init()
{
texture.LoadTexture("mypicture.jpg");
}
void Render()
{
gfxSetTexture(texture);
gfxTranslate(0, 0, 2.414);
gfxSetAspect(0);
gfxTexRect(-1, 1, 1, -1);
}
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2008
Posts: 2
![]() |
thank you!
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|