Search found 15 matches

by tobix10
Sat Jun 06, 2015 12:15 pm
Forum: Beginners Help
Topic: GCC 64bit compilation on Windows
Replies: 1
Views: 1716

GCC 64bit compilation on Windows

I need to check that my project from Linux will run on Windows. Code and external libraries are multiplatform, but libraries are 64 bits and I also need to compile project with 64bit compiler. Firstly, I've tried VisualStudio 2013 and got compiled and linked app, but on start there is error: 'the ap...
by tobix10
Wed May 27, 2015 5:48 am
Forum: Beginners Help
Topic: Loading mesh from .obj
Replies: 21
Views: 2418

Re: Loading mesh from .obj

CuteAlien wrote:but the vertex order is putting the textures on the outside.
All of them or just the ceiling? Can I change this in blender?

I want to be inside box. It's a simple room.
by tobix10
Mon May 25, 2015 8:32 am
Forum: Beginners Help
Topic: Loading mesh from .obj
Replies: 21
Views: 2418

Re: Loading mesh from .obj

Hey, I have another strange problem - 5 of 6 sides are illuminated, but ceiling is not ;/. Normals are good and the light source is just below ceiling. I was able to see texture, but it was dimmed. In mtl all materials have the same properties. My way around is to give EmissiveColor, but I don't und...
by tobix10
Sat May 23, 2015 4:34 pm
Forum: Beginners Help
Topic: Loading mesh from .obj
Replies: 21
Views: 2418

Re: Loading mesh from .obj

It was just a guess. Forward -Z Up Y is correct. You can display normals in Irrlicht with something like node->setDebugDataVisible(scene::EDS_FULL); (I think there is an enum for normals alone.) EDS_NORMALS Irr is left-handed, so forward would be +Z? I tried this and some other combinations of up a...
by tobix10
Sat May 23, 2015 10:45 am
Forum: Beginners Help
Topic: Loading mesh from .obj
Replies: 21
Views: 2418

Re: Loading mesh from .obj

Where do you check them (blender, irrlicht, other software)? I see in blender that they point inwards (mesh properties -> display face normals as lines). When exporting to obj they have to be in native irrlicht coordinate system? I exported them with Forward: -Z, Up: Y. Maybe it should be Forward: Y...
by tobix10
Fri May 22, 2015 2:34 pm
Forum: Beginners Help
Topic: Loading mesh from .obj
Replies: 21
Views: 2418

Re: Loading mesh from .obj

From last time I haven't got time to do anything. Now I am trying to use blender to create static scene and read it in irrlicht. I've got it working, but without light. Scene contains only a cube with textured inner sides. In irrlicht I had to switch from back to front face culling. After turning li...
by tobix10
Sat Apr 25, 2015 4:26 pm
Forum: Beginners Help
Topic: Deploying binary on linux
Replies: 4
Views: 643

Re: Deploying binary on linux

Thx. I used that command and tried running my application on virtual machine (ubuntu, debian). I've noticed that libc6-dev for debian is older.
by tobix10
Fri Apr 24, 2015 4:32 pm
Forum: Beginners Help
Topic: Deploying binary on linux
Replies: 4
Views: 643

Deploying binary on linux

To compile irrlicht on Linux we need freeglut3 freeglut3-dev freeglut3-dbg xserver-xorg-dev x11proto-xf86vidmode-dev libxxf86vm-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libxext-dev libxcursor-dev If I want to send someone my application which libraries should be installed to run this app...
by tobix10
Tue Mar 24, 2015 9:55 pm
Forum: Beginners Help
Topic: Loading mesh from .obj
Replies: 21
Views: 2418

Re: Loading mesh from .obj

Thanks for investigation :). I tried to export normals in other ways (crease angle, smooth) and that worked.
by tobix10
Tue Mar 24, 2015 6:07 am
Forum: Beginners Help
Topic: Loading mesh from .obj
Replies: 21
Views: 2418

Re: Loading mesh from .obj

Windows 7 64bit irrlicht 1.8.1 (compiled without dx support) I get error both in mesh viewer and custom project. demo_sound triggered breakpoint in: //! Direct access operator T& operator [](u32 index) {     _IRR_DEBUG_BREAK_IF(index>=used) // access violation       return data[index]; } values:...
by tobix10
Mon Mar 23, 2015 9:47 pm
Forum: Beginners Help
Topic: Loading mesh from .obj
Replies: 21
Views: 2418

Loading mesh from .obj

Hello, I have strange problem. After creating simple cube in DeleD editor, texturing it inside cube and exporting to obj (with normals - faces) irrlicht fails on loading it. There is assertion break in getMesh(), line msh = MeshLoaderList ->createMesh(file); when calling [] operator. Without faces i...
by tobix10
Thu Mar 05, 2015 2:28 pm
Forum: Beginners Help
Topic: Static billboard
Replies: 3
Views: 492

Re: Static billboard

Yes, I can do that. For both eyes I call draw2DImage but in result I got three RGB lines instead of white :). I am not quite sure about using videoDriver with oculus. What is in sceneManager is displayed ok (not mentioning lack of antialiasing which I turned on ;/), but as I said for draw2DImage whi...
by tobix10
Thu Mar 05, 2015 1:04 pm
Forum: Beginners Help
Topic: Static billboard
Replies: 3
Views: 492

Static billboard

Hi, I am writing simple demo for oculus and using IrrOculusVR project. I have custom node to draw a XYZ plot with some pixels in this space using driver-> draw3DLine, drawVertexPrimitiveList in render() method. Parent of this node is second scene manager which also handles events (rotation of axis, ...
by tobix10
Thu Feb 26, 2015 5:37 pm
Forum: Code Snippets
Topic: Oculus Rift Development Kit 2-support
Replies: 9
Views: 6039

Re: Oculus Rift Development Kit 2-support

To compile your project on linux: HEADERS=-I../irrlicht/include -I../ovr_sdk_linux_0.4.4/LibOVR/Include -I../ovr_sdk_linux_0.4.4/LibOVR/Src LIBS=-L../irrlicht/lib/Linux -L../ovr_sdk_linux_0.4.4/LibOVR/Lib/Linux/Release/x86_64 -lIrrlicht -lstdc++ -lm -ludev -lovr -lGL -lEGL -lGLU -lXext -lX11 -lXxf86...