Game Development Community

GuiObjectView Camera Bug

by Nathan Bowhay - ESAL · in Torque 3D Professional · 08/08/2011 (3:51 pm) · 3 replies

The GuiObjectView camera is off. If you set it to view an object the object rotates around the pivot. I am using it in my custom build based on T3D 1.1 and I think it happened when upgrading from 1.1 beta 3 to 1.1, but not sure. I have been trying to get the GuiObjectView camera to work in general in a plane 1.1 build, but can't for some reason. It won't even display the model I set.

Anyone else having this issue or can shed some light on the issue?

I didn't submit it in the bug section cause I wasn't sure about it being a bug or not. I am like 80% sure it is though cause I haven't touched any code in there in forever, besides the upgrade changes. And those changes where mainly the removal of:
renderPass->assignSharedXform( RenderPassManager::View, MatrixF::Identity );
renderPass->assignSharedXform( RenderPassManager::Projection, GFX->getProjectionMatrix() );
Changing the SceneState to a SceneRenderState which has some slightly different params and using getDefaultRenderPass rather that getRenderPass.

#1
08/08/2011 (4:08 pm)
Ok so I can get it to work fine in T3D 1.1 Beta 3 and everything looks perfect, but not in T3D 1.1. The camera is off in T3D 1.1 so it is for sure an issue in torque.
#2
08/08/2011 (4:22 pm)
I posted it as a bug here, since it is for sure a bug. Sorry for posting this feel free to remove this post if you want.
#3
08/09/2011 (10:37 am)
I spent 2 hours tweaking the bounds transform as so the cameraview would be correctly placed for this element..it is fuxxored.
up was down, left was right..terrible and since they were not up for compiling any changes, I had to work through it's brokenness.