POV-Ray : Newsgroups : povray.programming : qtpov Server Time
7 Nov 2026 22:01:38 EST (-0500)
  qtpov (Message 11 to 27 of 27)  
<<< Previous 10 Messages Goto Initial 27 Messages
From: Thorsten Froehlich
Subject: Re: qtpov
Date: 13 Nov 2017 01:15:01
Message: <web.5a09374e604192e5fcfeeda0@news.povray.org>
dick balaska <dic### [at] buckosoftcom> wrote:
> One thing about vfe/POVMS, is that file I/O happens in both the frontend
> and backend. This currently limits the networking to localhost.

The code to handle this exchange file location information via POVMS is already
in 3.7. There just happens to be no code to actually transfer files over a
network.

Thorsten


Post a reply to this message

From: Mr
Subject: Re: qtpov
Date: 20 Nov 2017 10:15:01
Message: <web.5a12f0af604192e16086ed00@news.povray.org>
dick balaska <dic### [at] buckosoftcom> wrote:

> BTW, this is the colored editor:
> http://www.buckosoft.com/qtpov/
>
> --
> dik



The syntax being configurable is cool !
I don't know if you had a look, we kind of had lots of trial and errors to get
to a satisfying look for our Blender POV syntax highlight, so feel free to skim
throught the groups of words for ones you want or might have forgotten (of
course if you see some we missed I hope you'll tell us as well ;-))

https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/space_text/text_format_pov.c

Our INI support is slightly less fine grained:
https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/space_text/text_format_pov_ini.c


Post a reply to this message

From: dick balaska
Subject: Re: qtpov
Date: 21 Nov 2017 05:18:36
Message: <5a13fd7c$1@news.povray.org>
et voilà

qtpov caught in mid-render.

http://www.buckosoft.com/qtpov/g/qtpovRenderInProgress.png

Two weird things, one in povray, one in qt.
1) povray frontend loses the vfeSession::MessageType info somewhere 
before it hits the vfe. I see mDivider, everything else (mDebug, mError) 
is mUnclassified. Line and Col are always 0, too.  I'll figure out what 
I'm doing wrong.
2) qt loses/ignores the last paint event when drawing a rendering image. 
If I wiggle with size bar, all of the data shows up. Um...

-- 
dik


Post a reply to this message

From: dick balaska
Subject: Re: qtpov
Date: 26 Nov 2017 23:06:50
Message: <5a1b8f5a$1@news.povray.org>
I have a qtpov-0.0.1 release (Linux only).
http://www.buckosoft.com/qtpov/

It's very primitive, but it has some bells and whistles.
http://www.buckosoft.com/qtpov/g/qtpovRenderInProgress.png

I have one bummer: When I throw a "render several frames at .5 seconds 
per frame" command at it, the bit that scales the in-progress image into 
the window is *slow*, and drags the event queue to a crawl. There's too 
many redraw events [1]. :(

There is a compiled binary package available. I have run it on 3 
different Ubuntu 16 boxes, but that's not much of a test, because they 
are all Ubuntu 16. The qtpov program runs on Ubuntu 14 (with the 
included .so files) but povrayws tips over on bad system libraries. It's 
best to build povrayws yourself.

--
dik

[1] So I start a render of 10 frames. The UI locks up as it furiously 
renders and displays the 10 frames. Around frame 5 I press "Cancel", 
which is the same button as "Render". It finishes the frames, sees the 
event on the button, which is now back to "Render" (because the job is 
done) and restarts the render job. argh.


Post a reply to this message

From: dick balaska
Subject: Re: qtpov
Date: 30 Nov 2017 04:53:31
Message: <5a1fd51b$1@news.povray.org>
Am 2017-10-25 09:22, also sprach dick balaska:
> I started on qtpov.

Runs on Windows 8.
http://www.buckosoft.com/qtpov/g/qtpovWindowsRendering.png


-- 
dik


Post a reply to this message

From: clipka
Subject: Re: qtpov
Date: 30 Nov 2017 07:09:42
Message: <5a1ff506$1@news.povray.org>
Am 30.11.2017 um 10:53 schrieb dick balaska:
> Am 2017-10-25 09:22, also sprach dick balaska:
>> I started on qtpov.
> 
> Runs on Windows 8.
> http://www.buckosoft.com/qtpov/g/qtpovWindowsRendering.png

Love to hear that :)

I really need to have a closer look at what you're doing and how you're
doing it... as soon as I find the time.

What tools are needed to build the Windows binaries?


Post a reply to this message

