so if u wanted to smooth that normals u would have to find the vertices with equal positions and sum the triangle normals they belong to?
sounds like a slow solution.
Search found 13 matches
- Mon Oct 15, 2007 10:51 pm
- Forum: Beginners Help
- Topic: recalculateNormals
- Replies: 3
- Views: 564
- Mon Oct 15, 2007 10:36 pm
- Forum: Beginners Help
- Topic: recalculateNormals
- Replies: 3
- Views: 564
recalculateNormals
does this normal smoothing work when recalculating the normals?
i can't see any difference on my test - sphere. it doesn't look smoothed.
Code: Select all
man->recalculateNormals(mesh, true);
Code: Select all
man->recalculateNormals(mesh, false);
i can't see any difference on my test - sphere. it doesn't look smoothed.
- Wed Oct 03, 2007 10:53 pm
- Forum: Everything 2d/3d Graphics
- Topic: uv lightmap
- Replies: 3
- Views: 1402
- Wed Oct 03, 2007 10:48 pm
- Forum: Everything 2d/3d Graphics
- Topic: uv lightmap
- Replies: 3
- Views: 1402
uv lightmap
Hi,
i want to calculate the u,v coordinates for a given mesh for lightmapping...
I was looking for a tutorial but i only found tutorials for some sort of 3d modelling software.
greetings
ignorator
i want to calculate the u,v coordinates for a given mesh for lightmapping...
I was looking for a tutorial but i only found tutorials for some sort of 3d modelling software.
greetings
ignorator
- Tue Oct 02, 2007 11:37 pm
- Forum: Beginners Help
- Topic: IMeshbuffer::getMaterial()
- Replies: 6
- Views: 549
- Tue Oct 02, 2007 10:26 pm
- Forum: Beginners Help
- Topic: IMeshbuffer::getMaterial()
- Replies: 6
- Views: 549
- Tue Oct 02, 2007 9:57 pm
- Forum: Beginners Help
- Topic: IMeshbuffer::getMaterial()
- Replies: 6
- Views: 549
well it doesnt work 
cmeshbuffer.h:
i think it returns a copy of Material via the copyconstructor?
cmeshbuffer.h:
Code: Select all
//! returns the material of this meshbuffer
virtual video::SMaterial& getMaterial()
{
return Material;
}- Tue Oct 02, 2007 9:42 pm
- Forum: Beginners Help
- Topic: IMeshbuffer::getMaterial()
- Replies: 6
- Views: 549
IMeshbuffer::getMaterial()
im trying to reset some textures inside a IMesh but it doesn't work.
getMaterial() returns a copy of the Material and not a pointer?
how do i get a pointer to the Material?
irr::video::SMaterial& mat = mesh->getMeshBuffer(meshbuffer_id)->getMaterial();
mat.Textures[1] = tex;
mat.Textures[0 ...
getMaterial() returns a copy of the Material and not a pointer?
how do i get a pointer to the Material?
irr::video::SMaterial& mat = mesh->getMeshBuffer(meshbuffer_id)->getMaterial();
mat.Textures[1] = tex;
mat.Textures[0 ...
- Sun Sep 30, 2007 8:39 pm
- Forum: Beginners Help
- Topic: vertex deallocation
- Replies: 3
- Views: 614
- Sun Sep 30, 2007 3:24 pm
- Forum: Beginners Help
- Topic: vertex deallocation
- Replies: 3
- Views: 614
vertex deallocation
Hi :D
I'm copying vertices from a mesh to a new structure.
the mesh is loaded like this:
scene::IAnimatedMesh* testmesh = smgr->getMesh("../../media/test.3ds");
now I want to get rid of the old vertices in the testmesh.
When I call delete testmesh I think the vertices remain in memory. Must ...
I'm copying vertices from a mesh to a new structure.
the mesh is loaded like this:
scene::IAnimatedMesh* testmesh = smgr->getMesh("../../media/test.3ds");
now I want to get rid of the old vertices in the testmesh.
When I call delete testmesh I think the vertices remain in memory. Must ...
- Sun Sep 23, 2007 8:08 pm
- Forum: Beginners Help
- Topic: irrlicht.lib
- Replies: 2
- Views: 282
- Sun Sep 23, 2007 7:49 pm
- Forum: Beginners Help
- Topic: irrlicht.lib
- Replies: 2
- Views: 282
irrlicht.lib
Hi i'm trying to compile a example of irrlicht with Visual Studio 2005 (prof).
i followed the Hello World tutorial:
We also need the irrlicht.lib to be found, so select 'show directories for Library files' and add the \lib\VisualStudio directory.
but in this directory there is no irrlicht.lib ...
i followed the Hello World tutorial:
We also need the irrlicht.lib to be found, so select 'show directories for Library files' and add the \lib\VisualStudio directory.
but in this directory there is no irrlicht.lib ...
- Fri Sep 21, 2007 1:39 am
- Forum: Beginners Help
- Topic: octree
- Replies: 0
- Views: 279
octree
hi i'm new to the irrlicht engine and ive a questions about the octree:
can i add meshes to an existing octree scene node after it has been initially created?
when i add another actree scenenode is it somehow merged into the existing scenenode?
if not: how could i dynamically add/remove meshes ...
can i add meshes to an existing octree scene node after it has been initially created?
when i add another actree scenenode is it somehow merged into the existing scenenode?
if not: how could i dynamically add/remove meshes ...