POV-Ray : Newsgroups : povray.binaries.images : POV4 outline : POV4 outline Server Time
5 Nov 2024 08:25:52 EST (-0500)
  POV4 outline  
From: Bruno Cabasson
Date: 4 Oct 2007 08:40:00
Message: <web.4704ded8e6acf956e8ba46670@news.povray.org>
Something came to my mind.

Considering

  1) POV4 will be as close as possible to current POV,
  2) new syntax might have some (simplified) Java features,
  3) separation between front-end and back-end should be kept,
  4) need for JIT and user-callable code from within the renderer
  5) portability concerns through platforms and OSes
  6) other items evocated in the discussion

I had one thought: why not compile SDL into Java code, with runtime classes
and shipped-in POV4 stuff (like we have now with POV), and control the
generation process by the front-end, so that it is quick and transparent to
the user?
Generating Java from new SDL should be VERY simple provided we have smart
runtime classes.

If we organise and define things properly (POV4 syntax <--> Java classes,
runtime, renderer data structure&API), it would not be so much more
complicated from what we have today (even less if we are smart), but it
opens to new possibilities.

Instead of words, here is a diagram I made quickly in order to illustrate
the global approach related with this concept. It is just a sketch, nothing
more.

Bruno.


Post a reply to this message


Attachments:
Download 'pov4arch.jpg' (173 KB)

Preview of image 'pov4arch.jpg'
pov4arch.jpg


 

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