POV-Ray : Newsgroups : povray.programming : povmodeler Server Time
21 Dec 2024 07:34:39 EST (-0500)
  povmodeler (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: eticre
Subject: povmodeler
Date: 3 Dec 2018 17:25:00
Message: <web.5c05ac0068e3c02c37e6c5840@news.povray.org>
hello everyone

I just finished a review of kpovmodeler
I removed all kde dependency
if anyone wants test...


git clone https://github.com/eticre/povmodeler.git
cd povmodeler
mkdir build
cd build
cmake ../
make -j4
make install
~/.local/share/povmodeler/povmodeler

tested on archlinux

all files installed are in ~/.local/share/povmodeler


Post a reply to this message

From: jr
Subject: Re: povmodeler
Date: 4 Dec 2018 06:45:00
Message: <web.5c066815f7e9e652e43b71790@news.povray.org>
hi,

"eticre" <eti### [at] tinit> wrote:
> hello everyone
>
> I just finished a review of kpovmodeler
> I removed all kde dependency
> if anyone wants test...

first off, thank you.  a modelling s/ware is high on my wish list.

> git clone https://github.com/eticre/povmodeler.git
> cd povmodeler
> mkdir build
> cd build
> cmake ../
> make -j4
> make install
> ~/.local/share/povmodeler/povmodeler
>
> tested on archlinux
>
> all files installed are in ~/.local/share/povmodeler

I get an error due, it seems, to the name of one library.
since I don't know CMake well enough, I've no idea why it
finds the correct library (libGL) but then tries to link
against a different one (libOpenGL).  any ideas?

jr@crow:23:b$ cmake ../povmodeler/
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.5.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/B/b
jr@crow:24:b$ make -j2
  ...
[100%] Built target povmodelerpart
[100%] Building CXX object CMakeFiles/povmodeler.dir/povmodeler_automoc.cpp.o
Linking CXX executable povmodeler
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld:
cannot find -lOpenGL
collect2: error: ld returned 1 exit status
make[2]: *** [povmodeler] Error 1
make[1]: *** [CMakeFiles/povmodeler.dir/all] Error 2
make: *** [all] Error 2


regards, jr.


Post a reply to this message

From: jr
Subject: Re: povmodeler
Date: 4 Dec 2018 11:30:05
Message: <web.5c06aaf2f7e9e652e43b71790@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> I get an error due, it seems, to the name of one library.

solved, in a hack-ish way.  there is a file 'link.txt' which controls the
linking, and removing the redundant '-lOPenGL' switch does it.

running into other problems though, one of which is opening one of the example
scenes ("media1.kpm") results in an error dialog "Could not load the document's
data".  the other is .. copious, mostly warnings, output during execution:

jr@crow:6:povmodeler$ ./povmodeler
QCommandLineParser: option not defined: "-dri"
QObject::connect: No such signal QMenu::activated(int)
Serialization method for  "Light"  shadows old implementation
Serialization method for  "GlobalSettings"  shadows old implementation
Serialization method for  "Interior"  shadows old implementation
Serialization method for  "Pattern"  shadows old implementation
Serialization method for  "Normal"  shadows old implementation
Serialization method for  "Warp"  shadows old implementation
Serialization method for  "Finish"  shadows old implementation
Serialization method for  "Media"  shadows old implementation
Serialization method for  "GraphicalObject"  shadows old implementation
Serialization method for  "Pigment"  shadows old implementation
Serialization method for  "Texture"  shadows old implementation
Serialization method for  "BicubicPatch"  shadows old implementation
Serialization method for  "Triangle"  shadows old implementation

QObject::connect: No such signal QWidgetAction::valueChanged(int)
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
PMSPhere::setUSteps: U must be greater than 1
PMSphere::setVSteps: V must be greater than 3
PMCylinder::setSteps: S must be greater than 3
PMCone::setSteps: S must be greater than 4
PMTorus::setUSteps: U must be greater than 1
PMTorus::setVSteps: V must be greater than 3
PMLathe::setSSteps: S must be greater than 0
PMLathe::setRSteps: R must be greater than 3
PMSurfaceOfRevolution::setSSteps: S must be greater than 0
PMSurfaceOfRevolution::setRSteps: R must be greater than 3
PMPrism::setSSteps: S must be greater than 0
PMPlane::setPlaneSize: Size must be greater than 0.1
PMDisc::setSteps: S must be greater than 3
PMBlobSphere::setUSteps: U must be greater than 1
PMBlobSphere::setVSteps: V must be greater than 3
PMBlobCylinder::setUSteps: U must be greater than 1
PMBlobCylinder::setVSteps: V must be greater than 3
PMSuperquadricEllipsoid::setUSteps: U must be greater than 1
PMSuperquadricEllipsoid::setVSteps: V must be greater than 1
PMSphereSweep::setRSteps: R must be greater than 3
PMSphereSweep::setSSteps: S must be greater than 0
PMHeightField::setVariance: V must be less than 52 & greater than 0

Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
pmshell desctructor
pmshell01
dockmainwindow desctructor


that's linked against qt5.

regards, jr.


Post a reply to this message

From: eticre
Subject: Re: povmodeler
Date: 4 Dec 2018 16:00:01
Message: <web.5c06e9bef7e9e65237e6c5840@news.povray.org>
ops!
..kpm files in kpovmodeler are archive compressed

git repo is now updatete with .kpm plain text file

I removed karchive from project but qt5 has nothing like it


Post a reply to this message

From: Ton
Subject: Re: povmodeler
Date: 4 Dec 2018 20:05:00
Message: <web.5c07235ff7e9e652342a9dca0@news.povray.org>
"eticre" <eti### [at] tinit> wrote:
> ops!
> ..kpm files in kpovmodeler are archive compressed
>
> git repo is now updatete with .kpm plain text file
>
> I removed karchive from project but qt5 has nothing like it

Hi eticre,

congratulations on porting kpovmodeler to QT5. I tried, but my knowledge was not
enough to get it all going.
karchive is part of KDE Frameworks 5, and should be available
(https://api.kde.org/frameworks/karchive/html/index.html).

In my compiled version of povmodeler, after fixing the opengl library issue, I
don't see the statusbar.

Cheers
Ton.


Post a reply to this message

From: jr
Subject: Re: povmodeler
Date: 4 Dec 2018 20:15:01
Message: <web.5c072486f7e9e652e43b71790@news.povray.org>
hi,

"eticre" <eti### [at] tinit> wrote:
> ops!
> ..kpm files in kpovmodeler are archive compressed

thanks, that helped.  "gzip".

not a problem but curious: in preferences, the combo box (under povray
documentation) only provides for POV-Ray version 3.1 or 3.5 selection.  why
those two versions?  and, what does it select?


regards, jr.


Post a reply to this message

From: dick balaska
Subject: Re: povmodeler
Date: 4 Dec 2018 23:32:57
Message: <5c0754f9$1@news.povray.org>
On 12/3/18 5:19 PM, eticre wrote:
> hello everyone

I got it built and running.  I can't get it to look anything like this
http://web.archive.org/web/20120204081159/http://www.kpovmodeler.org/index.php?option=com_content&view=category&layout=blog&id=2&Itemid=5&lang=en

but the treeview looks cool, as long as I don't touch show/hide.


-- 
dik
Rendered 1024 of 921600 pixels (0%)


Post a reply to this message

From: eticre
Subject: Re: povmodeler
Date: 5 Dec 2018 16:50:01
Message: <web.5c084738f7e9e65237e6c5840@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "eticre" <eti### [at] tinit> wrote:
> > ops!
> > ..kpm files in kpovmodeler are archive compressed
>
> thanks, that helped.  "gzip".
>
> not a problem but curious: in preferences, the combo box (under povray
> documentation) only provides for POV-Ray version 3.1 or 3.5 selection.  why
> those two versions?  and, what does it select?
>
>
> regards, jr.

ignore it should be removed
is an obsolete class created for compatibility
now I inserted RAW containing "#version 3.7;" in first position of the scene


Post a reply to this message

From: eticre
Subject: Re: povmodeler
Date: 5 Dec 2018 17:20:00
Message: <web.5c084d99f7e9e65237e6c5840@news.povray.org>
"Ton" <ton### [at] gmailcom> wrote:
> "eticre" <eti### [at] tinit> wrote:
> > ops!
> > ..kpm files in kpovmodeler are archive compressed
> >
> > git repo is now updatete with .kpm plain text file
> >
> > I removed karchive from project but qt5 has nothing like it
>
> Hi eticre,
>
> congratulations on porting kpovmodeler to QT5. I tried, but my knowledge was not
> enough to get it all going.
> karchive is part of KDE Frameworks 5, and should be available
> (https://api.kde.org/frameworks/karchive/html/index.html).
>
> In my compiled version of povmodeler, after fixing the opengl library issue, I
> don't see the statusbar.
>
> Cheers
> Ton.

I removed all kde deps from povmodeler, now the only dependencies are Qt
missed (K)statusbar is under investigation

If anyone need my last kpovmodeler code for kf5/plasma5/qt5 I can upload it in
git


Post a reply to this message

From: eticre
Subject: Re: povmodeler
Date: 5 Dec 2018 17:30:01
Message: <web.5c085115f7e9e65237e6c5840@news.povray.org>
dick balaska <dic### [at] buckosoftcom> wrote:
> On 12/3/18 5:19 PM, eticre wrote:
> > hello everyone
>
> I got it built and running.  I can't get it to look anything like this
>
http://web.archive.org/web/20120204081159/http://www.kpovmodeler.org/index.php?option=com_content&view=category&layou
t=blog&id=2&Itemid=5&lang=en
>
> but the treeview looks cool, as long as I don't touch show/hide.
>
>
> --
> dik
> Rendered 1024 of 921600 pixels (0%)

in the image the "Insert" menu is replicated in a toolbar and all povray object
are visible
in my personal this is only waste space

however I am reprogramming the toolbar in qt


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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