| Author |
Ugly flash when changing textures.
|
|
| Steve Smith 2005-10-24, 6:35 pm |
| I'm using Cortona 4.3.
I find that if a texture is changed using a script cortona will display no
texture while the new texture is being loaded.
This means you get an ugly flash during texture changes.
I've tried using two instances on the same face set and switching them using
a delay timer but still get a brief instant with no texture.
All I wan't is for the original texture to remain in place unitil the new
one is loaded !
Has anyone found a way round this ?
Thanks
Steve
| |
| Joerg Scheurich aka MUFTI 2005-10-25, 6:43 pm |
|
> I find that if a texture is changed using a script cortona will display no
> texture while the new texture is being loaded.
> All I wan't is for the original texture to remain in place unitil the new
> one is loaded !
If you do not need to send any possible URLs to the url field, you can
simply build 2 objects with different textures and use a Switch node.
You can e.g. DEF/USE the material and geometry in the 2 objects, if needed.
In X3D it should be possible to send any possible URLs, if you double
your object and use the LoadSensor node.
so long
MUFTI
--
Das Internet ist nur eine Randerscheinung
(William Henry Gates III)
| |
| Steve Smith 2005-10-27, 3:21 am |
| I have been using a switch node.
I need do switch any number of textures so I swap between the nodes and use
a timer to delay the switch while the texture loads.
Also tried switching with transparency but this leads do z fighting even
when the transparency of one node is 1.
This seems to work ok in a small debug scene but when the scene gets heavy
the timing seems to mess up and the flashes come back.
The scene is a time travel game where the terrain changes as the traveller
goes back in time so the effect is ruined if the switch is not smooth.
How do contact and octaga perform with this ?
Steve
"Joerg Scheurich aka MUFTI" <rusmufti@bera.rus.uni-stuttgart.de> wrote in
message news:djl1e0$rdr$1@infosun2.rus.uni-stuttgart.de...
>
>
>
> If you do not need to send any possible URLs to the url field, you can
> simply build 2 objects with different textures and use a Switch node.
>
> You can e.g. DEF/USE the material and geometry in the 2 objects, if
> needed.
>
> In X3D it should be possible to send any possible URLs, if you double
> your object and use the LoadSensor node.
>
> so long
> MUFTI
> --
> Das Internet ist nur eine Randerscheinung
> (William Henry Gates III)
| |
| Joerg Scheurich aka MUFTI 2005-10-27, 6:18 am |
| > I need do switch any number of textures so I swap between the nodes and use
> a timer to delay the switch while the texture loads.
....
> This seems to work ok in a small debug scene but when the scene gets heavy
> the timing seems to mess up and the flashes come back.
> The scene is a time travel game where the terrain changes as the traveller
> goes back in time so the effect is ruined if the switch is not smooth.
In this case, using a pixeltexture and a fast script (i suspect, you
will need at least java) to change the pixels is possibly a better choice.
so long
MUFTI
--
Englisch: Deutsch:
collator die Zusammentragmaschine
to collateralize [finan.] lombardieren
(von dict.leo.org)
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |