Search found 594 matches

by paroj
Tue Oct 16, 2018 9:25 pm
Forum: Help
Topic: [1.9] Rendering Entities after Compositors?
Replies: 2
Views: 52

Re: [1.9] Rendering Entities after Compositors?

maybe you can draw some inspiration from the deferred sample which faces similar problems:
https://ogrecave.github.io/ogre/api/lat ... erred.html

see the "Postponing transparent objects" part.
by paroj
Sun Oct 14, 2018 1:04 am
Forum: Using OGRE in practice
Topic: Ogre Assimp Converter
Replies: 10
Views: 150

Re: Ogre Assimp Converter

add a Mesh::buildEdgeList() call or run OgreMeshUpgrader on the mesh.
by paroj
Sat Oct 13, 2018 7:15 pm
Forum: Using OGRE in practice
Topic: Ogre Assimp Converter
Replies: 10
Views: 150

Re: Ogre Assimp Converter

strange.. can you upload the material and mesh file of the inner cube somewhere?
by paroj
Sat Oct 13, 2018 1:19 pm
Forum: Using OGRE in practice
Topic: Ogre Assimp Converter
Replies: 10
Views: 150

Re: Ogre Assimp Converter

for shadows you mainly need to configure the scene manager, see e.g. https://github.com/OGRECave/ogre/blob/m ... .h#L76-L80

https://ogrecave.github.io/ogre/emscripten/
by paroj
Sat Oct 13, 2018 1:11 pm
Forum: Using OGRE in practice
Topic: Ogre Assimp Converter
Replies: 10
Views: 150

Re: Ogre Assimp Converter

the issue is that the "-shadow" option is not actually supported, see:
https://github.com/OGRECave/ogre-assimp ... #L100-L111
by paroj
Mon Oct 08, 2018 11:00 am
Forum: Help
Topic: RTT performance on iOS/Mobile
Replies: 8
Views: 137

Re: RTT performance on iOS/Mobile

I didnt mean that you leave with QWidget instead of QML, but rather use it to narrow down why the QML is so slow.

Also the situation is probably worse regarding QML via Emscripten..
by paroj
Mon Oct 08, 2018 10:57 am
Forum: Help
Topic: Build Ogre with Emscripten - Visual Studio?
Replies: 3
Views: 47

Re: Build Ogre with Emscripten - Visual Studio?

Emscripten does not use MSVC but its own toolchain isntead. Please work through https://kripken.github.io/emscripten-si ... orial.html first.
Also note that current master has some fixes for zlib discovery on Emscripten.
by paroj
Fri Oct 05, 2018 2:23 pm
Forum: Help
Topic: RTT performance on iOS/Mobile
Replies: 8
Views: 137

Re: RTT performance on iOS/Mobile

So it is indeed a problem in QmlOgre (or with the combination of Qt/QML and Ogre, in general). Maybe it's because both Ogre and QML are using OpenGL. this is likely the case. QmlOgre uses OpenGL context sharing which is a corner feature and only seldomly used on desktop, let alone on mobile. Also e...
by paroj
Thu Oct 04, 2018 5:55 pm
Forum: Help
Topic: RTT performance on iOS/Mobile
Replies: 8
Views: 137

Re: RTT performance on iOS/Mobile

you can safely ignore the warnings - the iOS driver is overly verbose here. Unfortunately I do not have access to an ios device myself, so I cannot add more info to your trace than you already know. However I asked a team member who is shipping Ogre on iOS (albeit an older version) and he has no per...
by paroj
Thu Oct 04, 2018 2:00 pm
Forum: Using OGRE in practice
Topic: Building Ogre-Assimp
Replies: 5
Views: 77

Re: Building Ogre-Assimp

it seems that you specified the wrong location. You have to install ogre and the path should look like sdk/CMake and contain OGREConfig.cmake as well as OgreTargets.cmake. (cf. prebuild sdk).

Unfortunately you stripped too much of the path by [Username] to verify.
by paroj
Thu Oct 04, 2018 10:37 am
Forum: Using OGRE in practice
Topic: Building Ogre-Assimp
Replies: 5
Views: 77