From: dick balaska
Subject: Re: qtpov
Date: 30 Nov 2017 15:29:22
Message: <5a206a22$1@news.povray.org>
Am 2017-11-30 07:09, also sprach clipka:
> Am 30.11.2017 um 10:53 schrieb dick balaska:
>> Am 2017-10-25 09:22, also sprach dick balaska:
>>> I started on qtpov.
>>
>> Runs on Windows 8.
>> http://www.buckosoft.com/qtpov/g/qtpovWindowsRendering.png
> 
> Love to hear that :)
> 
> I really need to have a closer look at what you're doing and how you're
> doing it... as soon as I find the time.
> 
> What tools are needed to build the Windows binaries?
> 
vs2015 for povwebsockets.exe and Qt5 for qtpov.
I'll write it up.
Weird, I put together a Windows Qt package for bsAniPic
( http://www.buckosoft.com/bsAniPic/ )
but I can't say the right magic words for qtpov. :) :(

As I've said, I am treating this as a learning exercise. I am getting 
into the whole vfe structure, so when it comes time to move to ./qt I'll 
already have experience and should make better choices, because it will 
be my second vfe.

qtpov works by launching and persisting a single instance of povray and 
then creating a new vfeSession for each render. This is the pvengine 
technique.  I noticed that Unix, I seem to leak about 70MB per render, 
and I bet myself that Windows would not leak, being that pvengine 
doesn't leak, and it doesn't.  So, that's a thing. (or, "top" lies. I 
haven't run valgrind or anything on it yet.)

-- 
dik


Post a reply to this message

From: clipka
Subject: Re: qtpov
Date: 30 Nov 2017 16:08:57
Message: <5a207369$1@news.povray.org>
Am 30.11.2017 um 21:29 schrieb dick balaska:

>> What tools are needed to build the Windows binaries?
>>
> vs2015 for povwebsockets.exe and Qt5 for qtpov.

What version of Qt is that exactly?

The service we're using for automated build tests (and also automated
development builds) provides environments with VS2015 and various
versions of Qt5 starting from Qt 5.3 (currently 5.3, 5.4, 5.5, 5.6.2,
5.7.1, 5.8.0 and 5.9.2).


Post a reply to this message

From: dick balaska
Subject: Re: qtpov
Date: 30 Nov 2017 16:26:23
Message: <5a20777f$1@news.povray.org>
Am 2017-11-30 16:08, also sprach clipka:
> Am 30.11.2017 um 21:29 schrieb dick balaska:
> 
>>> What tools are needed to build the Windows binaries?
>>>
>> vs2015 for povwebsockets.exe and Qt5 for qtpov.
> 
> What version of Qt is that exactly?
> 
I'm using 5.9.? on Linux (latest as of a month ago) and 5.8.0 on 
Windows, because I already had it installed.
The only non Qt-4.8 feature I'm aware that I used is the close boxes in 
the tabwidget, so I believe any 5.x version should work.

-- 
dik


Post a reply to this message

From: dick balaska
Subject: qtpov 0.1
Date: 5 Dec 2017 17:42:30
Message: <5a2720d6$1@news.povray.org>
To celebrate that I am working on my animation with qtpov, I have 
released version 0.1 on Windows and Linux (I am using the Linux edition).
http://www.buckosoft.com/qtpov/

Sure, there's still lots to do, but it works well.
I am to the point where I need to track my todo list; hi bugzilla.
http://www.buckosoft.com/qtpov/bugzilla

