POV-Ray : Newsgroups : povray.general : Some musings about POV-Ray and Java... Server Time
10 Aug 2024 21:07:32 EDT (-0400)
  Some musings about POV-Ray and Java... (Message 11 to 16 of 16)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Jon A  Cruz
Subject: Re: Some musings about POV-Ray and Java...
Date: 27 Nov 1999 01:05:51
Message: <383F74FE.1B8CB1DD@geocities.com>
Peter Popov wrote:

> I tend to try every POV-related but of software if I think it will be
> of use to me. If ever you complete this project and release a final
> version, I will be glad to try it out. And no, I don't know Java, but
> maybe it was about time I learned it :)
>
> Does Java support macros and defines? Can a "scene" in this
> hypothetical Java-Pov-whatever language look a lot like a POV scene if
> hacked around with defines?

Noooooooooooooooooooooooooooooooooooooooonoooooooooooooooooonoooooooonononononono!!!!!!!!!

Ack.
Defines are horrible. Bad bad things. Java has no defines nor macros. No
goto either. No operator overloading...

Hmmmm...
But it would not be very hard at all to come up with an XML format for
the POV-ray scene and read and parse it in Java. Then feed it to
POV-Ray...


--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

From: Johannes Hubert
Subject: Re: Some musings about POV-Ray and Java...
Date: 27 Nov 1999 19:49:55
Message: <38407c33@news.povray.org>
Jon A. Cruz <jon### [at] geocitiescom> wrote in message
news:383F74FE.1B8CB1DD@geocities.com...
> Peter Popov wrote:
>
> > I tend to try every POV-related but of software if I think it will be
> > of use to me. If ever you complete this project and release a final
> > version, I will be glad to try it out. And no, I don't know Java, but
> > maybe it was about time I learned it :)
> >
> > Does Java support macros and defines? Can a "scene" in this
> > hypothetical Java-Pov-whatever language look a lot like a POV scene if
> > hacked around with defines?
>
>
Noooooooooooooooooooooooooooooooooooooooonoooooooooooooooooonoooooooonononon
onono!!!!!!!!!

Wide Grin.

I must agree with Jon. There wouldn't be much reason for a JAVA-POV to look
exactly like the old POV, would there? Why would someone want to use it
then, better to stick to the original...
No, the idea was to use a more powerful "real" programming language to
create even more complex "scripted" scenes than "possible" with pure
POV-Script (which means: "Possible in an easier and halfway readable,
maintainable and understandable way", because everything is just plain
*possible* in POV-Script of course, the question is, how difficult it is).
Other people had the same idea earlier, using C++ or Perl for that, I
thought Java would be good for that too...

Greetings,
Johannes.


Post a reply to this message

From: Jon A  Cruz
Subject: Re: Some musings about POV-Ray and Java...
Date: 27 Nov 1999 21:28:53
Message: <3840939F.B98EAD37@geocities.com>
Johannes Hubert wrote:

> Jon A. Cruz <jon### [at] geocitiescom> wrote in message
> news:383F74FE.1B8CB1DD@geocities.com...
> > Peter Popov wrote:
> >
> > > I tend to try every POV-related but of software if I think it will be
> > > of use to me. If ever you complete this project and release a final
> > > version, I will be glad to try it out. And no, I don't know Java, but
> > > maybe it was about time I learned it :)
> > >
> > > Does Java support macros and defines? Can a "scene" in this
> > > hypothetical Java-Pov-whatever language look a lot like a POV scene if
> > > hacked around with defines?
> >
> >
> Noooooooooooooooooooooooooooooooooooooooonoooooooooooooooooonoooooooonononon
> onono!!!!!!!!!
>
> Wide Grin.
>
> I must agree with Jon. There wouldn't be much reason for a JAVA-POV to look
> exactly like the old POV, would there? Why would someone want to use it
> then, better to stick to the original...
> No, the idea was to use a more powerful "real" programming language to
> create even more complex "scripted" scenes than "possible" with pure
> POV-Script (which means: "Possible in an easier and halfway readable,
> maintainable and understandable way", because everything is just plain
> *possible* in POV-Script of course, the question is, how difficult it is).
> Other people had the same idea earlier, using C++ or Perl for that, I
> thought Java would be good for that too...
>
> Greetings,
> Johannes.

XML! XML! XML! XML! XML!


--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

From: ingo
Subject: Re: Some musings about POV-Ray and Java...
Date: 28 Nov 1999 05:09:31
Message: <8E8C758A2seed7@212.120.113.81>
Jon A. Cruz wrote:
>
>XML! XML! XML! XML! XML!

Eversince I started reading about XML I thought that a nice 3d description 
language could be made with it. 
Isn't there a team converting VRML into X-VRML?

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Peter Popov
Subject: Re: Some musings about POV-Ray and Java...
Date: 28 Nov 1999 10:32:52
Message: <MNNAOMlTUWWCDFVamJgQwVvUdwcY@4ax.com>
On Thu, 1 Jan 1998 08:51:12 +0100, "Johannes Hubert"
<jht### [at] nove-mailcom> wrote:

>Wide Grin.
>
>I must agree with Jon. There wouldn't be much reason for a JAVA-POV to look
>exactly like the old POV, would there? Why would someone want to use it
>then, better to stick to the original...

Because I see no sense in typing 'add new whatever' when you can
substitute it with whatever java has as pre-compiler macro or define.
I understand that it would be great to be able to extract or change
the object properties (like camera.lookAt) but I don't think it would
be a good idea to altogether lose the old syntax. OTOH, if what I am
saying is not possible in java, that's ok.

How about making the necessary extensions to the POV Language and
writing a Java or Perl parser to convert that syntax to standard POV
syntax? This will have the advantage of keeping old syntax while
easily adding new.


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

From: Johannes Hubert
Subject: Re: Some musings about POV-Ray and Java...
Date: 29 Nov 1999 05:07:54
Message: <3842507a@news.povray.org>
Peter Popov <pet### [at] usanet> wrote in message
news:MNNAOMlTUWWCDFVamJgQwVvUdwcY@4ax.com...
> On Thu, 1 Jan 1998 08:51:12 +0100, "Johannes Hubert"
> <jht### [at] nove-mailcom> wrote:
>
> >Wide Grin.
> >
> >I must agree with Jon. There wouldn't be much reason for a JAVA-POV to
look
> >exactly like the old POV, would there? Why would someone want to use it
> >then, better to stick to the original...
>
> Because I see no sense in typing 'add new whatever' when you can
> substitute it with whatever java has as pre-compiler macro or define.

I understand. But as Jon already said, Java hasn't any macros or
preprocessor.
>
> How about making the necessary extensions to the POV Language and
> writing a Java or Perl parser to convert that syntax to standard POV
> syntax? This will have the advantage of keeping old syntax while
> easily adding new.

an interesting idea...

Johannes.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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