POV-Ray : Newsgroups : povray.general : A little help about old vers. Server Time
9 Jun 2025 23:52:38 EDT (-0400)
  A little help about old vers. (Message 46 to 55 of 55)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: jr
Subject: Re: A little help about old vers.
Date: 5 May 2025 06:05:00
Message: <web.68188c62ce24a8bb721a48e56cde94f1@news.povray.org>
hi,

"Maetes" <nomail@nomail> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > ... v3.8 ...

> v3.8 isn't part of the Debian-Rep, manually install is required.
> Would make things more difficult for me.

ok, provided you're "the owner", the attached script may help (tested on a
Debian 12.5).

to use, visit <https://github.com/POV-Ray/povray/tags/>, from there I used:
<https://github.com/POV-Ray/povray/releases/tag/v3.8.0-beta.2>

put the archive and the script in some directory.

the script will need adjusting in line 14, obvs, and line 25 where you provide
your user:group.

when run, it builds and "installs" the beta in a /tmp directory.  check the
results there and "rinse and repeat" until you're happy.  at that point you can
edit line 44 to remove the DESTDIR bit and install for real.

I tend to use the 'script(1)' utility to "record" what happens, ie:
  $ script -c ./povray.DebBuild build-log

hth and will encourage you to "have a go".


regards, jr.


Post a reply to this message


Attachments:
Download 'povray.debbuild.txt' (1 KB)

From: jr
Subject: Re: A little help about old vers.
Date: 5 May 2025 06:15:00
Message: <web.68188e7fce24a8bb721a48e56cde94f1@news.povray.org>
hi,

"GioSeregni" <gms### [at] hotmailcom> wrote:
> ...
> I don't know the povray beta...
> my exe can read STL and DXF that are very different
> In sketchup I use my plugins to write and read DXF


I wrote a simple STL to GNU Triangulated Surfaces ("GTS") converter, only to
find better ones existed already :-).

<https://news.povray.org/web.5e75678e7c21754451952ca0%40news.povray.org>

re GTS.  the Wikipedia article on RapidQ mentions loadable libraries.  if you
can get that added to your installation, you should feel "right at home",
everything's done via callbacks </grin>; fwiw, I've a 'gts2pov' util to convert
to mesh[2].


> To read pov and inc is always conditioned by files written by itself. The PovRay
> syntax is too broad to implement it.

agree.


> It search triangle (or it split quads in DXF), the can to create the meshes
> (smooth or no) using the same colour.
> THe colour is in the face, if the face has not colors it search the his layer
> color. If not it uses a clear gray.
> THere is the arrays sorted by colors, but also (its possible by DXF) the view
> point, the target point, the x, y, z origin, the xyz extensions (bounding box).
> But thereare also pipes (cylinder) open or closes, in DXF are lines or
> polylines, the radius is the declared thickness in dxf.
> And many other things.. torus (by circles) ... the dxf blocks are other
> include..
> light , sunset, storm, subwater are ... etc .. are extracted from keywords by
> the layers used only as flags of the dxf
> The parser has to be a complex exe. And it must be able to reverse...
> Now anyway the car I'm finishing checking the headlights :) it's almost ready

the lights are on, a good start.  :-)


> excuse my bad english, i write without a translator to make quicker

way better than my Italian, I now know _two_ words (grazie and furgone :-))


regards, jr.


Post a reply to this message

From: GioSeregni
Subject: Re: A little help about old vers.
Date: 5 May 2025 18:05:00
Message: <web.68193501ce24a8bb7e2ea33059126100@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "GioSeregni" <gms### [at] hotmailcom> wrote:
> > ...
> > I don't know the povray beta...
> > my exe can read STL and DXF that are very different
> > In sketchup I use my plugins to write and read DXF
>
>
> I wrote a simple STL to GNU Triangulated Surfaces ("GTS") converter, only to
> find better ones existed already :-).
>
> <https://news.povray.org/web.5e75678e7c21754451952ca0%40news.povray.org>
>
> re GTS.  the Wikipedia article on RapidQ mentions loadable libraries.  if you
> can get that added to your installation, you should feel "right at home",
> everything's done via callbacks </grin>; fwiw, I've a 'gts2pov' util to convert
> to mesh[2].
>
>
> > To read pov and inc is always conditioned by files written by itself. The PovRay
> > syntax is too broad to implement it.
>
> agree.
>
>
> > It search triangle (or it split quads in DXF), the can to create the meshes
> > (smooth or no) using the same colour.
> > THe colour is in the face, if the face has not colors it search the his layer
> > color. If not it uses a clear gray.
> > THere is the arrays sorted by colors, but also (its possible by DXF) the view
> > point, the target point, the x, y, z origin, the xyz extensions (bounding box).
> > But thereare also pipes (cylinder) open or closes, in DXF are lines or
> > polylines, the radius is the declared thickness in dxf.
> > And many other things.. torus (by circles) ... the dxf blocks are other
> > include..
> > light , sunset, storm, subwater are ... etc .. are extracted from keywords by
> > the layers used only as flags of the dxf
> > The parser has to be a complex exe. And it must be able to reverse...
> > Now anyway the car I'm finishing checking the headlights :) it's almost ready
>
> the lights are on, a good start.  :-)
>
>
> > excuse my bad english, i write without a translator to make quicker
>
> way better than my Italian, I now know _two_ words (grazie and furgone :-))
>
>
> regards, jr.

Ok! many thanks!
Well, here the 4 files
- main ( turn light on off)
- audi and bike (available many colors)
- Dennis (person)
- png preview
The audi was my first pov car a lot of years ago. Clean and parse using very old
good programs ( Crossroad and the prehistoric Glview)
It's simple but it makes me nostalgic!

NEXT file will be the "facchino" with the separate components
Then, more elaborate cars and persons ...

