Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Doubt is not a pleasant condition, but certainty is absurd. -- Voltaire


devel / comp.graphics.apps.gnuplot / Re: Voxels from expression

SubjectAuthor
* Voxels from expressionAl Greynolds
`* Re: Voxels from expressionGavin Buxton
 `* Re: Voxels from expressionAl Greynolds
  `* Re: Voxels from expressionGavin Buxton
   `- Re: Voxels from expressionAl Greynolds

1
Voxels from expression

<84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=29&group=comp.graphics.apps.gnuplot#29

 copy link   Newsgroups: comp.graphics.apps.gnuplot
X-Received: by 2002:a37:a34b:: with SMTP id m72mr5047563qke.92.1619788969600;
Fri, 30 Apr 2021 06:22:49 -0700 (PDT)
X-Received: by 2002:a05:6902:120a:: with SMTP id s10mr6602936ybu.91.1619788969382;
Fri, 30 Apr 2021 06:22:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Fri, 30 Apr 2021 06:22:49 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:500:c200:16e0:b858:895f:ae95:572f;
posting-account=R1FlGgkAAACT4qWBRQlFZVvqWzeWlXEN
NNTP-Posting-Host: 2601:500:c200:16e0:b858:895f:ae95:572f
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com>
Subject: Voxels from expression
From: layz...@aol.com (Al Greynolds)
Injection-Date: Fri, 30 Apr 2021 13:22:49 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Al Greynolds - Fri, 30 Apr 2021 13:22 UTC

Can the new voxels capability display an isosurface of an expression, i.e. a given function of x,y,z?

Al

Re: Voxels from expression

<019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=30&group=comp.graphics.apps.gnuplot#30

 copy link   Newsgroups: comp.graphics.apps.gnuplot
X-Received: by 2002:a05:620a:4a:: with SMTP id t10mr5558745qkt.249.1619791733610;
Fri, 30 Apr 2021 07:08:53 -0700 (PDT)
X-Received: by 2002:a05:6902:526:: with SMTP id y6mr7124686ybs.331.1619791731916;
Fri, 30 Apr 2021 07:08:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Fri, 30 Apr 2021 07:08:51 -0700 (PDT)
In-Reply-To: <84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:547:300:da50:449:9818:91c8:b83d;
posting-account=yC8mVwkAAADuRBqBIdPVfec50l5EMdYn
NNTP-Posting-Host: 2601:547:300:da50:449:9818:91c8:b83d
References: <84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com>
Subject: Re: Voxels from expression
From: gavinbux...@gmail.com (Gavin Buxton)
Injection-Date: Fri, 30 Apr 2021 14:08:53 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Gavin Buxton - Fri, 30 Apr 2021 14:08 UTC

On Friday, April 30, 2021 at 9:22:50 AM UTC-4, Al Greynolds wrote:
> Can the new voxels capability display an isosurface of an expression, i.e. a given function of x,y,z?
>
> Al

Apparently so....

https://lwn.net/Articles/828761/

although I've not played around with it. Looks awesome though!

Re: Voxels from expression

<6cee43e2-6c22-49f8-a059-29edb96e39c3n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=31&group=comp.graphics.apps.gnuplot#31

 copy link   Newsgroups: comp.graphics.apps.gnuplot
X-Received: by 2002:a05:620a:4a:: with SMTP id t10mr6021086qkt.249.1619797234827;
Fri, 30 Apr 2021 08:40:34 -0700 (PDT)
X-Received: by 2002:a25:5a0a:: with SMTP id o10mr8061833ybb.7.1619797234572;
Fri, 30 Apr 2021 08:40:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Fri, 30 Apr 2021 08:40:34 -0700 (PDT)
In-Reply-To: <019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:500:c200:16e0:bc5e:3902:d538:6b18;
posting-account=R1FlGgkAAACT4qWBRQlFZVvqWzeWlXEN
NNTP-Posting-Host: 2601:500:c200:16e0:bc5e:3902:d538:6b18
References: <84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com> <019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6cee43e2-6c22-49f8-a059-29edb96e39c3n@googlegroups.com>
Subject: Re: Voxels from expression
From: layz...@aol.com (Al Greynolds)
Injection-Date: Fri, 30 Apr 2021 15:40:34 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Al Greynolds - Fri, 30 Apr 2021 15:40 UTC

On Friday, April 30, 2021 at 7:08:54 AM UTC-7, Gavin Buxton wrote:
> On Friday, April 30, 2021 at 9:22:50 AM UTC-4, Al Greynolds wrote:
> > Can the new voxels capability display an isosurface of an expression, i.e. a given function of x,y,z?
> >
> > Al
> Apparently so....
>
> https://lwn.net/Articles/828761/
>
> although I've not played around with it. Looks awesome though!

Here's what I'm trying to do:

