POV-Ray : Newsgroups : povray.general : POV-Ray Includes - Organisation : Re: POV-Ray Includes - Organisation Server Time
31 Jul 2024 22:15:57 EDT (-0400)
  Re: POV-Ray Includes - Organisation  
From: Chris B
Date: 11 Dec 2006 12:08:15
Message: <457d907f@news.povray.org>
This thread contained quite a diverse range of ideas and has been quite 
difficult to summarize. This is a first attempt to summarize it, so feel 
free to chip in if you think I've overlooked something or made mistakes.

I've tried to incorporate the ideas raised into a description of how the 
collection could potentially work (a sort of specification). It's a bit 
long, so I've tried to break it up to enable you to focus in on the bits 
that most interest you.

Please comment on whether you think the following scenarios seem reasonable:

The Plan is to create a collection of  objects, textures and include files 
contributed by the POV-Ray community on povray.org.

Organisation
-------------
The site would be split into two main parts with (1) an 'ad-hoc' area for 
new submissions and (2) a 'standard' area where contributions adhere to 
certain standards and to a common licensing structure. There would be no 
visible hard-wired hierarchy of directories within these areas, but there 
would be (potentially multiple) logical categorisations available alongside 
indexing information (Keywords) supplied by the contributor. One form of 
categorisation could potentially cover topics like 'Space Hardware' and 
'Landscapes' whereas an alternative form of categorisation could cover 
contribution types, such as 'Component', 'Finished Object', 'Texture', 
'Utility Macro' etc.

The povray.org server may use an internal directory structure to manage 
versioning or other aspects of the collection, but this structure would not 
be visible to users and would not be present on the user's local machine 
once the files have been downloaded.

Submitting Contributions
------------------------
Contribution Name - To submit a contribution through the povray.org web 
site, you would first enter a name or a unique ID for your contribution.
Povray.org would search its index for that identifier.
If it's a new submission and the name is already being used, you will need 
to pick a different one.
If you intend to supersede an existing contribution you will need confirm 
that and will need to 'version' your contribution - See 'Provenance' below.

Keywords - You will need to associate keywords with the contribution so that 
people can find it through the search facility. You could be given the 
option of either submitting a file containing keywords or typing them into a 
list on the submission page, in which case the server would create the file. 
In both cases povray.org would incorporate the keywords into a machine 
readable index for use by the search facility.

Categories - You will be prompted to select one or more categories for the 
contribution. For example, a chair object could go into the Topic-based 
categories 'Household Objects' and 'Business Furnishings' and into the 
'Completed Objects' category within the Contribution-Type-based categories.

Standards Compliance - You would also indicate whether you believe your 
contribution conforms to the standards necessary to become eligible for 
promotion into the 'standard' area.

Dependencies - If the contribution has dependencies (is dependant upon 
another contribution already in the collection), you will also needs to 
identify those dependencies. As was alluded to earlier in this thread, if we 
build large lists of dependencies it becomes difficult to keep them up to 
date and to retain forward and backward compatibility as new versions of a 
contribution are added. If you write a macro that works with your objects, 
it may be safer to bundle it all together in a single contribution and 
accept that if someone wants to use it elsewhere that they'll copy it. I 
think this is one of those issues we can most appropriately handle in a 
'best-practices' tutorial once we see how this all works out.

Pre-Requisites - If your contribution has any pre-requisites you'll need to 
describe them, for example, if the contribution requires a certain version 
of POV-Ray or if there are operating system or other software dependencies 
(e.g. Use of Windows bmp format, Perl scripts, Modellers).

Description/Comments - For new contributions, you should provide a brief 
description of the contribution. If updating the contribution, you could 
optionally modify the existing description and potentially add update notes.

Server-Side Checks - The server would check that all of the file names in a 
submission are prefixed with the contribution name or some form of 
standardised prefix.
The server checks that any required files are present and accepts the 
submission, adding indexing and category information into the search 
facility and storing the files in the 'ad-hoc' area. A submission may be 
required to include a rendered image of the object at a standard size, 
documentation etc. but we'll cover that in detail in the standards thread. 
The server may perform tasks such as generating a thumbnail image from the 
submission, either from the larger image or using some sort of standard for 
rendering the contribution.

Collaborative Developments
----------------------------
Although many of the contributions could be objects contributed by a single 
author, it is also possible to foresee more collaborative developments where 
many people are updating a set of files. I think that groups working on such 
projects will need to coordinate themselves and to establish who will manage 
releases of the contribution into the collection. Such projects could 
involve development using a check-out/check-in strategy, but this would be 
managed outside of the collection using a code repository such as CVS, a 
service such as Sourceforge or some other mechanism selected by that team.

Provenance (Origin)
------------
The intention is to encourage the evolution of contributions by future 
contributors, so we need a way of accepting new versions of a contribution. 
However, we run into an issue of divergency, where two separate modification 
streams could be taking place at the same time.

I would suggest that the easiest way of dealing with this is to incorporate 
the a contributor prefix (the authors initials or tag) into the version 
number and have a place on the submissions page where the contributor can 
indicate the version that the changes are based on. If the contributor is 
registered and logged in they can use their ID in the version number. If the 
contributor is not logged in they would need to add a number each time to 
make their tag unique.

