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.
Post Reply
User avatar
Sirius
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
MOULa KI#: 0
Location: France

DSpans: UVWMaps

Post by Sirius »

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
Lontahv
Councilor of Artistic Direction
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: DSpans: UVWMaps

Post by Lontahv »

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
Sirius
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
MOULa KI#: 0
Location: France

Re: DSpans: UVWMaps

Post by Sirius »

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.
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: DSpans: UVWMaps

Post by diafero »

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
User avatar
Sirius
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
MOULa KI#: 0
Location: France

Re: DSpans: UVWMaps

Post by Sirius »

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 !
Post Reply

Return to “Plasma Development”