Comments (7)
[author="masterfalcon", created="Sat, 30 Mar 2013 08:15:13 +0100"]
I'm unable to reproduce this in the 1.9 branch. Can anyone else confirm?
from ogre.
[author="masterfalcon", created="Fri, 7 Jun 2013 07:04:26 +0200"]
Yeah, I believe this is fixed. You can paste this into BezierPatch.h to test.
#ifndef __BezierPatch_H__ #define __BezierPatch_H__ #include "SdkSample.h" using namespace Ogre; using namespace OgreBites; class _OgreSampleClassExport Sample_BezierPatch : public SdkSample { public: Sample_BezierPatch() { mInfo["Title"] = "Bezier Patch"; mInfo["Description"] = "A demonstration of the Bezier patch support."; mInfo["Thumbnail"] = "thumb_bezier.png"; mInfo["Category"] = "Geometry"; } protected: bool frameRenderingQueued(const FrameEvent& evt) { for (unsigned int i = 0; i < 4; i++) { topNode->setOrientation(Ogre::Quaternion(Ogre::Radian(Ogre::Degree(i * 90)), Ogre::Vector3(0, 0, 1))); Ogre::WindowEventUtilities::messagePump(); mWindow->update(); // Save to file for later comparison std::stringstream ss; ss << "render" << i << ".png"; mWindow->writeContentsToFile(ss.str()); } return SdkSample::frameRenderingQueued(evt); } void setupContent() { mSceneMgr->setCameraRelativeRendering(true); mCamera->setPosition(0, 0, 200); mCamera->lookAt(0, 0, 0); mViewport->setBackgroundColour(Ogre::ColourValue(0., 0., .5)); mSceneMgr->setAmbientLight(Ogre::ColourValue(0.1, 0.1, 0.1)); topNode = mSceneMgr->getRootSceneNode()->createChildSceneNode(); Ogre::Light *light = mSceneMgr->createLight("light"); light->setType(Ogre::Light::LT_POINT); Ogre::SceneNode *lightNode = topNode->createChildSceneNode(); lightNode->attachObject(light); lightNode->setPosition(50., 0., 50.); Ogre::Entity *cube = mSceneMgr->createEntity("cube", Ogre::SceneManager::PT_CUBE); cube->setMaterialName("BaseWhite"); Ogre::SceneNode *cubeNode = lightNode->createChildSceneNode(); cubeNode->attachObject(cube); cubeNode->setScale(.1, .2, .3); Ogre::Entity *plane = mSceneMgr->createEntity("plane", Ogre::SceneManager::PT_PLANE); plane->setMaterialName("BaseWhite"); Ogre::SceneNode *planeNode = topNode->createChildSceneNode(); planeNode->attachObject(plane); Ogre::Entity *sphere = mSceneMgr->createEntity("sphere", Ogre::SceneManager::PT_SPHERE); sphere->setMaterialName("BaseWhite"); Ogre::SceneNode *sphereNode = topNode->createChildSceneNode(); sphereNode->attachObject(sphere); sphereNode->setScale(.5, .5, .5); } Ogre::SceneNode *topNode; }; #endif
from ogre.
[author="scrawl", created="Tue, 3 Sep 2013 21:04:57 +0200"]
Pulled 1.9 today, I still get this problem when moving the camera, it looks like the (camera-space) light positions are lagging a frame behind.
from ogre.
[author="scrawl", created="Tue, 3 Sep 2013 21:07:23 +0200"]
Ah - the problem only happens when I'm attaching the camera to a bone.
from ogre.
[author="scrawl", created="Wed, 4 Sep 2013 16:21:06 +0200"]
Could you give a link to the commit that you believe fixed the original problems? That might give me a hint where to start looking why its still happening for bones.
from ogre.
[author="masterfalcon", created="Wed, 4 Sep 2013 16:50:51 +0200"]
I don't know specifically. I was just rechecking bugs and was not able to reproduce this one with the test case provided.
from ogre.
does not reproduce with 1.11.2
from ogre.
Related Issues (20)
- Compile error when glslang comonent on in linux HOT 4
- Can't get metalness to work HOT 7
- Double-precision build fails HOT 1
- Error creating texture: Invalid call with DDS cubemap and DirectX9 HOT 8
- Ogre14: Monospace Fonts Not Monospaced HOT 2
- convert PlayPen_BillboardTextureCoords to unit test
- Completion of error handling HOT 7
- Issue render with Ogre3D and Pure OpenGL (QOpenGLWidget) in 2 separete QWidget within a Qt Application HOT 1
- GLSLang plugin does not compile with glslang v14 HOT 2
- Problem with anti-aliasing and render to texture HOT 3
- Assimp plugin Critical error detected c0000374 Thread 1 received signal SIGTRAP, Trace/breakpoint trap HOT 7
- Create ImGui based ConfigDialog
- Python3 stable ABI
- [BUG Report] Is SAFE_DELETE modified erroneously? HOT 1
- [Crash Report] overflow access in D3D11HLSLProgram::buildConstantDefinitions() HOT 2
- [Crash report] Dirty data in cache.bin caused SampleBrowser crash
- 14.2.0 forces wrong GL system HOT 2
- FreeImage arbitrary code execution vulnerability HOT 2
- ImGUI is no longer optional for OGRE Bites. HOT 2
- `OgreMeshUpgrader` and `OgreXMLConverter` have empty time in log HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ogre.