POV-Ray : Newsgroups : moray.win : moray blob and "city coordinates" format Server Time
29 Mar 2024 03:01:24 EDT (-0400)
  moray blob and "city coordinates" format (Message 11 to 19 of 19)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Stephen
Subject: Re: moray blob and "city coordinates" format
Date: 10 Dec 2006 16:10:12
Message: <1tton2pk4aill5p30ld2n9taquddtr5tvl@4ax.com>
On Sun, 10 Dec 2006 14:54:47 EST, "Matti" <nomail@nomail> wrote:

>The file format is not a problem. It can be all kinds of ascii-files because
>I create them myself, but the objects I want to import are spheres (position
>and radius) and cylinders (position and diameter).

I think that you are out of luck on this one, as far as Moray is concerned. It
would be a good feature. I'll mention Bishop3D again as it can import circles
and cylinders that are in SDL format. It also uses Pov's Y axis is up
coordinates.

Regards
	Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: moray blob and "city coordinates" format
Date: 11 Dec 2006 03:26:33
Message: <457d1639$1@news.povray.org>
"Matti" <nomail@nomail> schreef in bericht 
news:web.457b18096b39a964e77899640@news.povray.org...
> Thanks for your answers.
> The reason I asked for the inport-filter is, that I would like to import
> simple objects i.e. spheres and if possible cylinders to moray to make 
> some
> povray files of crystal structures.
> One way could be blobs (I thought) because using "sphere" and "cone" in 
> the
> blob file it is possible to import these objects. The problem is, that I 
> do
> not know how to suppress the "warping" of the objects surfaces and so they
> are deformed. On the other hand a blob with many different spheres can 
> only
> be modified as a whole and not each sphere as a single object (color,
> raduis,...).  I know that this is how it should be for blobs but not for 
> my
> case... :(

Now, this is a stupid question, but why do you want to import primitives 
like spheres and cylinders, when you can make them in Moray (and export them 
to POV-Ray, where you can, I suppose, make them into your crystal 
structures)? Concerning crystal structures, there is the Domer plugin by 
Henry Kroll III (2005) at www.thenerdshow.com which is possibly worthwhile 
to try, although I am afraid it may not cover your needs.

Thomas


Post a reply to this message

From: Stephen
Subject: Re: moray blob and "city coordinates" format
Date: 11 Dec 2006 03:50:00
Message: <web.457d1b6b6b39a964f1cb1e660@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
>
> Now, this is a stupid question, but why do you want to import primitives
> like spheres and cylinders, when you can make them in Moray (and export them
> to POV-Ray, where you can, I suppose, make them into your crystal
> structures)? Concerning crystal structures, there is the Domer plugin by
> Henry Kroll III (2005) at www.thenerdshow.com which is possibly worthwhile
> to try, although I am afraid it may not cover your needs.
>
> Thomas

I thought about that too and came to the conclusion that there must be lots

do it by hand. :-)
Duplicate is good if you can work out a relationship. But maybe a Moray
scripting feature is needed.


Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: moray blob and "city coordinates" format
Date: 11 Dec 2006 04:11:42
Message: <457d20ce@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> schreef in bericht 
news:web.457d1b6b6b39a964f1cb1e660@news.povray.org...
>
> I thought about that too and came to the conclusion that there must be 
> lots
> and lots of objects that need to be created. And aren't we all too lazy to
> do it by hand. :-)
> Duplicate is good if you can work out a relationship. But maybe a Moray
> scripting feature is needed.
>
>
Hmm yes. I was afraid that was the case. However, as you say, duplicate 
should be of some help here. Crystals, after all have all kinds of 
well-defined symmetries. Problem might be however, if you have to account 
for different growth rates along certain crystallographic axis... (my 
crystallography and mineralogy  courses are very far behind me). No, maybe 
not that simple after all...

Thomas


Post a reply to this message

From: Matti
Subject: Re: moray blob and "city coordinates" format
Date: 11 Dec 2006 08:05:00
Message: <web.457d570f6b39a9647580c0160@news.povray.org>
Yes, you are right!  I would like to import about some 100 different "atoms"
and it would be very hard to do this by hand, especially if the geometry is
not trivial and morays nice duplicate tool is overextended. But even if you
do it by hand, it is very hard to change the symmetry or even changing the
radii of the spheres can not be done all at once (Or is it possible to
define a variable in moray e.g the radius which can be linked by different
objects? That would be very nice!!!) Therefore I use an external program to
create a dataset of the sphere positions and radii and "just" load it into
moray.
The Domer plugin is a good hint, thank you, but I fear it is not flexible
enough to build up any geometry...
Even if I want to use Moray, maybe Bishop3D will help solving this problem,
but I didn't looked at it until now.

Regards
Matti


Post a reply to this message

From: Stephen
Subject: Re: moray blob and "city coordinates" format
Date: 11 Dec 2006 09:30:00
Message: <web.457d6a786b39a964f1cb1e660@news.povray.org>
"Matti" <nomail@nomail> wrote:
> Yes, you are right!  I would like to import about some 100 different "atoms"
> and it would be very hard to do this by hand, especially if the geometry is
> not trivial and morays nice duplicate tool is overextended. But even if you
> do it by hand, it is very hard to change the symmetry or even changing the
> radii of the spheres can not be done all at once (Or is it possible to
> define a variable in moray e.g the radius which can be linked by different
> objects? That would be very nice!!!) Therefore I use an external program to
> create a dataset of the sphere positions and radii and "just" load it into
> moray.
> The Domer plugin is a good hint, thank you, but I fear it is not flexible
> enough to build up any geometry...
> Even if I want to use Moray, maybe Bishop3D will help solving this problem,
> but I didn't looked at it until now.
>
> Regards
> Matti

The other thing you could do is develop your own plugin for Moray.

Stephen


Post a reply to this message

From: Matti
Subject: Re: moray blob and "city coordinates" format
Date: 14 Dec 2006 10:00:01
Message: <web.458166a86b39a9647580c0160@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> wrote:
> The other thing you could do is develop your own plugin for Moray.
Maybe you are right and I should do that.
Regards
Matti


Post a reply to this message

From: Stephen
Subject: Re: moray blob and "city coordinates" format
Date: 14 Dec 2006 10:40:00
Message: <web.45816fe96b39a964f1cb1e660@news.povray.org>
"Matti" <nomail@nomail> wrote:
> "Stephen" <mcavoys_AT_aolDOT.com> wrote:
> > The other thing you could do is develop your own plugin for Moray.
> Maybe you are right and I should do that.
> Regards
> Matti

It was a serious suggestion if you have the skills. Actually a generic
upload tool would be useful.

Stephen


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: moray blob and "city coordinates" format
Date: 3 Jan 2007 03:16:13
Message: <6apmp2h212s4cpdjsrg54kb8nbr6hkossq@4ax.com>
Hi Matti, you recently wrote in moray.win:

> On the other hand there is an import filter called "City coordinates". Does
> anybody know something about this import file type?
The "City Coordinates" entry is from a plugin that comes with Moray
and I forgot to remove it..... it is of no use to you.

It would rather simple to to what you want with a plugin. If you can
program in C/C++, you could easily take the SDK import sample and
change it as needed. 

The other alternative is to use the PDB plugin, which creates spheres
and cylinders according to molecule descriptions. But you are right,
you cannot change radius.....

Regards,

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


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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