Page 1 of 1

[Erledigt] Wo hab ich den Fehler gemacht?

PostPosted: Saturday, 21.August 2004, 16:13
by N8-4CE
Beim exportieren und öffnen des Demos bekomme ich kurz einen schwarzen Bildschrim, höre das Metronome,dann kommt die Fehlermeldung .\playermain.cpp(452) : assertion.
File sieht so aus:

...................[TEXT].[TEXT]
...................[BLUR].[BLUR].[TEXT]
[Metronome].[TIME].[TIME].[TIME]..[END]
[...........................root.........................]

------------------ 021text.jpg 021text.jpg
------------------ 024blur.jpg 024blur.jpg 021text.jpg
012metronome.jpg ------------------ 000time.jpg ----------------- 000end.jpg
010demo.jpg --------------------------------------------------------------


Habs mal upgeloaded

Vielen Dank im vorraus.

PostPosted: Saturday, 21.August 2004, 16:49
by Leazy
Hi N8-4CE

Eine Camara fehlt.

Grüße Leazy

PostPosted: Saturday, 21.August 2004, 16:56
by N8-4CE
Die muss also immer rein? -OK
Aber wo bau ich die ein?

PostPosted: Sunday, 22.August 2004, 12:58
by Neila
schau dir mal die .*k1 an ...wird dir bestimmt weiterhelfen

gruss
neila

PostPosted: Sunday, 22.August 2004, 13:07
by N8-4CE
Habs jetzt raus! Wens interessiert:

021text.jpg
024blur.jpg
000store.jpg
068material.jpg


071layer2d.jpg (material reinladen)
000time.jpg
083camera.jpg
010demo.jpg


Greetz

N8-4CE

PostPosted: Monday, 23.August 2004, 11:25
by Leazy
Hi

Du hast die Lösung ja selbst gefunden :)

Der Text Operator ist genauso zu behandeln wie der JPG Operator, also

Q: how can i display a picture in a demo?

You should know that you can't simply connect a texture to a demo operator. If you want a 2d-layer, you will need a material operator (green), a layer2d operator (yellow) and a camera (gray), and connect everything correctly. This allows you to position the layer and animate it's color, and to select a correct blending mode. You should use the same camera for 3d and 2d layers, but if you want to have two independent 3d scenes, you need a second camera with "Clear Mode" set to "Z" or "Off".

Grüße Leazy