16bit registers too many vertices...artifacts may occur...

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

16bit registers too many vertices...artifacts may occur...

Post by dreamport »

this error appears when i transfer from 1.5.1 to irrlicht 1.6.... im using linux fedora 10 64bit operating systems....

how can i fix this problem?
opensource = freedom
<br>
how can you face the problem if the problem is your face?
Nox
Posts: 304
Joined: Wed Jan 14, 2009 6:23 pm

Post by Nox »

Please for your and our well-being take a look at http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5586 and follow this guidline to make helping you a bit more easier :)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Having more than 65535 vertices in one meshbuffer is generally a bad practice, so the bug is merely on your artist's side. If you really need this exactly as is you would have to alter the mesh loader to use the 32bit buffers. Can you provide the problematic mesh?
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

@hybrid

this problem dont come up when using irrlicht 1.5.1, but compiling it with irrlicht 1.6 such warning occurs...

im using the exact mesh for the two irrlicht versions
opensource = freedom
<br>
how can you face the problem if the problem is your face?
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

dreamport wrote:this problem dont come up when using irrlicht 1.5.1, but compiling it with irrlicht 1.6 such warning occurs...

im using the exact mesh for the two irrlicht versions
That's correct, 1.6 now tells the user that it is bad practice to have more than 65535 vertices in one meshbuffer. Just tell your modeler to split the mesh in several meshbuffers.
"Whoops..."
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Correct, for some reason the message wasn't there in 1.5. But it wasn't working correctly at any time.
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

but in 1.5.1 my mesh is displaying correctly, plus the modifiers that ive added in blender was displayed correctly while in 1.6 all the modifiers in blender3d was not displayed.

another thing..

objects that dont have uv textures was displayed in white colors while in 1.5, the color that was set to blender was displayed
opensource = freedom
<br>
how can you face the problem if the problem is your face?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

So I guess you are using b3d files?! Please note that once this warning is issued, it is very likely that parts of your mesh don't show correctly. You might not notice it, but there are render artifacts.
Vertex colors might be shown wrongly, due to the changes of the color material settings Irrlicht 1.6 might show some false colors for b3d files. Try out Irrlicht 1.7.
I'm not sure what you mean by modifiers.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

You always have to apply modifiers in Blender _before_ the export. I don't think there is a common realtime format which is able to export those so far.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

is there already irrlicht 1.7?
opensource = freedom
<br>
how can you face the problem if the problem is your face?
m3ltd0wn
Posts: 107
Joined: Wed Dec 12, 2007 8:32 am
Location: Romania

reply

Post by m3ltd0wn »

it is on svn :)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The 1.7 beta version is available at https://irrlicht.svn.sourceforge.net/sv ... leases/1.7
This is not the official release, yet, but a test version to find (and hopefully remove) some more bugs before it is published. The release will be made via the SF file release system as always, announcements will be made at the usual places.
Post Reply