(C++) WoW style custom controls with camera and more

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
Mrelusive
Posts: 1
Joined: Wed Sep 12, 2007 6:30 am

Post by Mrelusive »

look at example 12. TerrainRendering under the irrlicht examples folder. That has terrain collision involved in it.
Eagle
Posts: 20
Joined: Tue Nov 27, 2007 7:50 pm
Location: USA
Contact:

Post by Eagle »

How do you guys insert the 3rd person cam into the engine so it can be
ran? I dropped it in the examples folder and tried to run it but it crashed
and said it couldn’t find the engine??

any help would be great!

always~
Vickie ;)
Eagle
Posts: 20
Joined: Tue Nov 27, 2007 7:50 pm
Location: USA
Contact:

Post by Eagle »

hey Joe,
The "release" version of your WOW cam errors out when I run it. I get an
error that says "R6025 - pure virtual function call" so I built the program
"3rdPersonCam" and ran it but got the same problem. is it missing any other
files besides the Irrlicht.dll ?

always~
Vickie ;)
eMgz
Posts: 10
Joined: Sat Sep 29, 2007 2:54 am
Contact:

Post by eMgz »

Eagle wrote:hey Joe,
The "release" version of your WOW cam errors out when I run it. I get an
error that says "R6025 - pure virtual function call" so I built the program
"3rdPersonCam" and ran it but got the same problem. is it missing any other
files besides the Irrlicht.dll ?

always~
Vickie ;)
same here
im using this one for now
http://irrlicht.sourceforge.net/phpBB2/ ... ht=#131848
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

sounds like missing declaration.

i'll be adding this feature on sample #16 soon.

keep posting on how the code is being ported to the latest version, i may dive into getting the code integrated if it is broken, later.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Pure virtual function calls can only happen if a precompiled lib is combined with new code that uses a different header. So I assume that you use some application with a new or changed Irrlicht.dll which has used different headers.
Eagle
Posts: 20
Joined: Tue Nov 27, 2007 7:50 pm
Location: USA
Contact:

Post by Eagle »

dlangdev wrote:sounds like missing declaration.

i'll be adding this feature on sample #16 soon.

keep posting on how the code is being ported to the latest version, i may dive into getting the code integrated if it is broken, later.
Thats Awesome Dlangdev, can't wait to play with it!

always~
Eagle
Eagle
Posts: 20
Joined: Tue Nov 27, 2007 7:50 pm
Location: USA
Contact:

Post by Eagle »

eMgz wrote: same here
im using this one for now
http://irrlicht.sourceforge.net/phpBB2/ ... ht=#131848
This looks very good eMgz! Do you have the "PlayerCameraRPGV8.zip"
somewhere on your drive? If so could you e-mail it to me please? The
link is broken in the post about this camera. I would love to try this out~
<edit> forgot my email..LOL!

vickie.eagle@gmail.com

Always~
Vickie ;)
mqrk
Posts: 16
Joined: Mon Dec 10, 2007 5:55 am

Post by mqrk »

I got the error about MyEventHandler being an abstract class as well. I changed

Code: Select all

//EventReceiver.h
virtual bool OnEvent(SEvent event)
to

Code: Select all

virtual bool OnEvent(const SEvent& event)
Which seemed to fix the problem.

I also had to remove the line:

Code: Select all

//3rdPersonCam.cpp
case 'e': driverType = video::EDT_SOFTWARE2; break;
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Softwaredriver2 is now called burningsvideo. Check the API docs.
sanctus2099
Posts: 18
Joined: Sat Nov 17, 2007 11:34 am

Post by sanctus2099 »

Code: Select all

matrix4 m2;
	m2.setRotationDegrees(Target->getRotation());
Getting a unhadled memory exception error here.
My code is following exactly the way it should
jreuschel1
Posts: 25
Joined: Sun Nov 12, 2006 7:51 pm
Contact:

no new updates

Post by jreuschel1 »

No updates yet for the cam...

But, it was WoW cam right?

wasn't WoW a "World?"

aren't worlds round?

http://jreuschel.10gbfreehost.com/worlds/Worlds.zip

for my latest project

file size
1.49GB / 1000

a picture is worth a thousand words: The exe here is 31 KB and reserves 32MB and it is a picture.
So,are words like little pictures or something?

in which case a picture would be worth 1000 1000th pictures.... (aka little pictures)

are pictures square?

...
...
cout << sqrt(1000);

ahhh that's where floats come into play.
Directory of E:\RI-1

00/00/0000 12:00 AM <DIR> .
00/00/0000 12:00 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) All bytes free

E:\RI-1>_
jreuschel1
Posts: 25
Joined: Sun Nov 12, 2006 7:51 pm
Contact:

I'm tired

Post by jreuschel1 »

if you download the exe of Worlds, you might want to know this:


to even see anything you must fly BACKWARDS out of the center of the planet with the 'S' key or you may be forever doomed to see black nothingness
Directory of E:\RI-1

00/00/0000 12:00 AM <DIR> .
00/00/0000 12:00 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) All bytes free

E:\RI-1>_
OnKa
Posts: 3
Joined: Sat Nov 29, 2008 7:00 am

Post by OnKa »

hello friends,

i have a problem... :?

can someone help me?
ich have the msvc9 (2008 Pro) and now i try these code ...
but i cant compile it ... it gives me an error *"irrlicht.h": No such file or directory* ... i have put it in to the folder but the error is ever the same... can someone change it to vc9 for me with the complete files in projekt?

excuse my english, it's not my native language
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

OnKa wrote:ich have the msvc9 (2008 Pro) and now i try these code ...
but i cant compile it ... it gives me an error *"irrlicht.h": No such file or directory* ... i have put it in to the folder but the error is ever the same... can someone change it to vc9 for me with the complete files in projekt
If you're a professional, presumably you can do it yourself.

I hope that someone helps you, but I personally don't support people who pirate software, and I strongly suspect that you've done so.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply