Search found 9 matches

by kidhr
Wed Nov 03, 2010 1:18 am
Forum: Bug reports
Topic: [solved]Something wrong with DrawMeshBuffer and camera angle
Replies: 11
Views: 2583

I think I've find the trick. My function getBoundingBox in my custom node was not correct The function doesn't return the good bounding box With return the mesh bounding box, it is ok Like This //--------------------------------------------------------------------------------------- // Get box //---...
by kidhr
Tue Nov 02, 2010 8:40 pm
Forum: Bug reports
Topic: [solved]Something wrong with DrawMeshBuffer and camera angle
Replies: 11
Views: 2583

Hello I have made many tries but only setAutomaticCulling(scene::EAC_OFF) is ok at this time. Also working with EAC_OCC_QUERY My code for drawing the bounding box void CGrassNode::render() { video::IVideoDriver* driver = _smgr->getVideoDriver(); driver->setTransform(video::ETS_WORLD,AbsoluteTransfor...
by kidhr
Sun Oct 31, 2010 2:22 pm
Forum: Bug reports
Topic: [solved]Something wrong with DrawMeshBuffer and camera angle
Replies: 11
Views: 2583

Thanks a lot Darktib, It's working fine with setAutomaticCulling(scene::EAC_OFF);

I've tried with almost all parameters but no EAC_OFF

Something to do with setMaterialFlag(video::EMF_BACK_FACE_CULLING,false) ?
by kidhr
Sun Oct 31, 2010 10:20 am
Forum: Bug reports
Topic: [solved]Something wrong with DrawMeshBuffer and camera angle
Replies: 11
Views: 2583

I have tried with z-buffer true and false in Material buffer.

With the flag is set to false, i don't see my quads
With the flag is set to true, the problem subsiste

Something I've found : when the problem occurs, the number of Primitives is modified, it's decrease.
by kidhr
Sat Oct 30, 2010 4:55 pm
Forum: Bug reports
Topic: [solved]Something wrong with DrawMeshBuffer and camera angle
Replies: 11
Views: 2583

[solved]Something wrong with DrawMeshBuffer and camera angle

Hello Is this a bug ? I am trying to make a new scene node with grass quads. I use a HillPlaneMesh and Meshbuffers I draw some quads in MeshBuffers with DrawMeshBuffer When i rotate my camera with a specific angle the quads are not drawn ??? 132° in my sample. The code below is just for test Thanks ...
by kidhr
Thu Oct 21, 2010 9:48 pm
Forum: Project Announcements
Topic: SPARK open-source advanced particle engine
Replies: 104
Views: 57281

Hi :wink: I had the same errors recently when i've tried to compile irrlicht samples projects with spark dynamic libraries. (SPARK_project_1_05_04) (I use msvc 2005 and 2010 express for my tests) First, try to compile with static libraries. Perhaps you will have errors on unresolved randomseed and u...
by kidhr
Sat Oct 02, 2010 12:55 pm
Forum: Code Snippets
Topic: Simple Terrain Class
Replies: 22
Views: 10534

Solved :)

Sorry

I've change this option in IrrCompileConfig
#define _IRR_MATERIAL_MAX_TEXTURES_ 4
to
#define _IRR_MATERIAL_MAX_TEXTURES_ 8

It's working like a charm 4000 FPS !!!

Thanks :wink:
by kidhr
Sat Oct 02, 2010 9:32 am
Forum: Code Snippets
Topic: Simple Terrain Class
Replies: 22
Views: 10534

Yes it works fine with your exe and irrlicht dll :)

Could you send me your modified irrlicht.lib file ?

Thanks
by kidhr
Fri Oct 01, 2010 5:16 pm
Forum: Code Snippets
Topic: Simple Terrain Class
Replies: 22
Views: 10534

Hello 8) Great job !!! Thanks for your sharing Unfortunately, I have the same issue than Shadowslair when i try to compile your sample. The two versions are black Radeon 5700 Your exe file + your irrlicht dll => ok msvc 2005 + irrlichit 1.7.1 0 => black 1 => crash on m_MeshNode=smgr->addMeshSceneNod...