You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, April 12th 2010, 9:50am

KRCE - Krpano code editor

Hi!
Some weeks ago I have made a krpano code editor for myself, but I think it can be good for other people too.


I have concentrated on to make a tool that help me to easier manage with many scenes and quicker writing the code.
The main part is code editor with help database and code completion database for quickly inserting the code parts.
There is also picture croping module that allows quickly crop a part from image, save it as image and thumnibal of this image and write as plugin (using a pattern) to the code editor.
And some other tricks...

So, I have question. ;-) Can it be worth of about 40 bucks for you?
If you are interesting in such a program, let me know that here, ok?

Best Regards
Greg

climber5

Beginner

Posts: 13

Location: Zürich

  • Send private message

2

Monday, April 12th 2010, 10:39am

Hi Greg,

The tool looks prety good! But I've some questions:
How are the System requirements? Is the tool running in Java or do you have the tool for Windows, Linux and OS X avaiable?
Is the tool stable, or still in a Beta mode? Could you send us some more details, e.g. do yo have a framework with generic brick arrays to have standard values coded in a fast way? Are there more values available then with the editor plugin?

Thanks for your feedback.

Christoph

3

Monday, April 12th 2010, 11:32am

Hi!

The program works on windows and linux (under wine) and is stable. Naturally I have some ideas to implement yet, like bookmarks for example and so on. I have to write the help for the program, but most features is easy to understand, I hope.

The project tree is based on some insertion lines in the xml code. I have made it in this way so that the user can easy adjust his old xml files to be opened in the editor. It works in this way if you want to use your old krpano xml project:
In the xml file we insert the comment lines like "<!-- [section,Name_in_the_tree,Indent_in_the_tree,Checked,reserved,reserved,] -->", for example:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
<!-- [section,KRPANO,0,x,r,r,] -->
<krpano version="1.0.8" onstart="action(start)">
 <action name="start" >
  loadscene(sc8);
 </action>
<!-- [section,CONTEXTMENU,1,x,r,r,] -->
<contextmenu fullscreen="true">
 <item
  name="item8"
  caption="Fullscreen"
  onclick="switch(fullscreen)"
 />

So, the program parses the file and everything after the section descriptor is taken as text of this section.

Code completion is based on the easy to edit database wchich has its own module in program. Additionally, you can select any portion of text in the editor and press Ctrl+D to add the selected text to code complete database.

Another feature is autonumbering. In any section (for example section with thumbnibals) we insert at the top the line: <!-- *** AUTONUMBERS,start,incrementation, *** -->, and in the code we put #inc# symbol, so that in the process of creating destination xml file the the #inc# will be replaced with the fixed values:

Source code

1
2
3
4
5
6
<!-- *** AUTONUMBERS,5,100, *** -->
<plugin name="thumb1"
  x="#inc#"
<plugin name="thumb2"
  x="#inc#"
/>


gives us:

Source code

1
2
3
4
5
<plugin name="thumb1"
  x="5"
<plugin name="thumb2"
  x="105"
/>


What I have implemented for now is internal browser module with programable quick acces links, internal any file's editor, quick finding of any word in all section (for example you select the name of plugin to find where you use it in the code).





Regards
Greg

iceman_fx

Professional

Posts: 598

Location: Sachsen

Occupation: Webdesigner- und entwickler sowie Fotodesigner

  • Send private message

4

Monday, April 12th 2010, 2:48pm

Hello greg,

do you have a testversion for download?
VG vom iceman

www.fotodesign360.de / www.falkomueller.com
_____________________________________________________________________________________________________________________
Sende eCards direkt aus Deinem Panorama. Send eCards from your panorama.
The eCard-Plugin for krpano >> http://ecardplugin.falkomueller.com

5

Monday, April 12th 2010, 10:02pm

Hi!

I have prepared a fully functional version, except saving the project possibility.
The program is here: krce
Unpack the KRCE folder and run the krce.exe file.

What must be done is the help, but for quick start I write it here ;-) :

1. Create new project (the text of project will be copied from pattern file which is "main folder\!patterns\pat-newproject.krce").
2. Or open the existed "testproject.krce". The projects are the xml files, the same like other except they have some lines which divide that file to sections. So you can rename (or even better copy it) your krpano xml file to *.krce file, and insert some lines like "<!-- [section,KRPANO,0,x,r,r] -->" to divide the file. And then open it in the program.
3. Write some code to test.
4. To generate the destination xml file press the "Create XML" button. You will be asked for the name of the file. Save it as test.xml.
5. The program will ask for the preview html file. Open the test.html file.
6. Try other buttons, try the functions hidden under right mouse button, and so on.

Ask me then more here... ;-)

Regards
Greg

VN2009

Professional

Posts: 1,334

Location: Duluth MN

  • Send private message

6

Tuesday, April 13th 2010, 3:30pm

very interesting i will check this out tonight! thanks for your hard work.

7

Saturday, April 17th 2010, 1:35pm

looks good . like the help index

VN2009

Professional

Posts: 1,334

Location: Duluth MN

  • Send private message

8

Thursday, May 20th 2010, 4:01am

man i tried to use this and I jsut cannot figure it out. i lvoe the help index and code examples but i just cant get the workflow. wish i could

9

Saturday, June 12th 2010, 1:32am

Does this software have a way to click to place a hotspot? I have taken a second look today and have discovered a few tricks that I could not figure out previously regarding the code stored on the right hand side of the app. How do you get the pano image below the coding window in the example above?