BR again!
G.


Post a reply to this message


Attachments:
Download 'audi_bike.zip' (375 KB)

From: GioSeregni
Subject: Re: A little help about old vers.
Date: 9 May 2025 09:25:00
Message: <web.681e01e0ce24a8bb7e2ea33059126100@news.povray.org>
> Ok! many thanks!
> Well, here the 4 files
> - main ( turn light on off)
> - audi and bike (available many colors)
> - Dennis (person)
> - png preview
> The audi was my first pov car a lot of years ago. Clean and parse using very old
> good programs ( Crossroad and the prehistoric Glview)
> It's simple but it makes me nostalgic!
>
> NEXT file will be the "facchino" with the separate components
> Then, more elaborate cars and persons ...
>
> BR again!
> G.
I'm still working on separating the parts of the "facchino".
I was smoothing the faces but I don't like it, too high smooth for the clothes.
My classic smooth only works for certain objects.
So I'm developing and adding a low smooth optional feature in my tool.
Test:
On the left, mediated on everything (last attempt, still to be fixed).
In the center, too much smooth, bad.
On the right, the faces without smoothing.
I hope to finish soon!
BR!
G.


Post a reply to this message


Attachments:
Download 'main_facchino.png' (128 KB)

Preview of image 'main_facchino.png'
main_facchino.png


 

From: GioSeregni
Subject: Re: A little help about old vers.
Date: 12 May 2025 07:20:00
Message: <web.6821d878ce24a8bb7e2ea33059126100@news.povray.org>
The new "facchino" is ready!
Now each mesh is separate by color and a change is easy
3 leveles of smooth:
- skin, shoes and hair max level smooth
- jacket and pants low smooth
- pack no smooth
BR!
G.


Post a reply to this message


Attachments:
Download 'facchinonew.zip' (275 KB)

From: jr
Subject: Re: A little help about old vers.
Date: 13 May 2025 14:45:00
Message: <web.68239289ce24a8bb721a48e56cde94f1@news.povray.org>
hi,

"GioSeregni" <gms### [at] hotmailcom> wrote:
> The new "facchino" is ready!
> ...

clothes maketh the man -- literally.  </grin>


regards, jr.


Post a reply to this message


Attachments:
Download 'gs_facchino_skin.png' (50 KB)

Preview of image 'gs_facchino_skin.png'
gs_facchino_skin.png


 

From: GioSeregni
Subject: Re: A little help about old vers.
Date: 14 May 2025 06:00:00
Message: <web.68246967ce24a8bb7e2ea33059126100@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "GioSeregni" <gms### [at] hotmailcom> wrote:
> > The new "facchino" is ready!
> > ...
>
> clothes maketh the man -- literally.  </grin>
>
>
> regards, jr.

LOL

I have to thank for the suggestion about the logical division of the parts.
Now I prepare one of my best cars. I will create a separate mesh for the FRONT
wheel pair. With the origin exactly between the two wheels... so it will be
possible to drive, ha ha

BR

G.


Post a reply to this message

From: GioSeregni
Subject: Re: A little help about old vers.
Date: 8 Jun 2025 22:15:00
Message: <web.684642e1ce24a8bb4a12426659126100@news.povray.org>
Well,
a last post with the last object in this topic too long.
I'll put the new cars and people in a new thread, because I'm really going off
topic.
This car was a test for my tools. I just translated an old SketchUp file
automatically. It was pretty clean, unlike usual skp, I just added the front
license plate and interior mirror because they were missing.
The colors are original and I didn't add any attributes. It's a test.
I thought I might post my tool to go in and out of SketchUp, DXF, and STL soon.
For everyone's safety I will post the source code, with the indication of the
compiler I use. RapidQ. It installs in three minutes, you don't need strange
libraries or anything else and the code of my tool is a single file.
The only problem with the old RapidQ is that it is slow, but the tool is used
for one-off conversions.
I will not post the executable because too many antivirus always report false
positives and I don't like discussions.
I just have to finish the menus also in English (automatic) and the
documentation for use. I think it could be useful. You can work in CAD, or in
SketchUp, and quickly translate between them and pov or inc.
With smooth function, which is the one that weighs and is slow if the file is
large.
However, if there are many colors, the tool groups them into meshes, and each
mesh is fast in the vector calculation of the smooth. More colors there are,
less comparisons will be needed between the faces to be matched.
BR
G.


Post a reply to this message


Attachments:
Download 'bmwvintage.zip' (235 KB)

From: GioSeregni
Subject: Re: A little help about old vers.
Date: 8 Jun 2025 22:20:00
Message: <web.68464416ce24a8bb4a12426659126100@news.povray.org>
I'm posting the preview here, because I couldn't add 2 attachments to the post
before


Post a reply to this message


Attachments:
Download 'bmwvintage.png' (306 KB)

Preview of image 'bmwvintage.png'
bmwvintage.png


 

From: Maetes
Subject: Re: A little help about old vers.
Date: 9 Jun 2025 06:05:00
Message: <web.6846b0b5ce24a8bbe3575bb830225ff5@news.povray.org>
"GioSeregni" <gms### [at] hotmailcom> wrote:
> I'm posting the preview here, because I couldn't add 2 attachments to the post
> before

Whow, looks good. very detailed.
Beside of the missing plate at the front.
Without it, the car will certainly be towed. You're lucky that the Lohmueller
didn't publish a tow truck, otherwise I'd come around the corner with that one.

https://www.f-lohmueller.de/pov_tut/objects/obj_900d.htm

I'll also check out your old code again the days and see what's going on with
the people and the bike. Been distracted by other things lately :)

New thread makes sense.
Maybe in Group "Text - Scene-Files"?
"Gio's cars and people" or something like that.

Ma


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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