Questions tagged [ogre]

Ogre3D (www.ogre3d.org) is a multi-platform, open-source 3D rendering engine.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Explicitly Loading a Ogre3D DLL wrapper with OgreMainStatic.lib linked crashes when loading a mesh with CreateEntity

I have a Ogre3D 1.7.x DLL wrapper project that explicitly loads Ogre functions and works ok using the OgreMain.dll + D3D9 Renderer plugin.dll which loads a mesh without any problems. This is my setup: ...
0
votes
1answer
220 views

How to update a dynamic texture

I'm using Ogre 1.10, I have a dynamic texture assigned to a material that I need to update its buffer with a new image every few seconds. How can I transfer pixel data from an image to my dynamic ...
1
vote
1answer
154 views

GLSL shader time uniform freezed?

I have a simple fragment shader to simulate "falling water". I'm using Ogre3D and opengles2, this is my code: ...
2
votes
1answer
87 views

Texture being rendered to main frame buffer?

I'm using Ogre 1.10.12 (openglES2 as render system) to create a manual texture like this: ...
0
votes
2answers
135 views

Optimize polygons renderization

I'm developing a game (in Ogre3D) that, in short, consist in a vehicle that moves along a terrain and leaves a colored trail behind it. The trails are basically quads (a), these quads changes their ...
0
votes
1answer
91 views

Ogre Render Lines completely wrong

I'm trying to render line list using indices of triangles as follow ...
0
votes
1answer
419 views

Ogre3d 2.1 - How to apply texture on mesh?