This post has been edited 1 times, last edit by "Jarredja" (Jun 12th 2010, 7:32pm)


autiomaa

Beginner

Posts: 36

Location: Finland

Occupation: Photographer, Retoucher, Web Developer

  • Send private message

10

Saturday, June 12th 2010, 11:32pm

Looks very interesting but one thing that limits ability to use it is that all of the computers we use at work to do projects with krpano are running OS X and there's just no chance that we would switch to Windows. If cross-platform version of KRCE would be developed (maybe with something like Qt UI library?), it surely wouldn't big cost of paying 40 euros for the software if it helps to save good amount of time.

It would be also interesting to have some kind of extended debugger that would help if there are problems in XML files or actions (I know that code completion helps much but there should be bit more besides XML syntax checking).

11

Sunday, June 13th 2010, 10:03am

Hi!

After some weeks I see there is no interesting in such program, so I will not develop this program. ;-)
I think most of users don't make big amount of complicated virtual tours, and simple text editor is enough for them to manage with the code.

Greetings
Greg

12

Sunday, June 13th 2010, 9:00pm

Greg,
I think if you could look at making your code editor integrate/co-operate with the Autopano Tour GUI font-end (for krpano) then you might find there would be considerable interest.

http://www.autopano.net/en/photo-stitchi…opano-tour.html

Andrew

VN2009

Professional

Posts: 1,334

Location: Duluth MN

  • Send private message

13

Monday, June 14th 2010, 2:08am

Bazuki I tried to use it but could not figure it out. Directions or examples screen shots mght help.

14

Monday, June 14th 2010, 5:03am

Pretty sure this is not the most efficient way, but here is what I did to try it out.

I took a tour I already had and pasted the entire tour (xml, .swf, html, plugins, tiles, etc ) into the folder
krce/!sys

Then I renamed the html to be blank.html replacing the one in the folder.

Take your starting xml and rename it to end with .krce instead of xml. Also add the line

<!-- [section,KRPANO,0,x,r,r] -->

above the <krpano> in your xml

You can add more dividers if you wish, or if you start with an xml with only the image files and you can add the dividers as you see fit while adding code.

Click open and locate
your starting xml.krce

I noticed this program leans toward scenes but works equally well with separate xml's if you use it right.

----

As for the code on the right, you can start typing something like "hot" as if to type hotspot. There is a section that does autofill that you arrow down and click enter to select. You can reprogram as you see fit or you can view the code on the right. To copy the code on right, select what you wish to copy by highlighting it and then rightclick in the CODING BOX and select "copy selected help text"

I am sure I am missing several features and there is a lot that you would want customized for your use, but overall it seems to have promise.

As a suggestion to anyone trying the software, I would add the cursorposition.swf and get hotspot coordinates in the pano at the bottom while staring at the code. Perhaps there is already a better way hidden in the program.

I am starting a code library on my own where I am trying to save an xml with each process that I wish to use, so that I don't have to search the forum when there is something I want to try (and can't figure out). This program does that well.

Hopefully this helps others to evaluate the software so that Bazuki will give it another chance.

As far as I can see, it doesn't write the tour for you, but provides good information at your fingertips to help you along.

This post has been edited 1 times, last edit by "Jarredja" (Jun 17th 2010, 12:51am)


autiomaa

Beginner

Posts: 36

Location: Finland

Occupation: Photographer, Retoucher, Web Developer

  • Send private message

15

Thursday, June 17th 2010, 10:47am

KRCE and Hotspots

I think most of users don't make big amount of complicated virtual tours, and simple text editor is enough for them to manage with the code.


Surely, I'm having fun with my own text editor but just have been wanting better way for defining hotspots. Are using actions for moving from place to another so that it's possible to define changes from single file that's included to XML document. Problem is just finding right locations for hotspots fast as possible + being able to have autocomplete of my own Actions so it would be faster to define them. (Depending on the project, might have 10–80 panoramas so it's important to have good way for defining Hotspots for movement as it's currently too slow process to do with text editor.;)

Haven't tested your software yet since I don't have any Windows installations around…

16

Saturday, July 17th 2010, 10:17am

RE: KRCE - Krpano code editor

Hi!
Some weeks ago I have made a krpano code editor for myself, but I think it can be good for other people too.


I have concentrated on to make a tool that help me to easier manage with many scenes and quicker writing the code.
The main part is code editor with help database and code completion database for quickly inserting the code parts.
There is also picture croping module that allows quickly crop a part from image, save it as image and thumnibal of this image and write as plugin (using a pattern) to the code editor.
And some other tricks...

So, I have question. ;-) Can it be worth of about 40 bucks for you?
If you are interesting in such a program, let me know that here, ok?

Best Regards
Greg
Hi Greg,

I think you made a great job here. Most useful is the help index with code examples.
I'm goinng to test it on one project and will let you know my experience.

Best Regards
Michal

Posts: 142

Location: Italy

Occupation: Freelance Fotographer

  • Send private message

17

Wednesday, October 2nd 2013, 11:37am

Is it KRCE alive?

Posts: 142

Location: Italy

Occupation: Freelance Fotographer

  • Send private message

18

Wednesday, October 16th 2013, 12:54pm

no reply = death or KRCE?

19

Thursday, October 17th 2013, 11:15pm

He discontinued it in 2010. See post #11

Posts: 142

Location: Italy

Occupation: Freelance Fotographer

  • Send private message

20

Friday, October 18th 2013, 8:24pm

sorry! *whistling*

Similar threads