If contribution hierarchies get overly complex for a contribution then 
someone would need to sort it out. This is most likely to occur with a 
contribution where many people from the POV-Ray community have shown an 
interest, so hopefully, getting someone to put in the time to sort it out 
should be a viable option.

Finding and Downloading Contributions
----------------------------------------
The collection would be available to anyone with an Internet connection 
using a standard browser by accessing the appropriate page on the povray.org 
web site. If you have chosen to register as a POV-Ray community member you 
could have the option of logging in, which will enable the povray.org server 
to provide you with a couple of extra features (previous download lists 
etc).

Searching - You would be able to search for contributions by some 
combination of contribution name, author name, one or more category 
structures or by keyword. Multiple versions of a contribution could 
potentially be present in the collection. The most recent version would 
normally be displayed, but you could go into a 'detail' page that would list 
the version hierarchy and enable you to select an alternative version of the 
contribution.

Standards Compliance - Some means will be used to indicate whether a given 
version has been accepted into the 'standard' area. If it hasn't, the server 
could indicate whether the contributor considered that it conforms to the 
standards and has accepted the common license. Otherwise the server could 
indicate that it's an 'ad-hoc' contribution. Maybe we could use a sort of 
'traffic lights' type system.

Dependencies - An indication will be given to show dependencies on other 
contributions within the collection and an option could be provided to 
either link through to those items, or some mechanism could be provided to 
follow dependency chains and add the contribution and all of its 
dependencies to the 'download list' (see next paragraph).

Download Lists - When you find a contribution you like, you can either 
download it from the list or add it to a 'download list' similar to a 
shopping basket concept for online shops. A button on the page would enable 
you to add all items from the current selection to your 'download list'. If 
building a 'download list' you could go to your list and remove items. Once 
happy with your list you can download a zipped archive containing the files 
selected.

Value Added Features - If you register with povray.org and choose to log-in, 
the server may be smart enough to keep track of what you have previously 
downloaded so that it can indicate which contributions you already have and 
could list any contributions that have been updated since you last 
downloaded them (would require some hooks into the POV-Ray registration 
system).

Future enhancements could include downloadable indexes that could be used to 
link into platform specific user interfaces to support retrieval from the 
editor (e.g. from the 'insert' menu).

Promotion into the 'standard' area
----------------------------------
If the contributor has accepted the common licensing terms and has complied 
with the required standards, their work will be eligible for inclusion in 
the 'standard' area.

Depending upon the complexity of the standards agreed upon, it may be 
possible to automatically verify that some or all of the standards are 
satisfied. For more complex standards or for more complex contributions it 
may be necessary for a group of volunteers to go through and verify 
conformance to the required standards before registering the contributions 
for inclusion in the 'standard' area. I think we're agreed that we would 
like to keep manual maintenance tasks to a minimum.

Once a contribution has been accepted into the 'standard' area, users will 
be able to identify that fact when they come across that contribution in the 
collection (a special icon or something).

Other Stuff
-----------
There was a discussion on the subject of whether we have one file per 
object/macro or whether we support more sophisticated bundles/packages. I 
believe the conclusion was that prominent and quite stand-alone items should 
be in their own file, collections of similar features could be in a single 
file and more complex packages of files could be bundled together. Imposing 
some over restrictive rule on this could reduce the potential for the 
collection.

My view is that supporting archives of files that work together would be a 
good thing. Given the licensing conditions the exchange of  ideas could go 
both ways. Someone could take individual contributions and build them into a 
package using a standardised scale, standardised parameters and consistent 
documentation etc. Someone else could picking macros and other pieces out of 
packages and create more generic, standalone utilities out of them. I would 
foresee a smaller number of the larger packages, so it might be possible for 
those to be expanded into separate directories on the user's machine without 
hitting the 20 library path limit mentioned in the help (Charles indicated 
25, is this OS dependant?). This could maybe permit naming conventions 
within the archive to be relaxed avoiding large amounts of rework on 
existing packages.

There was a discussion about automatic renaming of contributions. I 
personally use some animation features to build the names of include files 
dynamically and I'm not sure whether we could do anything that could 
reliably update everyone's file references without risking breaking them 
beyond repair.

'Value-Added' features like "most downloaded", ratings, etc. could be added 
as time permits.
We could also implement the features described above in two phases, getting 
started with the 'ad-hoc' area and initially relying on contributors to 
assess their own contributions. We could potentially introduce the more 
formal 'standard' mark of approval at a later stage, once we can assess how 
much work/interest is generated.

Ben suggested the following categories as a starting point for a 'type' 
based categorisation:
- Textures
 o Pigments
 o Finishes
 o Normals
- Interiors
 o Media
- Shapes
 o Solid (CSG-able)
 o Non-solid (Non-CSG-able)
- Functions
 o Isosurface
 o Positioning
 o Other

I'll propose the following starting point for a 'topic' based 
categorisation:
- Household/Office Objects
- Buildings
- Landscapes
- Vehicles
- Space
- Organic Forms
- Abstract Forms


Regards,
Chris B.


Post a reply to this message

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