Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
That's also related to the layout problems mentioned a few posts above.
There will be a new krpano release in the next hours where this will be fixed.
That's also related to the layout problems mentioned a few posts above.when renderer is webgl wordwrap can not work
There will be a new krpano release in the next hours where this will be fixed.
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<layer name="mytext"
type="text"
align="lefttop" x="10" y="10"
width="100"
html="Text...Text...Text...Text...Text...Text...Text..."
css="font-family:Arial; font-size:16px; color:#000000;"
vcenter="false"
padding="2"
wordwrap="true"
bg="true"
bgcolor="0xFFFFFF"
bgalpha="1.0"
bgborder="0"
bgroundedge="0"
bgshadow=""
txtshadow=""
mergedalpha="true"
interactivecontent="false"
onautosized=""
/>
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »tmhok« (11. Mai 2017, 09:12)
Quoted from "mata"
I downloaded linux version and extracted files, the tools are changed to js implement.
Is there still command line interface of linux tools? ( depend on node.js ?)
Sorry, but I'm not sure what you mean, nothing had been changed here - the command line tools are still available for all platforms.
That's not a bug - only 'word'-wrapping is possible, but no hyphenation or breaking within one word. That means a line can only break on white-spaces, but not within a word. And your text is basically one long word, try putting spaces between the texts and it will automatically line break.pr10 also can not wrap when renderer is webgl
...
html="Text...Text...Text...Text...Text...Text...Text..."
...
|
|
Quellcode |
1 |
css="...; word-break:break-all;" |
Hi,
That's not a bug - only 'word'-wrapping is possible, but no hyphenation or breaking within one word. That means a line can only break on white-spaces, but not within a word. And your text is basically one long word, try putting spaces between the texts and it will automatically line break.pr10 also can not wrap when renderer is webgl
...
html="Text...Text...Text...Text...Text...Text...Text..."
...
But if you want breaking of the word itself, it would be possible to add the 'word-break:break-all' css style, e.g.:
but that would only work for layers, the webgl textfield hotspots don't support that functionality.
![]()
Quellcode
1 css="...; word-break:break-all;"
Best regards,
Klaus
layer is fine,but hotspot still |
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<hotspot name="mytext2"
type="text"
ath="0" atv="0"
width="200"
html="我非常爱你我非常爱你我非常爱你我非常爱你我非常爱你我非常爱你我非常爱"
css="font-family:Arial; font-size:16px; color:#000000;"
vcenter="true"
padding="50"
wordwrap="true"
bg="true"
bgcolor="0xFFFFFF"
bgalpha="1.0"
bgborder="0"
bgroundedge="0"
bgshadow=""
txtshadow=""
mergedalpha="false"
interactivecontent="false"
onautosized=""
/>
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »tmhok« (11. Mai 2017, 10:31)
Hmm... as written for the WebGL textfield everything needs to be processed (coded) manually. So to be able to support that, I would need to implement a special word-breaking for Chinese (or other languages), but I have no language knowledge about that and a language specific processing would be a bit out of scale...OH,no white-spaces between Chinese characters
Hmm... as written for the WebGL textfield everything needs to be processed (coded) manually. So to be able to support that, I would need to implement a special word-breaking for Chinese (or other languages), but I have no language knowledge about that and a language specific processing would be a bit out of scale...OH,no white-spaces between Chinese characters
I could only image maybe adding a feature for a 'character-wise' breaking (like the css 'word-break:break-all' setting), that means allow breaking after each character (although that might be slow to process because every character need to measured separately), but then I still don't know if that would be okay for the particular language...
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comHi,
Quoted from "jeromebg"
One more thing, is it possible not to cut text when using textfield as a hotspot and setting a width & height ?
That would be possible by disabling the wordwrap setting;
https://krpano.com/plugins/textfield/#wordwrap
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »indexofrefraction« (13. Mai 2017, 18:29)
The reason is new WebGL textfield support - as written there everything needs to be done and coded manually - so too the rendering of the rounded background shape - and there I haven't implemented yet the limitation of too large rounded edge values (a tricky part). But that's already on my list and will be there in next releases.found that when the 'roundedge' of textfields is larger then 50% of the height we get a 'funny effect.
It was not like that.
Can you change that behaviour back? so that it when the value is too big it does not 'funny'.
Or does it has another reason?
There was no change here!i'm merging to 1.19pr10 and noticed,
that when you build a panotour
there are plugins missing in the builds:
snow, showtext, radar, options, moretweentypes, gyro, fps, editor, compass and combobox
are missing if you use the make pano scripts.
i copied them from the templates folder,
but i suspect it was not intended to be like that... (?)
Yes, I've removed that droplet for the moment because there is no HTML5 support yet.MAKE OBJECT droplet.bat is missing too since 1.19 pr9, is there a html5 version on it's way ?
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comOnly <hotspot> text elements itself are supported for WebGL now, but no <layer> elements attached to a hotspot.So maybe I'm mixing some stuff up here but I'm still not able to use text together with our VR panoramas - I'm trying to show a cursor + text in VR - however it is not showing anything (no cursor, no text) as soon as I try to add a text layer (linked to parent).
Sorry, a stupid bug from me - I have first added the autoleveling support to the makepano tool and tested it there successfully of course - and than later autoleveling was quickly added also to the sphere-to-cube tool (enabled there by default) - and because the makepano tool is internally also using the sphere-to-cube tool, it's now the default-enabled-autoleveling from the sphere-to-cube tool which is doing the leveling here...VERY ANNOYING : AUTOLEVEL=OFF in basicsettings.config still REMAP RICOH IMAGES!!!
That's 'to north' all the images. The Ricoh EXIF information provide roll, pitch and heading all these will be used for the leveling.emap option is great for Ricoh, but why it automatically involve changing image horizontal offset? i mean it doesn't level the image only, it also shift it horizontally
There is also a small bug here - the prealign with the heading information only should be normally only applied when the image was not remapped and not prealigned by the leveling. That will be also fixed in the next release.question regarding parsegps, why does it involve y position only in prealign?
Okay, added to todo-list.what if we want to level but don't want to "north" the image? can you make an option for this?
Set cspreview to false:
Zitat
is there a way to generate equirectangular preview and not cubestripe?