Search found 62 matches

by Christi258
Sun Jul 20, 2014 6:03 pm
Forum: Advanced Help
Topic: bool shader constants are not transmitted
Replies: 1
Views: 556

bool shader constants are not transmitted

Hi all, i have 5 bool variables in my shader. the first 2 of them work properly. But the other 3 are not correctly in my shader. I can change them how i want, they always have the same value:   bool settings[PG_COUNT]; ... services->setVertexShaderConstant("en_projected_grid", &setting...
by Christi258
Fri Jul 18, 2014 6:24 am
Forum: Advanced Help
Topic: xml reader
Replies: 4
Views: 756

Re: xml reader

Did you try xml->getNodeData() ?
by Christi258
Wed Jul 02, 2014 8:56 pm
Forum: Advanced Help
Topic: collision irrlicht
Replies: 2
Views: 647

Re: collision irrlicht

I had same problems.
Irrlicht collision is very bad. If you want a good collisions you should take a physiks engine (e.g. bullet)
by Christi258
Tue Jul 01, 2014 9:57 am
Forum: Project Announcements
Topic: irrBullet 0.1.8 - Bullet physics wrapper
Replies: 454
Views: 170040

Re: irrBullet 0.1.8 - Bullet physics wrapper

I get for every include one error. For example from file (...)\bullet-2.82-r2704\src\BulletCollision\BroadphaseCollision\btAxisSweep3.h #include "LinearMath/btVector3.h" If I chane it to #include "../../LinearMath/btVector3.h" it works. But i don't want to change every include. W...
by Christi258
Wed Jun 25, 2014 11:46 am
Forum: Advanced Help
Topic: This is getting annoying
Replies: 23
Views: 2533

Re: This is getting annoying

When is your water ready? I wanna see it
by Christi258
Tue Jun 24, 2014 8:13 am
Forum: Beginners Help
Topic: FOV horizontal, vertical
Replies: 4
Views: 1498

Re: FOV horizontal, vertical

Well it seems to be the horizontal FOV, but how do I get the vertical FOV?
by Christi258
Sun Jun 22, 2014 4:09 pm
Forum: Advanced Help
Topic: This is getting annoying
Replies: 23
Views: 2533

Re: This is getting annoying

Code: Select all

 
        services->setVertexShaderConstant("matworld", world_pointer.pointer(), 16);
        services->setVertexShaderConstant("matworldviewprojection", WorldViewProj.pointer(), 16);
 
Yeah, a small formal error, you forgot the ' " ' :)
But the rest is OK.
by Christi258
Mon Jun 09, 2014 2:20 pm
Forum: Beginners Help
Topic: camera collision in bullet
Replies: 1
Views: 335

Re: camera collision in bullet

http://irrlicht.sourceforge.net/forum/v ... hp?t=44121

You also could use a btKinematicController, thats good if you want it like a walking person.
by Christi258
Sun Jun 01, 2014 3:55 pm
Forum: Project Announcements
Topic: SmartBody - a character animation engine for Irrlicht
Replies: 57
Views: 29113

Re: SmartBody - a character animation engine for Irrlicht

Yes I'm using this version. Now I got it working. Very great work. But funnily enough, visual studio imports irrlicht 1.8 (I also have the old versions of irrlicht). So I changed it to irrlicht1.8.1 and now there is the error that SmartBody.lib can not be opened. EDIT: Problem solved, i only had to ...
by Christi258
Thu May 29, 2014 6:17 pm
Forum: Project Announcements
Topic: SmartBody - a character animation engine for Irrlicht
Replies: 57
Views: 29113

Re: SmartBody - a character animation engine for Irrlicht

It's me again. Tried to compile it with vs2010 now I get following error: error MSB3073: The command "copy /Y ..\src\irrlichtsmartbody\irrlichtsmartbody.py ..\data copy /Y ..\irrlicht-1.8.1\bin\Win32-VisualStudio\Irrlicht.dll ..\bin :VCEnd" exited with code 1. C:\Program Files (x86)\MSBuil...
by Christi258
Sun May 25, 2014 4:52 pm
Forum: Project Announcements
Topic: SmartBody - a character animation engine for Irrlicht
Replies: 57
Views: 29113

Re: SmartBody - a character animation engine for Irrlicht

I can't get it working. To build SmartBody with VS 2008 doesn't work because the project is older, to build it with VS2012 returns errors (most are LNK2038, any value from _MSC_VER "1600" does not fit to the value of behavior_scheduler_gesture.obj "1700") What have I to do, to ge...
by Christi258
Wed May 21, 2014 4:25 pm
Forum: Beginners Help
Topic: FOV horizontal, vertical
Replies: 4
Views: 1498

FOV horizontal, vertical

Hi everyone,
can you tell me which Field of view is returned by ICameraSceneNode::getFOV(), Horizontal or vertical or is that in irrlicht the same?
by Christi258
Mon May 12, 2014 2:01 pm
Forum: Beginners Help
Topic: Understanding matrices (in shader)
Replies: 5
Views: 428

Re: Understanding matrices (in shader)

tothex wrote: we use mul to transform vector (v_pos) from 3D space to our 2d screen.
Does that mean if I use:
outPos = mul(v_pos, ViewProjectionWorldMatrix);
I have as result in outPos the 2D position on the screen of the vertex?