Re: Building Ogre-Assimp

as the error message suggests you have to set OGRE_DIR (in cmake-gui) to the location of OGREConfig.cmake (inside the ogre install directory).
by paroj
Wed Oct 03, 2018 10:39 pm
Forum: Help
Topic: Segmentation Fault
Replies: 4
Views: 91

Re: Segmentation Fault

with a recent Ogre version you would probably run into this assertion: https://github.com/OGRECave/ogre/issues/777 Ogre requires GLX_ARB_create_context which might not be there over X forwarding or in Virtualbox. You could try implementing a legacy context creation fallback and see whether it solves...
by paroj
Tue Oct 02, 2018 5:23 pm
Forum: Help
Topic: RTT performance on iOS/Mobile
Replies: 8
Views: 137

Re: RTT performance on iOS/Mobile

in OgreNode::updateFBO you are re-creating the FBO for each update which is probably the largest culprit. Also you are using PF_R8G8B8 which is probably not natively supported by the hardware. Rather use PF_BYTE_RGBA. In doubt profile your application and use the SampleBrowser as a (performance) ref...
by paroj
Sat Sep 29, 2018 7:09 pm
Forum: Help
Topic: OGRE_BUILD_COMPONENT_PYTHON
Replies: 3
Views: 60

Re: OGRE_BUILD_COMPONENT_PYTHON

no, it should work with both python2 and python3. I would guess libpython does not get linked in somehow. The Python Component was not tested much on Windows yet..
by paroj
Sat Sep 29, 2018 7:04 pm
Forum: Help
Topic: Using Ogre with SDL2
Replies: 3
Views: 54

Re: Using Ogre with SDL2

OgreBites uses SDL2 by default. You can either use it directly or take inspiration how to do the initialization:
https://github.com/OGRECave/ogre/blob/v ... t.cpp#L363
by paroj
Fri Sep 28, 2018 1:51 pm
Forum: Help
Topic: Building Ogre 1.11 with Emscripten
Replies: 4
Views: 78

Re: Building Ogre 1.11 with Emscripten

on emscripten ogre is linked statically - this means you must link your project against all ogredeps. (zzip, freetype, libz)
by paroj
Thu Sep 27, 2018 10:54 am
Forum: Help
Topic: Building Ogre 1.11 with Emscripten
Replies: 4
Views: 78

Re: Building Ogre 1.11 with Emscripten

you arrived at the segfault because you removed that line. Try using the master branch, the zlib problem should be fixed there.
by paroj
Mon Sep 24, 2018 10:46 am
Forum: Ogre 2.0+
Topic: [2.1+] Implementing Clear Coat material
Replies: 15
Views: 582

Re: [2.1+] Implementing Clear Coat material

SPIRV->HLSL SM5 byte code
there is a project for SPIRV > DXIL, but thats D3D12 only.

also note that I drafted an evolution proposal for SPIRV here:
https://github.com/OGRECave/evolution/b ... Support.md
by paroj
Thu Sep 20, 2018 1:53 pm
Forum: Help
Topic: Ogre 1.9 Android + SDL2?
Replies: 2
Views: 56

Re: Ogre 1.9 Android + SDL2?

no it directly grabs the android events
by paroj
Thu Sep 20, 2018 10:43 am
Forum: Help
Topic: [SOLVED] equivalent of setRoll
Replies: 1
Views: 45

Re: equivalent of setRoll

https://ogrecave.github.io/ogre/api/lat ... 52720e2e32

note that roll() also had updating behavior in 1.9.1.
by paroj
Wed Sep 19, 2018 4:11 pm
Forum: Help
Topic: [SOLVED] [1.11.2] Samples/Tutorials exceptions when loading a mesh
Replies: 4
Views: 81

Re: [1.11.2] Samples/Tutorials exceptions when loading a mesh

seems like the intel driver does not like the shaders the RTSS emits.
You can try debugging those: https://ogrecave.github.io/ogre/api/lat ... #debugging

or switch back to the GL RenderSystem. (the Ogre Config files are in your documents directory)