DSpans: UVWMaps

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.

DSpans: UVWMaps

Postby Sirius » Fri Jun 24, 2011 6:11 am

I want to recompile an XML file for a drawable spans, but I get an error from PRCC.
"Incorrect number of UVWMaps".
When I look in my file, I find that most vertices indeed have two UVWMaps:
Code: Select all
<UVWMaps>
    <hsVector3 X="0.8081970215" Y="0.02127075195" Z="0.950668335" />
    <hsVector3 X="-0.2063903809" Y="3.543914795" Z="-18.38085938" />
</UVWMaps>

I'm using the version Plasma_Win32_r801.
Any help ? Should I remove the second UVWMap ?
User avatar
Sirius
 
Posts: 1506
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: DSpans: UVWMaps

Postby Lontahv » Sat Jun 25, 2011 1:32 am

Your buffergroup format flags are indicating a number of UVW's other than 2. If you aren't sure how to fix it, you can post your Format flags here and I can tell you what they should be set to.
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: DSpans: UVWMaps

Postby Sirius » Sat Jun 25, 2011 6:19 am

Thanks Lontahv ! My buffer group was indeed <plGBufferGroup Format="0x81"> instead of <plGBufferGroup Format="0x82">. I didn't know it influenced it. Now I'll be more careful !

EDIT: now there is a bug: when I load the page with the file, there are texture problems (cursor replaced by a white box, faces appearing or dissapearing in the whole Age, the avatar's textures sometime used instead of the correct textures, alpha bugs...). The Format was changed to 0x000082 instead of 0x82. I'll see if I didn't make any error in the file, might be the bug.
User avatar
Sirius
 
Posts: 1506
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: DSpans: UVWMaps

Postby diafero » Sun Jun 26, 2011 10:39 am

0x000082 is exactly the same as 0x82, just with some more loading zeroes - but just like 01 and 1 are the same number, this doesn't change anything :D
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
diafero
Deep Island Admin
 
Posts: 2966
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: DSpans: UVWMaps

Postby Sirius » Mon Jun 27, 2011 12:59 am

Yes, it doesn't seem to be a problem. I was just wondering because in the original file it was 0x82.

For the crash, I just made an error with the drawable spans. Now it works fine.

Thank you for the help !
User avatar
Sirius
 
Posts: 1506
Joined: Mon Jul 26, 2010 4:46 am
Location: France


Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron