POV-Ray : Newsgroups : povray.general : Free Vector Editor exports to POV Server Time
31 Jul 2024 20:19:45 EDT (-0400)
  Free Vector Editor exports to POV (Message 13 to 22 of 52)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Bill Pragnell
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 11:15:01
Message: <web.4628d87ca1d76b2a731f01d10@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> "Alain" <ele### [at] netscapenet> schreef in bericht
> news:4628b984$1@news.povray.org...
>
> > Right-click and select "Save as..."
>
> Yeah, right!  However, the strange thing is that with this particular
> window, right clicking does *not* provide a "Save as..." !!!! Is this a
> quixotic behaviour of IE7???  I never experienced this before...

I apologise for such a simple post causing such problems! Have you tried
File->SaveAs? Or even right-clicking the link itself and going for 'Save
linked file'?

Bill


Post a reply to this message

From: Nicolas George
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 11:50:03
Message: <4628e12b@news.povray.org>
"Bill Pragnell"  wrote in message
<web.4627b764a1d76b2a371f76480@news.povray.org>:
> http://www.infradead.org/~wmp/tall_glass.svg
> 
> Download the file, open it in Inkscape. You'll see a half-cross-section of a
> full wine glass as two separate curves.

I see that the curve for the wine inside the class (not the open surface) is
not the same as the curve of the inner side of the glass. That is especially
true on the bottom. Is it done on purpose? Why?


Post a reply to this message

From: Bill Pragnell
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 12:15:01
Message: <web.4628e5fca1d76b2a731f01d10@news.povray.org>
Nicolas George <nicolas$george@salle-s.org> wrote:
> I see that the curve for the wine inside the class (not the open surface) is
> not the same as the curve of the inner side of the glass. That is especially
> true on the bottom. Is it done on purpose? Why?

Yes, to avoid coincident surfaces. There may be a small amount of
interreflection this way, but I can't detect it. This model is not the main
subject of the image it was intended for so I didn't try too hard.

I suppose a better way of doing it would be to make the wine/glass curve
match the glass inner surface exactly, and then scale the wine by
<0.999,1,0.999> or something. Must remember that! :-)

Bill


Post a reply to this message

From: Nicolas George
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 13:47:45
Message: <4628fcc1@news.povray.org>
"Bill Pragnell"  wrote in message
<web.4628e5fca1d76b2a731f01d10@news.povray.org>:
> Yes, to avoid coincident surfaces.

Of course!

> I suppose a better way of doing it would be to make the wine/glass curve
> match the glass inner surface exactly, and then scale the wine by
> <0.999,1,0.999> or something. Must remember that! :-)

Neither solution are satisfactory. For a long time, I think that PoV is
missing a way to cleanly deal with coincident surface: some declaration in
the scene that says "these surfaces are *meant* to be coincident, you must
handle them that way"


Post a reply to this message

From: Chris B
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 14:02:08
Message: <46290020$1@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote in message 
news:4628abee@news.povray.org...
>
> "Jim Henderson" <nos### [at] nospamcom> schreef in bericht 
> news:pan### [at] nospamcom...
>>
>> SVG is an XML file format - it should just open (and indeed it does, as
>> I've opened it in Inkscape myself).
>>
>> The giveaway for XML files is the first line:
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>
>> And for this particular one, the second line has a comment indicating it
>> was created with Inkscape...
>>
>> Jim
>
>
> Hm, yes, that is what I thought...
> Another stupid question then :-)
> How do I save this particular file to my system? I tried copying to a file 
> and save as .svg, but Inkscape won't accept that.
>
> Thomas
>

Hi Thomas,

If you can right click the link in Bill's note you should be able to 'save 
target as'. Then from Inkscape's 'File', 'Open' dialog you can select 'All 
Files' and double click the file. Or at least that works from Outlook 
Express and the Windows version of Inkscape.
You should be able to save with an extension of either .svg or .xml and it 
should open ok.

Regard,
Chris B.


Post a reply to this message

From: Jim Henderson
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 14:05:40
Message: <pan.2007.04.20.18.04.00.982224@nospam.com>
On Fri, 20 Apr 2007 14:03:01 +0200, Thomas de Groot wrote:

> How do I save this particular file to my system? I tried copying to a file
> and save as .svg, but Inkscape won't accept that.

Depending on the browser you're using, right click and select "Save Link
As..."?

I'm using Firefox 2 here, and it rendered the SVG properly and then I just
saved the page off -that worked fine for me.

Jim


Post a reply to this message

From: Warp
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 14:16:19
Message: <46290373@news.povray.org>
Jim Henderson <nos### [at] nospamcom> wrote:
> > How do I save this particular file to my system? I tried copying to a file
> > and save as .svg, but Inkscape won't accept that.

> Depending on the browser you're using, right click and select "Save Link
> As..."?

  Why would that make a difference?

-- 
                                                          - Warp


Post a reply to this message

From: Jim Henderson
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 14:17:56
Message: <pan.2007.04.20.18.16.17.346777@nospam.com>
On Fri, 20 Apr 2007 14:16:19 -0400, Warp wrote:

> Jim Henderson <nos### [at] nospamcom> wrote:
>> > How do I save this particular file to my system? I tried copying to a
>> > file and save as .svg, but Inkscape won't accept that.
> 
>> Depending on the browser you're using, right click and select "Save Link
>> As..."?
> 
>   Why would that make a difference?

Because I don't know that all browsers use the same terminology.  I use
Firefox, avoid IE like the plague, and occasionally have used Opera.  I've
never used Safari - so I wouldn't want to be seen as saying "do this and
it works for all browsers" when I don't know that to be the case.

Jim


Post a reply to this message

From: nemesis
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 14:40:01
Message: <web.462907d8a1d76b2a773c9a3e0@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> How do I save this particular file to my system? I tried copying to a file
> and save as .svg, but Inkscape won't accept that.

Why wouldn't Inkscape accept a text-only svg file?  Copy all the contents
with CTRL+A CTRL+C, open up notepad or any simple text editor, drop the
contents with CTRL+V, save file as something like "foo.svg".  Inkscape
shouldn't have a problem with that.


Post a reply to this message

From: Sabrina Kilian
Subject: Re: Free Vector Editor exports to POV
Date: 20 Apr 2007 18:15:29
Message: <46293b81$1@news.povray.org>
nemesis wrote:
> "Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
>> How do I save this particular file to my system? I tried copying to a file
>> and save as .svg, but Inkscape won't accept that.
> 
> Why wouldn't Inkscape accept a text-only svg file?  Copy all the contents
> with CTRL+A CTRL+C, open up notepad or any simple text editor, drop the
> contents with CTRL+V, save file as something like "foo.svg".  Inkscape
> shouldn't have a problem with that.
> 
> 
> 

I tried exactly that just now in WinXP. Opened the .svg in Mozilla
Firefox and clicked view source(1), selected all of it, copy and paste
into notepad, save as .svg ANSI format. Inkscape opened the .svg file
without any apparent problems.

Tried the same thing with IE, and Inkscape refused to read it.

And the reason is IE. When IE displays the file, it adds these nice + or
- marks so you can expand or collapse certain parts of the xml and by
default all of them are open. When you select all of it and copy, it is
copying those marks too, which ruins the xml. So, if you must use IE,
use 'view source' first, to get the raw xml instead of the pretty
version that IE chooses to display. Tested this just now, and while the
file does differ from the one copy and pasted with Firefox, it runs in
Inkscake now.

(1) had to view source, Firefox was kind enough to draw the svg as a
picture instead of displaying the xml code. It might have had the same
problem if it had displayed 'pretty xml' instead.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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