Search found 21 matches

by Alucard344
Tue Apr 26, 2011 5:37 pm
Forum: Beginners Help
Topic: lighting both side of triangle
Replies: 10
Views: 750

It would be great if it was someday implemented in irrlicht for openGL.
for now im going to go with duplicating the mesh. i think its the simplest solution.

Thanks.
by Alucard344
Mon Apr 25, 2011 6:56 pm
Forum: Beginners Help
Topic: lighting both side of triangle
Replies: 10
Views: 750

well i was really curious as if there was a better solution. maybe it wouldn't decrease a lot the performance even if i do have big complex mesh. I just feel that duplicating all mesh is not the optimal way of doing it.

thanks for your answers.
by Alucard344
Mon Apr 25, 2011 3:33 pm
Forum: Beginners Help
Topic: lighting both side of triangle
Replies: 10
Views: 750

I already tried to disable backface culling but it doesnt change anything
by Alucard344
Mon Apr 25, 2011 2:22 pm
Forum: Beginners Help
Topic: lighting both side of triangle
Replies: 10
Views: 750

lighting both side of triangle

As the title says, i need to light both side of my mesh. this is because i have clipping plane and when a mesh is cut, i don't want to see the interior of the mesh black. The only way i see to do that would be to duplicate the mesh with the invert normal. but that would lower the performance. What w...
by Alucard344
Fri Dec 10, 2010 9:33 pm
Forum: Beginners Help
Topic: trying to draw cylinder
Replies: 9
Views: 673

it doesnt change anything..
by Alucard344
Fri Dec 10, 2010 6:24 pm
Forum: Beginners Help
Topic: trying to draw cylinder
Replies: 9
Views: 673

static const long CAMERA_FAR_VALUE = 1000000; static const long CAMERA_NEAR_VALUE = 1; irr::core::matrix4 matrix; matrix.buildProjectionMatrixOrthoLH(width, height,CAMERA_NEAR_VALUE, CAMERA_FAR_VALUE); m_smgr->getActiveCamera()->setProjectionMatrix(matrix,true); i know i can use some workaround as ...
by Alucard344
Fri Dec 10, 2010 2:01 pm
Forum: Beginners Help
Topic: trying to draw cylinder
Replies: 9
Views: 673

and what can i do if it is frontface backface culling fighting ?
i have tried this but it doesnt change anything

Code: Select all

material.BackfaceCulling = false;
material.FrontfaceCulling = false;
by Alucard344
Thu Dec 09, 2010 9:25 pm
Forum: Beginners Help
Topic: trying to draw cylinder
Replies: 9
Views: 673

Thanks for your fast answer, I have made some test, generating only one triangle per cylinder but the problem remain. the problem seems to happen only in orthogonal view. here is screenshot of what i see. only 1 triangle per cylinder to be as simple as possible. this is what it is supposed to look l...
by Alucard344
Thu Dec 09, 2010 4:48 pm
Forum: Beginners Help
Topic: trying to draw cylinder
Replies: 9
Views: 673

trying to draw cylinder

Hi, I am having a strange problem. What i am trying to do is to draw a lot of cylinder. Those cylinder have a small radius (they represent drill hole). All my cylinder are batched into a mesh. The problem is, when I zoom out or zoom in, the cylinders start flicking. Some disseapear while some other ...
by Alucard344
Tue Aug 24, 2010 9:06 pm
Forum: Project Announcements
Topic: Mesh Combiner
Replies: 131
Views: 206276

First of all, i want to say that this is very nice. it really speeds up everything. but i am getting a problem. what i want to do is draw a lot of cube. With a millions of them it crash. i am not sure why.. 800 000 cube is fine and fps is very good. any idea why it would crash at 1 million? in your ...
by Alucard344
Tue Aug 17, 2010 3:50 pm
Forum: Beginners Help
Topic: problem with Culling and Orthogonal camera
Replies: 3
Views: 756

unfortunately i only used setFarValue and setAspectRatio at the initialization
i understand i just dont need to use them so i have removed these lines
but it did not fix the problem.

but at least its working good with EAC_FRUSTUM_BOX

thanks anyway for your answer.
by Alucard344
Fri Aug 13, 2010 12:45 pm
Forum: Beginners Help
Topic: problem with Culling and Orthogonal camera
Replies: 3
Views: 756

i have changed the default culling to this
cube->setAutomaticCulling(scene::EAC_FRUSTUM_BOX);
and now its working perfectly

but i still dont know why this is working but the default is not..
will i get good culling with this method ?
by Alucard344
Tue Aug 10, 2010 6:22 pm
Forum: Beginners Help
Topic: problem with Culling and Orthogonal camera
Replies: 3
Views: 756

problem with Culling and Orthogonal camera

I have an orthogonal camera and i have some culling problem. if the camera is not orthogonal everything is fine. So what is happening is, with the orthogonal camera, my object sometime disappear. it seems to happen on orthogonal angle as you can see in the screenshot. here is how my camera and my sc...
by Alucard344
Fri Feb 05, 2010 10:06 pm
Forum: Beginners Help
Topic: setClipPlane
Replies: 3
Views: 350

wow why didnt i think about that ?
Thanks a lot ! it solves all the problem !

Also while at it, it works very great in openGL but in directx9 the cliping is not working at all.
any idea what is hapening ?
by Alucard344
Fri Feb 05, 2010 7:25 pm
Forum: Beginners Help
Topic: setClipPlane
Replies: 3
Views: 350

setClipPlane

Hi,
i am trying to do some clipping plane for my application.
but when using clipping plane it also clip the menu and the text.

is there any way to not clip the menu or the text while using cliping plane?

thank you.