Search found 42 matches

by moriwo
Sat Aug 30, 2008 2:21 am
Forum: Beginners Help
Topic: [solved]How to manual rendering without drawAll.
Replies: 9
Views: 912

I solved problem by adding the setSceneNodeRenderPass function.

It seems enough for now.

Thank you for teaching some methods.

thanks all.
by moriwo
Fri Aug 29, 2008 3:08 am
Forum: Beginners Help
Topic: [solved]How to manual rendering without drawAll.
Replies: 9
Views: 912

thanks guys.

Please look at this post about the reason why I do the manual rendering.
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30021

I know a transparent node is sorted by the distance from the camera.

but, the function seems to have trouble. just like my former post.

Therefore ...
by moriwo
Thu Aug 28, 2008 1:00 pm
Forum: Beginners Help
Topic: [solved]How to manual rendering without drawAll.
Replies: 9
Views: 912

thanks rogerborg.

I succeeded the rendering by your code in case of solid node.

but, rendering was not done for the transparency node.


IAnimatedMesh* mesh = Scene->getMesh("shadow_alp.x");
IAnimatedMeshSceneNode* node = Scene->addAnimatedMeshSceneNode(mesh);
node->setMaterialType(EMT ...
by moriwo
Thu Aug 28, 2008 7:42 am
Forum: Beginners Help
Topic: [solved]How to manual rendering without drawAll.
Replies: 9
Views: 912

[solved]How to manual rendering without drawAll.

I try this code.
but, the node was not rendering.

Is it possible?



IAnimatedMesh* mesh = Scene->getMesh("test.x");
IAnimatedMeshSceneNode* node = Scene->addAnimatedMeshSceneNode(mesh);


stringw str;
while(Device->run())
{
Driver->beginScene(true, true, SColor(0,0,100,100));

node ...
by moriwo
Mon Aug 25, 2008 1:06 pm
Forum: Beginners Help
Topic: [solved]Is this a unknown bug?
Replies: 6
Views: 628

thanks.

I get it.

I hope a new version of irrlicht comes to be able to set the rendering priority manually.
by moriwo
Mon Aug 25, 2008 12:02 pm
Forum: Beginners Help
Topic: [solved]Is this a unknown bug?
Replies: 6
Views: 628

thanks hybrid.

I tried code below.
but, shadow was not renderd.

I think that I cannot do the rendering of the node after drawAll.
(between beginScene - endScene loop)

Is my idea correct?



shadowNode->setVisible(false);

Scene->drawAll();

shadowNode->setVisible(true);
shadowNode->render ...
by moriwo
Mon Aug 25, 2008 2:49 am
Forum: Beginners Help
Topic: [solved]Is this a unknown bug?
Replies: 6
Views: 628

is this a unknown bug of zbuffer?
by moriwo
Sun Aug 24, 2008 4:05 am
Forum: Beginners Help
Topic: [solved]Is this a unknown bug?
Replies: 6
Views: 628

I think that I am a problem that the order of drawing causes.

How can I adjust the drawing order in some nodes?
by moriwo
Sat Aug 23, 2008 10:59 am
Forum: Beginners Help
Topic: [solved]Is this a unknown bug?
Replies: 6
Views: 628

[solved]Is this a unknown bug?

I want to draw the shadow on ground.

The material type of the ground node is EMT_TRANSPARENT_ALPHA_CHANNEL.
because it have warter material.

and, The material type of the shadow node is
EMT_TRANSPARENT_ALPHA_CHANNEL, too.

but...the shadow is not drawn sometimes correctly.
what should i do ...
by moriwo
Fri Aug 15, 2008 6:22 am
Forum: Beginners Help
Topic: how to get material of ground where ray intersects?
Replies: 0
Views: 111

how to get material of ground where ray intersects?

Is it possible in irrlicht?
Could you teach the method of doing this?

The material seems not to be contained in triangle returned by getCollisionPoint.
by moriwo
Fri Aug 15, 2008 6:21 am
Forum: Beginners Help
Topic: How to get material of ground where ray intersects?
Replies: 0
Views: 130

How to get material of ground where ray intersects?

Is it possible in irrlicht?
Could you teach the method of doing this?

The material seems not to be contained in triangle returned by getCollisionPoint.
by moriwo
Sat Aug 09, 2008 1:13 pm
Forum: Beginners Help
Topic: [solved (no bug)] BoundingBox bug?
Replies: 3
Views: 276

>hybrid

oh, i'm sorry. i see it now.

>Acki

it looks good. thanks Acki.
by moriwo
Fri Aug 08, 2008 9:46 pm
Forum: Beginners Help
Topic: [solved (no bug)] BoundingBox bug?
Replies: 3
Views: 276

[solved (no bug)] BoundingBox bug?

I discovered the strangeness of boundingbox.

When octree node is added, boundingbox doesn't follow to the position of
the character node.

Is this a Irrlicht bug?

this worked correctly.

/* //create ground mesh
IAnimatedMesh* mesh = Scene->getMesh("ground.x");
ISceneNode* otNode = Scene ...
by moriwo
Sun Aug 03, 2008 3:46 pm
Forum: Beginners Help
Topic: draw2DImage bug?
Replies: 3
Views: 272

I seems to have the 6 param version.
the second param is rect<s32>.

IVideoDriver.h

virtual void draw2DImage(const video::ITexture* texture, const core::rect<s32>& destRect,
const core::rect<s32>& sourceRect, const core::rect<s32>* clipRect = 0,
video::SColor* colors=0, bool ...
by moriwo
Sun Aug 03, 2008 2:57 pm
Forum: Beginners Help
Topic: draw2DImage bug?
Replies: 3
Views: 272

draw2DImage bug?

i want to use draw2DImage 6 param version.

this is my code:


Driver->draw2DImage(tex,rect<s32>(100,100,200,500),rect<s32>(0,0,1000,1000),rect<s32>(0,0,0,0),SColor(100,100,100,100),false);


but, it is compile error.

error C2664:
'void irr::video::IVideoDriver::draw2DImage(const irr::video ...