Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I started playing around with terrain and I am getting this assertion in

QueuedRenderableCollection::addRenderable: "Error inserting new pass entry into PassGroupRenderableMap"

I am trying to find out what I have done wrong, but it is hard, so perhaps someone has any idea of what may it be.

I can reproduce it easily on my engine and my scene consists only of:

  • 1 terrain page
  • 1 mesh (highlander house)
  • 1 directional light

If I reload the scene and look again at the house the assertion fires and it is very strange. I have tried to debug the code and the only reason for the assertion to fire that I have found is the hash being changed after the node was inserted on the map.

Any ideas how can I find a solution to it? Which data and information I can provide to help debug this?

Also I have seen in the forum some posts about this assertion, but no one that I have seen explain ways to debug or to fix it.

Ogre version 1.7.1 Windows 7 render Direct3d 9

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Here is a bug report with a workaround, probably the same issue?

It was discussed here in the Ogre Forum.

share|improve this answer
    
Looks like I need to use the workaround, do you know how to correctly implement it? –  bcsanches Jul 11 '11 at 16:16
    
@bcsanches No, I dont use Ogre, but I would start with the one in the bug report. Did you try it? –  Maik Semder Jul 11 '11 at 16:41
    
Yes, I am using it, just added it to the main lopp right before rendering a frame, so far it is working. –  bcsanches Jul 12 '11 at 3:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.