HomefieldOfView | SPi-V dev

Navigation

user

FIXED: error when using 'text' as alpha in layer

Aldo,

I tried to use CDATA description.

Here is a part of my code:

<panoelement id="panometr" type="flat" pan="-176" tilt="-4" hfov="20" 
voffset="-10" hoffset="0" blend="0" zorder="6">
<image id="panometr-title">
<layer class="press" type="bitmap" src="file.jpg" alphatype="text">
<![CDATA[ My message aaaaaaaaaaaaa]]>
</layer>
</image>
</panoelement>

according to this:
http://www.fieldofview.com/spv-dev/docs/nodes/layer

There must be sth wrong with this part:

<layer class="press" type="bitmap" src="file.jpg" alphatype="text">
<![CDATA[ My message aaaaaaaaaaaaa]]>
</layer>

My file file.jpg is normal jpg 351x51.
Are there any restrictions for this file.jpg?

In SPi-V.exe + Spi-V.dcr (1.4.1) I have this error:
http://www.panometr.com/aldo/cdata_error.jpg

Do you have an idea what could it be?

Karol

Re: CDATA

It looks like a bug on my behalf. I guess I have not really tested using an image for rgb and a text for the alpha.
As always, a link works better than posting code if you want this fixed...

Re: CDATA

Link for you:
http://www.panometr.com/aldo/cdata_error.zip (0.3MB)

I want to have an effect to have decription (created with CDATA) and many hitareas based on an images (for example: hs_ptm_0_mask.gif)

Karol

Re: CDATA

Identified and fixed the bug. Thanks. You'll have to wait untill the next release though...

I have no idea what you're trying to do. Sounds intriguing.

Re: CDATA

Ok, thank you.
I will post a link to my example when new release will appear. ;-)
Karol