I have searched forums and tried to read the Ogre 2.1 samples, but I still have no clue how to apply texture on mesh :( Here what I've done so far. I use Easy Ogre Exporter to export the scene (...
1
vote
1answer
105 views

Strange gpu glitch

I've recently tried to run my game in a new hardware (arm a17 processor, Mali-T760) and the result is quite bad, as you can see in the images below seems that the polygon's coordinates are clamped to ...
0
votes
1answer
125 views

What's the difference between Camera::getPosition() and Camera::getPositionForViewUpdate()?

In Ogre3d, what's the difference between methods Camera::getPosition() and Camera::getPositionForViewUpdate(), official ...
1
vote
0answers
166 views

Integrating ogre3d with hololens

I would like to integrate ogre3d with directx and c++ using hololens. is it that possible to do so ? what are the steps to convert the rendering engine, what's rendered to the frame buffer to the ...
0
votes
1answer
300 views

I have problems for export from Blender to Ogre3D

I don't speak good english, but I will try.. I need to make a game for my University. Exists lot of models in blendswap but, I have problem for export. Many of these models have extra objects, such ...
1
vote
0answers
69 views

Making world geometry with Ogre3d

In Ogre3d's manual and in the documentation it's said that Ogre::Mesh shouldn't be used for world geometry. Quoting the manual: Mesh objects are assumed to represent movable objects and are not ...
1
vote
1answer
29 views

get value from UniformParameterPtr in Ogre

I have a variable of type UniformParameterPtr decalared by Ogre and I want to get its value. What is the right way to this? I ...
0
votes
1answer
417 views

Overlap color between objects

I'm currently trying to build a game with Ogre3D that is basically a moving vehicle that leaves a green trail (2D manual mesh) in it's path, what i'm trying to achieve is exactly what this image shows:...
0
votes
1answer
115 views

Trouble in 3DS MAX 2016 exported ogre.mesh file refering the correct .material

Actually we have some trouble in exporting ogre mesh + material files correctly from 3dsmax. We are using "Easy Ogre Exporter V 2.40" for the export to ogre format. And actually just testing its ...
1
vote
0answers
248 views

Is Mogre (essentially Ogre, but C#) dead? If so what would be a viable alternative to it? [closed]

I've been looking around for a 3D engine where I can use C# to replace Unity lately, but haven't really come up with much. Ogre looked promising, but it wasn't C# however Mogre is. Sadly looks like it ...
1
vote
1answer
572 views

Could not load dynamic library .\RenderSystem_GL_d. System Error: %1 is not a valid Win32 application [closed]

I am using OGRE 1.8.1 SDK for Visual C++ 2010 (32-bit) from ogre3d.org/download/sdk and Ogre_VC10_Express_AppWizard_1.8.0.exe downloaded from https://bitbucket.org/ogreaddons/ogreappwizards/downloads. ...
1
vote
0answers
49 views

How can i apply texture to cylinders created using Ogre Procedural Geometry Library?

I am using Procedural::CatmullRomSpline3 to create cylinders between 3 control points, now instead of solid cylinders i need to create dashed/ dotted cylinders so is there a direct way to do so or ...
1
vote
0answers
171 views

Application is crashing with Ogre::ItemIdentityException

I am new to OGRE and i am trying to create a 3D line using following tutorial: http://www.ogre3d.org/tikiwiki/Line+3D and application is crashing with following exception Ogre::ItemIdentityException.
1
vote
0answers
101 views

What is a simple way to pull input from a keyboard and attach it to a std::string?

The question says it all to be honest. I have a game that I am making in Ogre3D, using OIS as the main input library. My issue is that I am attempting to use CEGUI (with tons of errors) all to simply ...
2
votes
1answer
602 views

In Ogre, how to get the depth buffer value?

I am rendering an object to a texture using the following setup code which I copied from Ogre's rendering to texture tutorial: ...
23
votes
1answer
998 views

How can I get PagedGeometry grass to receive shadows?

I made the switch to Ogre3D (v1.7) and to using PagedGeometry. What I'm trying to do is make a simple scene with a terrain, some trees and grass. In a nutshell, I would like to achieve this kind of ...
0
votes
1answer
3k views

Can't sample texture in HLSL using DX11

Environment: Windows 7 x64 Visual Studo 2012 DirextX11 HLSL Shader Model 5 Ogre 1.9 Okay, so I'm trying to sample a texture in my pixel shader but I'm coming across some strange problems. Here's ...
0
votes
1answer
287 views

How to fix this existing shadow shader/material with alpha textures?

I hope I could get some help here in finally resolving this problem of mine re: shadow casting with alpha textures. Here's a screenshot on what I am hoping for as a result: A friend of mine just ...
1
vote
1answer
2k views

Blender wont export textures (materials) to OGRE3D .mesh

i am exporting a model from BLENDER to OGRE3D using the blender2ogre script. the desigre output is a single ...
2
votes
1answer
978 views

What is Ogre::String?

I was working with the OGRE .NET bindings (MOGRE) for quite a long time. To improve my (not that good) C++ skills, I am switching from C# to C++. After implementing a basic OGRE application, I was ...
4
votes
1answer
2k views

glsl shader to allow color change of skydome ogre3d

I'm still very new to all this but learning a lot. I'm putting together an application using Ogre3d as the rendering engine. So far I've got it running, with a simple scene, a day/night cycle system ...
1
vote
1answer
1k views

How to create a sun billboard with Ogre3d

I've been working with a few different engines alongside trying to code my own project. Rather than rewrite an entire renderer, etc I am using Ogre3d. To begin with I am trying to implement a very ...
1
vote
1answer
254 views

Draw character silhouette when not visible

I have a mesh representing my character. I want to give it a partially transparent greyish silhouette when other objects are blocking it from view of the camera. I'm using Ogre3D, and GLSL as a ...
3
votes
2answers
745 views

Spherical / Relative Gravity

I'm working on an Ogre3D + Bullet project that involves planets in a solar system. For all intents and purposes, I'm looking to give each planet it's own gravity sphere. So far, all I've found are ...
1
vote
0answers
254 views

Wrong UV mapping when using small textures and positions

I am using a really small texture (64x64) and when I use it as a UV map on my mesh, there are some incomplete lines from the color of the other side of the UV map rendered as well (in this case, white....
2
votes
1answer
277 views

Why is there high performance hit with many meshes?

I am currently reading upon Geometry Instancing, as I want to render a lot of animatable objects on the screen. However I have come to a more fundamental question first: Why do I even need to use it? ...
1
vote
2answers
297 views

General visual effects to meshes/entities

I am trying to add some visual effects to some entities, meshes, or whatever you want to call them as they are looking pretty dull in my game right now. What I want to achieve is this: http://youtu....
0
votes
1answer
187 views

Shadows go through meshes, and also being applied to itself

I am using Ogre3D and I am using stencil shadows for my character. They work pretty well, but I have 2 problems: first, the shadow is applied to the entity it is casting the shadow, and secondly, the ...
3
votes
1answer
413 views

Continuous world and very large levels: going around the FPU limitations with Ogre3D

I'm currently using Ogre3D, and I'm wondering is it's possible to have a very large level (hundreds of kilometers) using the right scenemanager. Storing or having the level is not a problem, since I ...
2
votes
1answer
158 views

Edges drop out when rendered at a long distance

I have this weird effect when rendering small objects at a long distance. I already tried using anisotropic filtering but maybe I am not doing it right. Material script: ...
2
votes
1answer
2k views

How do I create a manual object with colors for each vertex?

How do I create a shaded manual object with colours for each vertex? Eg if ogreObj is the Ogre::ManualObject : ...
1
vote
1answer
149 views

Variable sized cube texture stretching problem

I have a 1x1x1 cube made in Blender with a simple UVW mapping. It represents a 3D platform of variable size. The thing is that this cube gets resized a lot, and I want to draw a "border" of a fixed-...
1
vote
2answers
3k views

Draw wireframe overlay of model in GLSL

I have a 3D model that has a GLSL script, and I want to draw a line on each border of its polygons in the fragment shader. What should I do? Note: I am using Ogre3D, so I can't use OpenGL's functions....
0
votes
1answer
428 views

2D vector to Quaternion

I have a 2D vector (with only X and Y), and my engine only supports orientation through Quaternions. How do I translate a 2D vector to a quaternion? The X and Y represent the direction (so X = 0 ...
1
vote
2answers
2k views

Entity system game design and input handler

I have started create a lightweight game engine with Ogre and C++. I have a abstract component class and an abstract entity class. ...
0
votes
2answers
4k views

How to set the object's world position in bullet?

In my Ogre3d application I am first changing the parent of a node like this: ...
2
votes
1answer
50 views

Stick 2 btRigidBodies together

I have a platform with btBoxShape as shape, and I want to rotate it every certain amount of time to simulate a rotating platform. Right now I rotate it with Ogre (my rendering engine) and use a ...
0
votes
2answers
2k views

Detect when a bullet rigidbody is on ground

I have a rigidbody that is on top of a plane or another rigidbody. How do I check if said rigidbody is on top of it? I tried to check the Y-part of the velocity but it is never 0, it is always a ...
4
votes
3answers
1k views

How to check whether a ray cast hits a specific side of an object?

I am using Ogre3d to develop a 3d simulation/game. One task is to determine whether the user has focused the camera on a specific object. So I cast a ray from the camera to what is currently in the ...
2
votes
0answers
744 views

Quaternion to direction vector - flipping

I've kinda solved this myself by adapting the Camera::setDirection code from OGRE to work for my need: Now I have the following code: ...
0
votes
1answer
1k views

Projecting world coordinates to screen coordinates issue - points disappear when origin not in view

I am trying to implement a 2d line drawing effect on a 3d mesh using Ogre. In order to do so, I perform silhouette detection on the lines of the object (this works) and then project these lines from ...
7
votes
2answers
2k views

How can I debug _why_ glDrawArrays is very slow?

I'm working on a game that uses CEGUI and Ogre. Recently, we've discovered that some of our customers with GeForce4 MX 4000's, performance is terrible. After a night spent debugging, I've tracked ...
5
votes
1answer
358 views

How to pass depth buffer from OGRE to CUDA?

I am using OGRE for rendering some objects. At every frame, I would like to pass the resulting depth buffer to CUDA for running some kernels on it and computing a result. How can I achieve this? How ...
0
votes
2answers
2k views

Game state management?

I'm running in circles here trying to figure out how to implement game states! Many of the articles I have read use an abstract class that game states inherit, and another "manager" class that ...