Thank you. I will use 1.0f = 1m as well.
Another thing: How can I get the dimensions of a mesh in units?
Search found 35 matches
- Sun Sep 21, 2014 8:36 pm
- Forum: Beginners Help
- Topic: Sizes of objects in units
- Replies: 4
- Views: 470
- Sun Sep 21, 2014 8:08 am
- Forum: Beginners Help
- Topic: Sizes of objects in units
- Replies: 4
- Views: 470
Sizes of objects in units
Alright, so I have loaded a 3DS mesh (a wall) and I got it to be displayed. However, I had to set the camera's position to (0, 150, -200) in order to be able to see the whole wall, which is at point zero. Does this mean that the mesh it too big, and I have to change its scale to something less than ...
- Mon Sep 12, 2011 9:56 am
- Forum: Beginners Help
- Topic: Compiling a source file under Linux
- Replies: 11
- Views: 1630
Re: Compiling a source file under Linux
I found it! I copied the makefile from example_1 and changed the paths to correspond to my project and now it works. Looks like I was missing some includes and libraries.., This is how it compiles: g++ -I/usr/irrlicht-1.7.2/include -I/usr/X11R6/include -O3 -ffast-math main.cpp -o ./test -L/usr/irrli...
- Mon Sep 12, 2011 9:38 am
- Forum: Beginners Help
- Topic: Compiling a source file under Linux
- Replies: 11
- Views: 1630
Re: Compiling a source file under Linux
Yes, they compiled and yes I can run them.CuteAlien wrote:Please start with the examples coming with Irrlicht. Do those compile and run?
- Mon Sep 12, 2011 8:25 am
- Forum: Beginners Help
- Topic: Compiling a source file under Linux
- Replies: 11
- Views: 1630
Re: Compiling a source file under Linux
I compiled the library again and put project folder inside irrlicht folder to test if it's working in there. I also changed my makefile to: test: main.o g++ -L../lib/Linux -lIrrlicht main.o -o test main.o: main.cpp g++ -I../include main.cpp -c clean: rm *.o *~ test And I ...
- Sun Sep 11, 2011 11:03 am
- Forum: Beginners Help
- Topic: Compiling a source file under Linux
- Replies: 11
- Views: 1630
Re: Compiling a source file under Linux
Done. Same error...
g++ -L/usr/irrlicht-1.7.2/lib/Linux -I/usr/irrlicht-1.7.2/include -lIrrlicht main.cpp -o test
/tmp/ccdDL9Iw.o: In function `main':
main.cpp:(.text+0x58): undefined reference to `createDevice'
collect2: ld returned 1 exit status
make: *** [main] Error 1
g++ -L/usr/irrlicht-1.7.2/lib/Linux -I/usr/irrlicht-1.7.2/include -lIrrlicht main.cpp -o test
/tmp/ccdDL9Iw.o: In function `main':
main.cpp:(.text+0x58): undefined reference to `createDevice'
collect2: ld returned 1 exit status
make: *** [main] Error 1
- Sun Sep 11, 2011 9:51 am
- Forum: Beginners Help
- Topic: Compiling a source file under Linux
- Replies: 11
- Views: 1630
Re: Compiling a source file under Linux
OK, I changed the makefile. main: main.cpp g++ -L/usr/irrlicht-1.7.2/lib/Linux/libIrrlicht.a -I/usr/irrlicht-1.7.2/include main.cpp -o test clean: rm test I still get an error: g++ -L/usr/irrlicht-1.7.2/lib/Linux/libIrrlicht.a -I/usr/irrlicht-1.7.2/include main.cpp -o test ...
- Sun Sep 11, 2011 8:18 am
- Forum: Beginners Help
- Topic: Compiling a source file under Linux
- Replies: 11
- Views: 1630
Compiling a source file under Linux
So I have successfully installed irrlicht in Ubuntu and put the irrlicht folder in usr/ folder. Now I am trying to compile a source file myself. Here's my source code, which is pretty simple: #include <irrlicht.h> using namespace irr; using namespace core; using namespace scene; using namespace ...
- Tue Aug 09, 2011 5:25 pm
- Forum: Beginners Help
- Topic: loading an IMeshSceneNode*
- Replies: 1
- Views: 142
loading an IMeshSceneNode*
Hello. What I want to do is a text game. Words will fall from the sky and the player will have to type them quickly. The text will not be 2D, but 3D. So I decided to create the meshes for the letters in Blender - so did I. In the Text3D class, there is a static std::map<wchar_t, IMeshSceneNode> that...
- Thu Jul 07, 2011 8:30 am
- Forum: Beginners Help
- Topic: IXMLWriter locale
- Replies: 1
- Views: 149
IXMLWriter locale
Hello. I want to print some values to an xml file using the IXMLWriter interface. The problem is, because my locale is Greek, fractional numbers use the ',' instead of '.' character. So 1.6 (on USA locale\) would be printed as 1,6. This is a problem because when I try to load the file later, it expe...
- Sun Jun 19, 2011 1:52 am
- Forum: Beginners Help
- Topic: 3D Text
- Replies: 5
- Views: 526
I used the tutorial on this page: And that's my code, after I have set everything up + the device to direct3D9. http://www.drunkenhyena.com/cgi-bin/view_cpp_article.pl?chapter=3;article=20 // ... more code unnecessary // TEST HDC hdc; HFONT win32font; hdc=CreateCompatibleDC(NULL); win32font=CreateFo...
- Sun Jun 19, 2011 1:34 am
- Forum: Beginners Help
- Topic: 3D Text
- Replies: 5
- Views: 526
- Sun Jun 19, 2011 1:10 am
- Forum: Beginners Help
- Topic: 3D Text
- Replies: 5
- Views: 526
As far as I know, no you can't do that natively with irrlicht, but I'm sure you could find a usable 3D alphabet online somewhere, and if not, creating 3D letters shouldn't be too hard (just somewhat time consuming) It should be possible to automate the process of creating 3D models of letters thoug...
- Sun Jun 19, 2011 12:50 am
- Forum: Beginners Help
- Topic: 3D Text
- Replies: 5
- Views: 526
3D Text
Is there a way to draw 3D text? Not 2D text in 3D space, 3D text.
I hope there is a function like that because I don't want to make 3D models of all letters in the alphabet...
I hope there is a function like that because I don't want to make 3D models of all letters in the alphabet...
- Mon Jun 06, 2011 7:00 am
- Forum: Beginners Help
- Topic: animation
- Replies: 2
- Views: 215
b3d or directx. Look for gandalf's b3d converter for blender or you can simply export as directx format (.x). I prefer using b3d because it is much more reliable (always good uv maps, proportions, etc. and i get the exact mesh from blender to irrlicht). btw, be sure to animate your mesh with armatu...