Search found 13 matches

by Ghus
Thu Jul 05, 2012 3:55 pm
Forum: Beginners Help
Topic: how to scale world space -1 in z direction !?
Replies: 2
Views: 379

Re: how to scale world space -1 in z direction !?

to make it simple can some tell me how the matrix4 is build

0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15

0 4 8 12
1 5 9 13
2 6 10 14
3 7 11 15

I need this so I can access the 3º Row

ty
by Ghus
Thu Jul 05, 2012 1:38 pm
Forum: Beginners Help
Topic: how to scale world space -1 in z direction !?
Replies: 2
Views: 379

how to scale world space -1 in z direction !?

hi all

I need to change the view matrix to scale world space by -1 in the z-direction.
To do this, i need to flip the sign of the _31, _32, _33, and _34 member of the D3DMATRIX structure of view matrix.

i think i need to do something like this

core::matrix4 viewMatrix = driver->getTransform ...
by Ghus
Mon Feb 13, 2012 3:08 pm
Forum: Beginners Help
Topic: BackBuffer
Replies: 2
Views: 282

Re: BackBuffer

Thanks serengeor

it solved my problem :D
by Ghus
Mon Feb 13, 2012 2:51 pm
Forum: Beginners Help
Topic: BackBuffer
Replies: 2
Views: 282

BackBuffer

Hi

I need an information, i have searched the forum but i didnt find, its possible to change the back buffer colour in run time mode.

i define it in the beginScene but then i need to change it is possible to do this? if yes please help me :wink:

Thanks in advance

Ghus
by Ghus
Thu Nov 17, 2011 5:51 pm
Forum: Beginners Help
Topic: Tranparent Window
Replies: 6
Views: 433

Re: Tranparent Window

hi

thanks for all the replys it helped me to start searching

i found this parameter WithAlphaChannel in the SIrrlichtCreationParameters

documentation:

bool irr::SIrrlichtCreationParameters::WithAlphaChannel

Whether the main framebuffer uses an alpha channel.

In some situations it might be ...
by Ghus
Mon Nov 14, 2011 11:15 am
Forum: Beginners Help
Topic: Tranparent Window
Replies: 6
Views: 433

Tranparent Window

hi

can anyone tell me if it is possible to set the background of the main irrlicht window fully/partial transparent

i tryied this

driver->beginScene(true, true, video::SColor(0,0,0,0));

but i only get a black screen, i cant see throught it :(

thanks in advance

note: i am using Linux Ubuntu ...
by Ghus
Tue Aug 30, 2011 1:55 pm
Forum: Advanced Help
Topic: getSceneNodeMaterialFromScreenCoordinatesBB
Replies: 1
Views: 344

getSceneNodeMaterialFromScreenCoordinatesBB

hi

call someone tell me if this is possible and point the way please

getSceneNode Material FromScreenCoordinatesBB

for a project that i am developing it would be nice if i can get the material layer from a node by clicking on it

so i could change its propertie if the material is green i would ...
by Ghus
Fri Apr 29, 2011 1:59 pm
Forum: Bug reports
Topic: 1.7.1 GUI-Editor: No scrollbar in toolwindow
Replies: 5
Views: 1971

hi

you can try this

IGUIScrollBar* scrollbarRotUP = irrGUI->addScrollBar(false,rect<s32>(100, 100, 110, 200), 0);

it creates a vertical scroll bar :)
by Ghus
Mon Feb 14, 2011 3:10 pm
Forum: Project Announcements
Topic: IrrAR - Irrlicht and Augmented Reality
Replies: 90
Views: 65198

help

hi linuxman

i think i can help but i creat another problem

if you swap this

#if (AR_DEFAULT_PIXEL_FORMAT == AR_PIXEL_FORMAT_BGR)

for this

#if (AR_DEFAULT_PIXEL_FORMAT == AR_PIXEL_FORMAT_RGB)

It will work but the colours of the web cam wont be accurate

can anyone help me with this =P
by Ghus
Fri Jun 04, 2010 12:28 am
Forum: Beginners Help
Topic: spline !?
Replies: 5
Views: 605

hi all

thanks for the reply (sorry if my english is not perfect :wink: )

so can i do something like this

const core::vector3df newPos;
f32 percent0to1 = 1.f * (timer->getTime() - startTime) / timeToTake;
if (1 < percent0to1) {
// we're done
}
else
{
newPos = startPos.getInterpolated(endPos ...
by Ghus
Thu Jun 03, 2010 1:44 am
Forum: Beginners Help
Topic: spline !?
Replies: 5
Views: 605

spline !?

i have an array of positions and rotations of an object

how can i make the object to follow a path like in the spline but i need the rotation also

i have searched the forum but didn't find what i need

could somebody give me a tip :oops:
by Ghus
Tue Jun 01, 2010 11:07 pm
Forum: Project Announcements
Topic: IrrAR - Irrlicht and Augmented Reality
Replies: 90
Views: 65198

linkage problems

i have a problem of linkage i think

can someone tell me what libs and sources must be included and where

to this work fine in ubuntu with code blocks

i have a lot of this errors

../../../ARToolKit/lib/libARvideo.a(video.o): In function `ar2VideoCapStop':
video.c:(.text+0x95): undefined ...
by Ghus
Wed May 12, 2010 5:54 pm
Forum: Project Announcements
Topic: IrrAR - Irrlicht and Augmented Reality
Replies: 90
Views: 65198

problem with irrAR0.3 + irrlicht1.7.1

hi

i read the above posts but i am facing a problem geeting it to work


error C2440: 'initializing' : cannot convert from 'const irr::core::dimension2d<T>' to 'irr::core::dimension2d<T>'
error C2440: 'initializing' : cannot convert from 'const irr::core::dimension2d<T>' to 'irr::core ...