Problems Simulating a TV

maylivios

08-10-2010 22:05:07

Hello Folks

I'm trying to simulate a tv in my project, but i'm facing some problems.

This is my TV working fine.


but when I move around and another model gets between the camera and the tv, the video is rendered in front of everything as you can see in the image above.


Again.


Why is this happening? How can I solve this?

I would be grateful if anyone could give me some help.

Thanks in advance.

Kreso

09-10-2010 10:38:40

This has nothing to do with the library, all this plugin does is render th evideo onto a texture, how you handle the texture is your thing.
from what I can see ,it would seem your tv isn't rendered with zbuffer testing enabled. check the material.

maylivios

11-10-2010 18:52:00

Thank you very much, Kreso.

Based on your reply, I managed to work it out ignoring the Theora stuff.

I'm gonna explain what was happening: Before applying the video_material to my tv model, I was applying it to an ogre overlay. So I think Ogre sets something related to Render Queues, rendering it in front of everything.

Once again, many thanks. :D

Tafe

25-10-2011 01:52:01

It's such an interesting case! Much helpful for a beginner. Thanks for explaining what the problem was in.
_______________
ipad programming

Shawn

23-12-2011 08:43:50

In the animated movie Crisis on 2 Earths Superman is struck with an energy blasts, and then steeling himself walked toward his attack, ignoring the effects, and punches him out.

In Superman Batman Public Enemies, Power Girl punches an energy beam fired by Starfire in order to get closer to her, which works until Black Lightning joins in the attack.

The question is, do they both have missile deflection, or is it something else.

You could build Superman or Power Girl with a multipower that includes things like missile deflection or tunnelling (we've all seen kryptonians use that little trick), and perhaps extra STR and other powers.

The problem with that approach is that you end up with a character has a lot of abilities, but also not as tough as they should be. (Of course this could explain Superman on the first season on Justice League.)

As many of those who know me, I'll build low level characters (250 points) and use special effects to simulate some powers.

An economical approach did come to me while I was watching Power Girl (as well as a serious inferiority complex about my body image).

Combat Skills Levels allow a player to increase there DCV making you harder to hit, with the special effect either absorbing the fire, or even punching a beam. A GM can even offer bonuses for good roleplaying.