Search found 9 matches

by Blade
Sun Feb 24, 2008 3:48 am
Forum: Beginners Help
Topic: change mipmap distance
Replies: 3
Views: 409

Thanks for your advices. I think influencing the loadbias would be a good topic for the future, as that would probably improve my streets. But higher resolution for the texture + anisotropic filtering already do a good job now. The main problem are the lane markings as the streets look pretty good w...
by Blade
Sat Feb 23, 2008 3:15 pm
Forum: Beginners Help
Topic: change mipmap distance
Replies: 3
Views: 409

change mipmap distance

Hi everyone, I have a street build out of segments and apply always the same texture on it. Unfortunately the texture gets blurry pretty close to the camera and i think that's because the distance between the mipmap levels is to short. However, i tried anisotropic filtering and the street improved a...
by Blade
Sat Jan 19, 2008 1:17 am
Forum: Advanced Help
Topic: Resolution probs
Replies: 2
Views: 482

yes, i've created RTTs. thx
by Blade
Fri Jan 18, 2008 2:57 am
Forum: Advanced Help
Topic: Resolution probs
Replies: 2
Views: 482

Resolution probs

Hi, I run the irrlicht device in another window and want to resize it when the window size changes. therefore i call DRIVER->OnResize(..). Unfortunatetly it doesn't work and the direct3d device is just throwing this error: Could not reset Direct3D device i'm using the Direct3D9 device btw. does anyb...
by Blade
Fri Oct 19, 2007 9:03 am
Forum: Code Snippets
Topic: [DirectX] RenderTarget XXL (larger than screen size)
Replies: 21
Views: 16392

Hi vi-wer! your rendertexture works fine, but i found 2 little errors in your code: first: the compiler complains, that bool CD3D9Driver::setDepthBuffer(IDirect3DSurface9 *depthbuffer) doesn't return a bool! second: you should not Release the db pointer twice in void CD3D9Texture::updateDepthBuffer(...
by Blade
Fri Sep 07, 2007 6:05 pm
Forum: Beginners Help
Topic: math problem
Replies: 1
Views: 188

math problem

I guess i have a mathematics problem but perhaps, there is a better way in Irrlicht to get what I want: I want a aabbox3df to follow a scene node (not the bounding box). All i've got is a matrix4 where the rotation and translation of the node is stored. So i can get matrix4->getRotationDegrees() and...
by Blade
Thu Sep 06, 2007 2:11 am
Forum: Beginners Help
Topic: MeshBuffer help
Replies: 4
Views: 294

Oh man! Unbelievable how long I looked at this piece of code and thought "hmm everything looks right" and then I missed something this trivial. ^^ You're right. Perhaps i should have looked through it this morning again before i postet this thread in the forum here. I'm sorry of disturbin...
by Blade
Wed Sep 05, 2007 4:32 pm
Forum: Beginners Help
Topic: MeshBuffer help
Replies: 4
Views: 294

MeshBuffer help

Hi guys, i think i need some help from you. I would like to get alle Vertices and Indices out of a Mesh because i need them for building a physics object: ISceneNode* node = smgr->addMeshSceneNode( mesh1, 0, -1, vector3df(0,-5,15), vector3df(0,0,0), vector3df(0.01f,0.01f,0.01f) ); node->setMaterialF...