Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ogre]

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

0
votes
0answers
17 views

Cull transparent geometry

I'm using Ogre 1.10.12, I have some entities that have a transparent material: ...
0
votes
1answer
104 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
64 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
56 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
129 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
80 views

Ogre Render Lines completely wrong

I'm trying to render line list using indices of triangles as follow ...
0
votes
0answers
33 views

Transparency shader problem

I'm having a problem with fragment shader as you can see in the image below. I don't want to render the parts that are in red in the image I have to passes which culls clockwise and anticlockwise ...
0
votes
1answer
259 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
88 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
85 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 ...
0
votes
0answers
58 views

How to configurate my camera Fps in OGRE 3D

How to move the camera similar to an FPS game?? I have a camera and two nodes. MyNode (this node have my objects) NodePerson My node is child to NodePerson and my camera too. My function is: ...
1
vote
0answers
147 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
0answers
41 views

I have two problem for install wrapper OgreBullet in Ubuntu

I need to use physics bullet, but is more easy use with wrapper ogrebullet, then I need to install Ogrebullet. Please, Help me! ...
0
votes
1answer
212 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 ...
2
votes
0answers
60 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
0answers
53 views

FFP Alpha Test shader - function decleration

I'm trying to use FFP_Alpha_Test RTSS from ogre on GLES2 ...
0
votes
1answer
346 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
105 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
228 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
506 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
42 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
145 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
97 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
514 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
950 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
2k 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
267 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
919 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
1k 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
242 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
687 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
246 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
265 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
294 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
181 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
410 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
157 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
145 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
361 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
49 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
1answer
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
994 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
711 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: ...