R=1
L=8
n=2
h=3
m=3
f(x,y,z)=x**2+(y-h*(z/L)**m)**2-(R*(1-(z/L)**n))**2
set vgrid $wh size 100
set vxrange [-R:R]
set vyrange [-R:h+R]
set vzrange [0:L]
vfill ?
splot $wh w isosurface level 0

Why does vfill require a file or datablock as a source? Why can''t my function f be used as easily as plot and splot allow plotting expressions/functions instead of files or datablocks?

Al

Re: Voxels from expression

<4ef3a3b5-4b56-4de0-9415-8754005d7ef5n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=32&group=comp.graphics.apps.gnuplot#32

 copy link   Newsgroups: comp.graphics.apps.gnuplot
X-Received: by 2002:a05:620a:4143:: with SMTP id k3mr10377682qko.497.1619877732142;
Sat, 01 May 2021 07:02:12 -0700 (PDT)
X-Received: by 2002:a5b:191:: with SMTP id r17mr14453574ybl.297.1619877731821;
Sat, 01 May 2021 07:02:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Sat, 1 May 2021 07:02:11 -0700 (PDT)
In-Reply-To: <6cee43e2-6c22-49f8-a059-29edb96e39c3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:547:300:da50:f165:3d1d:7dbe:a4f5;
posting-account=yC8mVwkAAADuRBqBIdPVfec50l5EMdYn
NNTP-Posting-Host: 2601:547:300:da50:f165:3d1d:7dbe:a4f5
References: <84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com>
<019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com> <6cee43e2-6c22-49f8-a059-29edb96e39c3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4ef3a3b5-4b56-4de0-9415-8754005d7ef5n@googlegroups.com>
Subject: Re: Voxels from expression
From: gavinbux...@gmail.com (Gavin Buxton)
Injection-Date: Sat, 01 May 2021 14:02:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Gavin Buxton - Sat, 1 May 2021 14:02 UTC

On Friday, April 30, 2021 at 11:40:35 AM UTC-4, Al Greynolds wrote:
> On Friday, April 30, 2021 at 7:08:54 AM UTC-7, Gavin Buxton wrote:
> > On Friday, April 30, 2021 at 9:22:50 AM UTC-4, Al Greynolds wrote:
> > > Can the new voxels capability display an isosurface of an expression, i.e. a given function of x,y,z?
> > >
> > > Al
> > Apparently so....
> >
> > https://lwn.net/Articles/828761/
> >
> > although I've not played around with it. Looks awesome though!
> Here's what I'm trying to do:
>
> R=1
> L=8
> n=2
> h=3
> m=3
> f(x,y,z)=x**2+(y-h*(z/L)**m)**2-(R*(1-(z/L)**n))**2
> set vgrid $wh size 100
> set vxrange [-R:R]
> set vyrange [-R:h+R]
> set vzrange [0:L]
> vfill ?
> splot $wh w isosurface level 0
>
> Why does vfill require a file or datablock as a source? Why can''t my function f be used as easily as plot and splot allow plotting expressions/functions instead of files or datablocks?
>
> Al

Hopefully someone else can help, but you used to be able to set terminal as 'table' and output functions to a file. Assuming videos requires discrete points. Hopefully someone has more experience with voxels. Thanks for asking the question though, as I didn't this was a new feature!

Re: Voxels from expression

<9fcbf74d-3ed1-4174-bfd3-b8f4bf1c9271n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=33&group=comp.graphics.apps.gnuplot#33

 copy link   Newsgroups: comp.graphics.apps.gnuplot
X-Received: by 2002:a05:620a:a51:: with SMTP id j17mr24301518qka.36.1620136779970;
Tue, 04 May 2021 06:59:39 -0700 (PDT)
X-Received: by 2002:a25:7ec4:: with SMTP id z187mr32672800ybc.136.1620136779722;
Tue, 04 May 2021 06:59:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.graphics.apps.gnuplot
Date: Tue, 4 May 2021 06:59:39 -0700 (PDT)
In-Reply-To: <4ef3a3b5-4b56-4de0-9415-8754005d7ef5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:500:c200:16e0:fc7f:610f:65d:af1f;
posting-account=R1FlGgkAAACT4qWBRQlFZVvqWzeWlXEN
NNTP-Posting-Host: 2601:500:c200:16e0:fc7f:610f:65d:af1f
References: <84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com>
<019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com> <6cee43e2-6c22-49f8-a059-29edb96e39c3n@googlegroups.com>
<4ef3a3b5-4b56-4de0-9415-8754005d7ef5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9fcbf74d-3ed1-4174-bfd3-b8f4bf1c9271n@googlegroups.com>
Subject: Re: Voxels from expression
From: layz...@aol.com (Al Greynolds)
Injection-Date: Tue, 04 May 2021 13:59:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Al Greynolds - Tue, 4 May 2021 13:59 UTC

OK I sort of got what i wanted, but had to begrudgingly resort to separately creating a file of point data for vfill. However, even though all inputs are symmetric about the x=0 plane, the resulting isosurface is not. I can provide the script and data files if anyones interested.

Al

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor