Search found 16 matches

by danut007ro
Wed Mar 25, 2009 8:39 am
Forum: Beginners Help
Topic: transparent sphere
Replies: 4
Views: 726

not working

Here is the updated code. I build the image with paint.NET, it's a 128x128 filled image saved as a 32bit png, so it must have alpha channel But I still don't understand why EMT_TRANSPARENT_ADD_COLOR doesn't work, but with the dwarf model in tutorial 09 (MeshViewer) it works. Sorry, but I'm very new ...
by danut007ro
Tue Mar 24, 2009 1:45 pm
Forum: Beginners Help
Topic: transparent sphere
Replies: 4
Views: 726

transparent sphere

Hello ! I'm trying to make a big sphere that should be transparent (seeing inside it) This is the code I'm using, but obviously it doesn't work #include <irrlicht.h> using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; #ifd...
by danut007ro
Wed May 02, 2007 9:10 am
Forum: Beginners Help
Topic: camera question (demo included)
Replies: 5
Views: 277

Midnight, if you mean object orbiting camera.rar , I already got that file, liked how it looks. But still it doesn't fits my needs. I need the camera to be FPS and also Maya-like. So I guess I need to get those angles (Phi, Theta) every frame when I do rotation from the current camera position, calc...
by danut007ro
Wed May 02, 2007 4:47 am
Forum: Beginners Help
Topic: camera question (demo included)
Replies: 5
Views: 277

I'm trying to implement my camera, with zoom and stuff. If I move past the center I guess I will check that. But first I need the rotation code. Travis : how to get the angles using current camera position? I mean I should get the angles every frame, calculate new position using your code, and then ...
by danut007ro
Tue May 01, 2007 9:45 pm
Forum: Beginners Help
Topic: camera question (demo included)
Replies: 5
Views: 277

camera question (demo included)

I'm building a simple physics simulation program and I have written a custom camera based on the FPS camera included with Irrlicht... Problem is that I'm trying to make the camera orbiting around the center and move it with the mouse. I managed to make the camera move but it looks like it is first m...
by danut007ro
Fri Apr 20, 2007 8:58 am
Forum: Beginners Help
Topic: draw3DLine bug ???
Replies: 5
Views: 488

thank you... it is ok now. it was SMaterial, but no problem seeing that
by danut007ro
Fri Apr 20, 2007 1:05 am
Forum: Beginners Help
Topic: draw3DLine bug ???
Replies: 5
Views: 488

just tested it and it happens with the default version of Irrlicht. tested with msvc 8.0. I attached the demo, too... just press the first button, then move to the end of the big cube, get on the last cells from top and look up... you should see the effect... ftp://216.75.41.174/program.zip EDIT : w...
by danut007ro
Fri Apr 20, 2007 12:37 am
Forum: Beginners Help
Topic: draw3DLine bug ???
Replies: 5
Views: 488

nope, I'm not using anything (yet)... everything is static
by danut007ro
Fri Apr 20, 2007 12:07 am
Forum: Beginners Help
Topic: draw3DLine bug ???
Replies: 5
Views: 488

draw3DLine bug ???

hello ! I'm developing a little physics simulation but I have some problems with draw3DLine() function. I attached these two screenshots. In the first one, the image is ok, some spheres have lines between them... But in the second one, (the camera looks slighty up) the lines between the spheres are ...
by danut007ro
Thu Apr 19, 2007 11:44 pm
Forum: Beginners Help
Topic: custom camera problem... plz help !
Replies: 4
Views: 388

well, I guess the problem is in the animate() function, somewhere in here : if (Keys[7]) { Target.set(0,0,1); f32 rotX = 0, rotY = 0; if (CursorControl && InputReceiverEnabled && camIsMe) { core::position2d<f32> cursorpos = CursorControl->getRelativePosition(); if (!core::equals(curs...
by danut007ro
Thu Apr 19, 2007 7:58 pm
Forum: Beginners Help
Topic: custom camera problem... plz help !
Replies: 4
Views: 388

no one ?
by danut007ro
Mon Apr 16, 2007 7:33 pm
Forum: Beginners Help
Topic: custom camera problem... plz help !
Replies: 4
Views: 388

custom camera problem... plz help !

Hello ! I'm developing a custom camera that is fps and maya-style in the same time... my code is based on the source code from the FPS camera, but I'm having problems including the code for maya-style camera... Problem is that when you switch to maya-style (right-click) and move the mouse, the camer...
by danut007ro
Sat Apr 14, 2007 3:12 am
Forum: Beginners Help
Topic: why isn't my OnAnimate() being called ?
Replies: 6
Views: 242

Thanks for the reply. I modified the code for creating camera like this : ICameraSceneNode* cam = new CMyCamera(smgr->getRootSceneNode(), smgr, device, -1, vector3df(0, 0, -300)); Also modified the constructor to pass the scenenode like this : ICameraSceneNode(parent, mgr, id, position, core::vector...
by danut007ro
Fri Apr 13, 2007 9:44 pm
Forum: Beginners Help
Topic: why isn't my OnAnimate() being called ?
Replies: 6
Views: 242

used a debugger...
by danut007ro
Fri Apr 13, 2007 8:46 pm
Forum: Beginners Help
Topic: why isn't my OnAnimate() being called ?
Replies: 6
Views: 242

any help ?

no one can't help? pls?