Never mind, I figured it out. Actually to render the cube, 12 vertices are enough. For example, given the vertices are like the following:
vertices[0] = S3DVertex(-1,-1,-1, -1,-1,-1, SColor(255,255,255,255), 0, 1);
vertices[1] = S3DVertex( 1,-1,-1, 1,-1,-1, SColor(255,255,255,255), 1, 1 ...
Search found 16 matches
- Tue May 15, 2007 5:41 pm
- Forum: Advanced Help
- Topic: Deadlock in Texture Coords for Cube Rendering
- Replies: 4
- Views: 544
- Tue May 15, 2007 3:45 pm
- Forum: Advanced Help
- Topic: Deadlock in Texture Coords for Cube Rendering
- Replies: 4
- Views: 544
- Tue May 15, 2007 1:39 pm
- Forum: Advanced Help
- Topic: Deadlock in Texture Coords for Cube Rendering
- Replies: 4
- Views: 544
Deadlock in Texture Coords for Cube Rendering
Hi all,
I was trying to render a cube with a distinct texture for each surface. I found there is a dead lock in texture coords that prevents rendering all six surfaces correctly. In other words, only four surfaces can show texture correctly. It is inevitable that textures in the other two surfaces ...
I was trying to render a cube with a distinct texture for each surface. I found there is a dead lock in texture coords that prevents rendering all six surfaces correctly. In other words, only four surfaces can show texture correctly. It is inevitable that textures in the other two surfaces ...
- Fri Dec 01, 2006 6:33 am
- Forum: Advanced Help
- Topic: Model, View and Controller(MVC) for Irrlicht Based Games
- Replies: 1
- Views: 431
Model, View and Controller(MVC) for Irrlicht Based Games
If MVC architecture is used for a Irrlicht based game, Irrlicht should be used as the graphic rendering engine. In other words, it is the View part. I'm wondering how the Model and Controller parts should be designed?
Since Irrlicht uses a scene manager to manage all scene nodes, is it redundant to ...
Since Irrlicht uses a scene manager to manage all scene nodes, is it redundant to ...
- Wed Jul 26, 2006 4:55 pm
- Forum: Beginners Help
- Topic: GUI Event Never Created When GUI Is Added to Irr Tech Demo
- Replies: 6
- Views: 581
- Tue Jul 25, 2006 9:40 pm
- Forum: Beginners Help
- Topic: GUI Event Never Created When GUI Is Added to Irr Tech Demo
- Replies: 6
- Views: 581
- Sat Jul 22, 2006 3:11 am
- Forum: Beginners Help
- Topic: GUI Event Never Created When GUI Is Added to Irr Tech Demo
- Replies: 6
- Views: 581
- Thu Jul 20, 2006 8:33 pm
- Forum: Beginners Help
- Topic: GUI Event Never Created When GUI Is Added to Irr Tech Demo
- Replies: 6
- Views: 581
- Thu Jul 20, 2006 8:24 pm
- Forum: Beginners Help
- Topic: GUI Event Never Created When GUI Is Added to Irr Tech Demo
- Replies: 6
- Views: 581
GUI Event Never Created When GUI Is Added to Irr Tech Demo
Hi all,
I was trying to add GUI to Irrlicht's tech demo. What I did was to merge Example 9, Mesh Viewer with the demo. Menus and buttons were all shown up and rendered correctly. But I run on the problem that a GUI event was never created when I clicked on these menus and buttons. I set up a ...
I was trying to add GUI to Irrlicht's tech demo. What I did was to merge Example 9, Mesh Viewer with the demo. Menus and buttons were all shown up and rendered correctly. But I run on the problem that a GUI event was never created when I clicked on these menus and buttons. I set up a ...
- Sun Jul 09, 2006 5:43 am
- Forum: Beginners Help
- Topic: Why is my scene node black? LIGHTING does not help.
- Replies: 4
- Views: 498
What is the rule to index vertices?
Hi vitek,
Sorry for my late response. My project at work sucked in most of my time this last week and I did not get time to work on Irrlicht.
Thank you for your reply. Your suggestion worked very well for me. I agree with you that it looks like that driver->drawMeshBuffer() has a bug in setting ...
Sorry for my late response. My project at work sucked in most of my time this last week and I did not get time to work on Irrlicht.
Thank you for your reply. Your suggestion worked very well for me. I agree with you that it looks like that driver->drawMeshBuffer() has a bug in setting ...
- Tue Jul 04, 2006 6:49 pm
- Forum: Beginners Help
- Topic: Why is my scene node black? LIGHTING does not help.
- Replies: 4
- Views: 498
- Tue Jul 04, 2006 6:47 pm
- Forum: Beginners Help
- Topic: Why is my scene node black? LIGHTING does not help.
- Replies: 4
- Views: 498
Why is my scene node black? LIGHTING does not help.
Hi guys,
I was playing with customized scene node to create a tetraeder with each face using a different texture. I put vertices into four mesh buffers and added indices and textures to each mesh buffer. in render() method, I asked the driver to draw each mesh buffers.
My problem is that the scene ...
I was playing with customized scene node to create a tetraeder with each face using a different texture. I put vertices into four mesh buffers and added indices and textures to each mesh buffer. in render() method, I asked the driver to draw each mesh buffers.
My problem is that the scene ...
- Fri Jun 30, 2006 4:57 am
- Forum: Game Programming
- Topic: Where is IrrEdit's source code?
- Replies: 1
- Views: 2487
Where is IrrEdit's source code?
Hi gurus,
I've checked out revision 29 by SVN at https://svn.sourceforge.net/svnroot/irrlicht but I can not find where the source for IrrEdit is?
Does anybody know?
Thanks
I've checked out revision 29 by SVN at https://svn.sourceforge.net/svnroot/irrlicht but I can not find where the source for IrrEdit is?
Does anybody know?
Thanks
- Sat Jun 03, 2006 5:35 am
- Forum: Beginners Help
- Topic: Question on Scene Node Texture
- Replies: 6
- Views: 552
Thank you, hybrid. Your reply is much more valuable than several lines of code because it points to the direction that I should go and infomation that I should check. I'm going to get more than what I have expected by following your advice.
By the way, what is the best way to learn Irrlicht? I have ...
By the way, what is the best way to learn Irrlicht? I have ...
- Wed May 31, 2006 3:34 am
- Forum: Beginners Help
- Topic: Question on Scene Node Texture
- Replies: 6
- Views: 552