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.
Search found 21 matches
- Tue Apr 26, 2011 5:37 pm
- Forum: Beginners Help
- Topic: lighting both side of triangle
- Replies: 10
- Views: 750
- Mon Apr 25, 2011 6:56 pm
- Forum: Beginners Help
- Topic: lighting both side of triangle
- Replies: 10
- Views: 750
- Mon Apr 25, 2011 3:33 pm
- Forum: Beginners Help
- Topic: lighting both side of triangle
- Replies: 10
- Views: 750
- 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...
- Fri Dec 10, 2010 9:33 pm
- Forum: Beginners Help
- Topic: trying to draw cylinder
- Replies: 9
- Views: 673
- 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 ...
- 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
i have tried this but it doesnt change anything
Code: Select all
material.BackfaceCulling = false;
material.FrontfaceCulling = false;
- 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...
- 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 ...
- 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 ...
- Tue Aug 17, 2010 3:50 pm
- Forum: Beginners Help
- Topic: problem with Culling and Orthogonal camera
- Replies: 3
- Views: 756
- Fri Aug 13, 2010 12:45 pm
- Forum: Beginners Help
- Topic: problem with Culling and Orthogonal camera
- Replies: 3
- Views: 756
- 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...
- Fri Feb 05, 2010 10:06 pm
- Forum: Beginners Help
- Topic: setClipPlane
- Replies: 3
- Views: 350
- 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.
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.