Horde3D

Next-Generation Graphics Engine
It is currently 24.11.2024, 08:05

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 15.04.2011, 17:23 
Offline

Joined: 24.03.2010, 10:17
Posts: 55
Problem: h3dutCreateGeometryRes (svn rev 313) sets wrong number of streams if tangentData and bitangent data is supplied.
See http://horde3d.org/forums/viewtopic.php?f=2&t=1491.
Solution: Change line 680 in Horde3DUtils/main.cpp (file rev. 294) from
Code:
// Set number of streams
*( (uint32 *)pData ) = 1 + numTexSets + ( normalData ? 1 : 0 ); pData += sizeof( uint32 );
to
Code:
// Set number of streams
*( (uint32 *)pData ) = 1 + numTexSets + ( normalData ? 1 : 0 ) + ((tangentData && bitangentData) ? 2 : 0); pData += sizeof( uint32 );


Top
 Profile  
Reply with quote  
PostPosted: 20.04.2011, 08:18 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
Yep, thanks a lot Alex!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group