POV-Ray : Newsgroups : moray.win : RoundedObjs and OpenGL Server Time
28 Jul 2024 12:34:36 EDT (-0400)
  RoundedObjs and OpenGL (Message 1 to 6 of 6)  
From: Jan Walzer
Subject: RoundedObjs and OpenGL
Date: 4 Apr 2001 11:39:42
Message: <3acb403e@news.povray.org>
Is there a Reason that the rounded Objects, provided by Moray don't
have complete OpenGL-Preview ?

The rounded cube lacks from the edges and the rounded cylinder only
has the wired frames ...

Of course, in CSG I can evaluate them nearly completely ...

--
background{rgb 1}camera{location<1,5,-2>look_at 0}#macro
m(a,b,i)#local d=(b-a)
/8;#local
e=vcross(d,y);#if(i)m(a-e,a+e+2*d,i-1)m(a+e,a+2*d-e,i-1)m(a+3*d-e,a+e
+3*d,i-1)m(a+3*d-e,a+5*d-e,i-1)m(a+6*d-e,a+e+6*d,i-1)m(a+8*d-e,a+e+8*d
,i-1)#else
cylinder{a,b,vlength(d)/3 pigment{rgb 0}}#end#end m(-4*x,2*x,4) // Jan
Walzer


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: RoundedObjs and OpenGL
Date: 4 Apr 2001 14:41:04
Message: <kkqmctc6ak0b4b4ge0osh7vljg44efruf4@4ax.com>
Hi Jan Walzer, you recently wrote in moray.win:

> Is there a Reason that the rounded Objects, provided by Moray don't
> have complete OpenGL-Preview ?
Yes, I didn't have enough time to think about how to implement it....
it's a non-trivial task. But the source is available, so if anyone
wants to try their hand at it before I get round to it.....

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Jan Walzer
Subject: Re: RoundedObjs and OpenGL
Date: 4 Apr 2001 15:38:07
Message: <3acb781f@news.povray.org>
Why not simply show them loke they are created in POV ?
as 12cylinders, 8 spheres and 3? cubes ..
Of course there were a lot more faces, but not more as if you would
create these objects by hand ...
And in 3.3 you can use layers to hide the objects, if needed ...

of course, I think with the current soluten for cubes, but the
cylinders ?

Another question: Has the plugin-interface changed from 3.2 ? I can't
copied the old plugins in (they were a lot and I didn't test which one
causes the fault) and moray crashes on start ...


--
background{rgb 1}camera{location<1,5,-2>look_at 0}#macro
m(a,b,i)#local d=(b-a)
/8;#local
e=vcross(d,y);#if(i)m(a-e,a+e+2*d,i-1)m(a+e,a+2*d-e,i-1)m(a+3*d-e,a+e
+3*d,i-1)m(a+3*d-e,a+5*d-e,i-1)m(a+6*d-e,a+e+6*d,i-1)m(a+8*d-e,a+e+8*d
,i-1)#else
cylinder{a,b,vlength(d)/3 pigment{rgb 0}}#end#end m(-4*x,2*x,4) // Jan
Walzer


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: RoundedObjs and OpenGL
Date: 5 Apr 2001 03:27:00
Message: <4a7oct41u5s76sj9tap8m1a14qrjfbv13u@4ax.com>
Hi Jan Walzer, you recently wrote in moray.win:

> Another question: Has the plugin-interface changed from 3.2 ? 
Yes, but tit should be backwards compatible. Old plugins should still
work.
> I can't copied the old plugins in (they were a lot and I didn't 
> test which one causes the fault) and moray crashes on start ...
If you find out which one it is, I can see if I can find the problem.

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Warp
Subject: Re: RoundedObjs and OpenGL
Date: 6 Apr 2001 07:48:15
Message: <3acdacfe@news.povray.org>
Jan Walzer <jan### [at] lzernet> wrote:
: background{rgb 1}camera{location<1,5,-2>look_at 0}#macro
: m(a,b,i)#local d=(b-a)
: /8;#local
: e=vcross(d,y);#if(i)m(a-e,a+e+2*d,i-1)m(a+e,a+2*d-e,i-1)m(a+3*d-e,a+e
: +3*d,i-1)m(a+3*d-e,a+5*d-e,i-1)m(a+6*d-e,a+e+6*d,i-1)m(a+8*d-e,a+e+8*d
: ,i-1)#else
: cylinder{a,b,vlength(d)/3 pigment{rgb 0}}#end#end m(-4*x,2*x,4) // Jan
: Walzer

  Interesting signature. It looks to me like it draws "XLII". That would
be 42 in roman numbers. Is that so?

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

From: Jan Walzer
Subject: Re: RoundedObjs and OpenGL
Date: 7 Apr 2001 17:51:15
Message: <3acf8bd3$1@news.povray.org>
The problem seems to be the anim-plugin ...

I just copied the DLLs back to /plugin/
I found that I don't have the install-version no more ...
And I can't get it from http://pages.hotbot.com/arts/are/index.html
... seems to be down ...

Is there another location, where I can get it from ?

--
background{rgb 1}camera{location<1,5,-2>look_at 0}#macro
m(a,b,i)#local d=(b-a)
/8;#local
e=vcross(d,y);#if(i)m(a-e,a+e+2*d,i-1)m(a+e,a+2*d-e,i-1)m(a+3*d-e,a+e
+3*d,i-1)m(a+3*d-e,a+5*d-e,i-1)m(a+6*d-e,a+e+6*d,i-1)m(a+8*d-e,a+e+8*d
,i-1)#else
cylinder{a,b,vlength(d)/3 pigment{rgb 0}}#end#end m(-4*x,2*x,4) // Jan
Walzer


Post a reply to this message

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