(clipka will be particularly interested in bug #2. ;)
http://www.buckosoft.com/qtpov/bugzilla/show_bug.cgi?id=2 )

The big feature in this release is navigable SDL errors.
http://www.buckosoft.com/qtpov/errors/

and you can set filters on the povray console and the resource/filelist 
tree.

There is most of a Find/Replace system in place. (Find-in-Files and 
replace aren't done).

--
dik


Post a reply to this message

From: dick balaska
Subject: Re: qtpov 0.2
Date: 13 Dec 2017 22:17:03
Message: <5a31ed2f$1@news.povray.org>
qtpov-0.2
http://www.buckosoft.com/qtpov/

Finish Find / Find in Files / Replace.
http://www.buckosoft.com/qtpov/find/

Adds a bookmark system.
http://www.buckosoft.com/qtpov/bookmarks/

Configurable shortcuts/hotkeys.
http://www.buckosoft.com/qtpov/configure/keys.php

--
dik


Post a reply to this message

From: dick balaska
Subject: Re: qtpov 0.2
Date: 13 Dec 2017 22:20:25
Message: <5a31edf9$1@news.povray.org>
On 12/13/2017 10:17 PM, dick balaska wrote:
> qtpov-0.2

I like this picture
http://www.buckosoft.com/qtpov/g/qtpovRenderViewUndocked.png

-- 
dik


Post a reply to this message

From: clipka
Subject: Re: qtpov 0.2
Date: 14 Dec 2017 01:19:38
Message: <5a3217fa$1@news.povray.org>
Am 14.12.2017 um 04:17 schrieb dick balaska:

> Adds a bookmark system.
> http://www.buckosoft.com/qtpov/bookmarks/

Bookmarks are cool.
Do they stick around when you close and re-open a file?


> Configurable shortcuts/hotkeys.
> http://www.buckosoft.com/qtpov/configure/keys.php

While configurable keys are good, the example you're showing already
highlights the drawbacks of the approach you (and too many other pieces
of software) are using: Why force users to choose between F3 and Ctrl+K
for the "Move to next find" function, when you could assign the function
to /both/ keys?

(And no, computer games' half-assed approach of providing /two/ key
bindings per function doesn't nail it. I'd love to see a genuine 1:N
mapping, as supported e.g. by Microsoft Word. Don't tell me Microsoft
can create better UIs than you ;))


Post a reply to this message

From: dick balaska
Subject: Re: qtpov 0.2
Date: 14 Dec 2017 04:12:24
Message: <5a324078$1@news.povray.org>
On 12/14/2017 01:19 AM, clipka wrote:
> Am 14.12.2017 um 04:17 schrieb dick balaska:
> 
>> Adds a bookmark system.
>> http://www.buckosoft.com/qtpov/bookmarks/
> 
> Bookmarks are cool.
> Do they stick around when you close and re-open a file?

But of course! My goal is, exit and restart and you are exactly in the 
state you left it.
The part I think is cool is it remembers the docking state and size of 
all of the windows/widgets.

Eclipse's bookmarks can get confused about the line they live on. I 
always gave them a pass on that. But after writing it, it's like a 
single 4 variable formula!
     if (bmLine > cursorLine)
         bmLine += newLineCount-oldLineCount;

> 
> 
>> Configurable shortcuts/hotkeys.
>> http://www.buckosoft.com/qtpov/configure/keys.php
> 

> I'd love to see a genuine 1:N
> mapping, as supported e.g. by Microsoft Word.

I can create M shortcuts/keys and connect them to N functions.

At first I was thinking I need to see an example of a configuration UI. 
But I got something...

> Don't tell me Microsoft
> can create better UIs than you ;))

How dare you, sir!

I was gonna say, "Well, my goal is to make it work first, and then 
polish it".  but instead I'll go with

Sir! How dare you?

Now I have to do this stupid thing that only half interests me, when I 
would much rather select a block of text and type Ctrl-/ to comment it 
out.  (Or select text and type Tab and have it indent instead of 
replacing the selection with a tab. That's irksome... Stupid program.)

And for Ctrl-/ it made me realize; I never use the menus for 
Copy/Paste/Shift. But I do use the menus to see what features an editor 
supports and what hotkey it is. So I need to add a menu for 
Cut/Copy/Paste. Frowny face because I have to control it (Paste is 
dimmed if the buffer is empty.)


--
dik


Post a reply to this message

From: clipka
Subject: Re: qtpov 0.2
Date: 14 Dec 2017 06:07:21
Message: <5a325b69$1@news.povray.org>
Am 14.12.2017 um 10:12 schrieb dick balaska:

> I was gonna say, "Well, my goal is to make it work first, and then
> polish it".  but instead I'll go with
> 
> Sir! How dare you?
> 
> Now I have to do this stupid thing that only half interests me, when I
> would much rather select a block of text and type Ctrl-/ to comment it
> out.  (Or select text and type Tab and have it indent instead of
> replacing the selection with a tab. That's irksome... Stupid program.)

So long as you have a UI for a more sophisticated mapping firmly on the
radar, and are just keeping things simple for the beginning, I'm happy.


Post a reply to this message

From: dick balaska
Subject: qtpov 0.3
Date: 22 Dec 2017 12:04:25
Message: <5a3d3b19$1@news.povray.org>
qtpov 0.3 for Ubuntu 16 and Windows
http://www.buckosoft.com/qtpov/

Insert Menu - with token substitution
http://www.buckosoft.com/qtpov/insertText/

Advanced editing - indent/unindent blocks, toggle comments

Lots of menus (that do the same thing as the keys)

A stupid tutorial describing the minimum clicking and typing to get from 
download to a rendered file.
http://www.buckosoft.com/qtpov/tutorial/

--
dik


Post a reply to this message

From: dick balaska
Subject: Re: qtpov
Date: 31 Dec 2017 17:57:40
Message: <5a496b64$1@news.povray.org>
I needed a color_map.  Rather than spend 2 minutes typing
	color_map{[0 color rgb<1.0000, 0.0000, 0.0000>]
	          [1 color rgb<0.0000, 1.0000, 0.0000>]

instead I spent several days writing a colormap editor. :)
http://www.buckosoft.com/qtpov/colormapEditor/


-- 
dik
Rendered 344576 of 345600 pixels (99%)


Post a reply to this message

<<< Previous 10 Messages Goto Initial 27 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.